Totally lost.. "Linking your HTML and JavaScript Files"



I just finished JavaScript and started jQuery. so far I'm completely lost, probably because its been awhile since I've done HTML and CSS. I would share my code and ask for corrections, but I don't even know where to start! helppp

here's the code from the script.js page.


Click here for the lesson I'm on.


Hi Nan,

Start by copy/pasting your code into your post and formatting it, posting a link to the exercise you're on, and the error message you're getting.


Just need to link to the js file in the html. Between the tag

        <script type="text/javascript" src="script.js"></script>


I am totally lost as well, the hint is not getting me there


Could you provide more details so we can help you?


I figured it out a couple days ago..

heres the html code

<!DOCTYPE html>
        <!--Add your script tag here.-->
        <script type="text/javascript" src="script.js"></script>

and here's what was already in the script.js tab:



hope this helps :smiley:


@nanner99 At a glance, that HTML code looks fine, except for your extra <head></head> tags. You should remove those :slightly_smiling: