Simple FCC Intro to Script

Simple FCC Intro to Script
0

#1

Hi. The instructions go like this:

First, add a script element at the top of your page. Be sure to close it on the following line.
Inside your script element, add this code: $(document).ready(function() { to your script. Then close it on the following line (still inside your script element) with: });

I can not seem to figure out what I am not doing wrong to pass the first objective.
“Create a script element making sure it is valid and has a closing tag.”


#3

when they say “inside the script”, it doesn’t literally mean inside the script. It means, inside(in-between) the opening and closing script tag.

<script  not-here....   > </script>

but

<script> here... </script>

#4

thank you so much, I need to remember what “inside the script means” and not take it so literally.