Bug in jQuery lesson


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:


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



However, both are correct.


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.


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