Bug in jQuery lesson


#1


My code should behave correctly. However, your lesson doesn't quite understand something. The following shows what the lesson gave me:


Oops, try again. Did you set your <script>'s src attribute to 'script.js'?

when I wrote:

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

which should be correct. I know this is a small little detail between not having "./" and having it, but I thought I'd stop by and say it. :wink:


#2

The script and the index.html file are both in the same physical location on the volume, so no tree syntax needed.

src="script.js"

#3

However, both are correct.


#4

Yes, both are correct, but the SCT error message shows that only one is accepted. It's not path issue as much as matching the expectation of the lesson checker.


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.