My Project

i cant link my javascript in my html. Im using the codebit but the codes doesnt work on html.

Did you include <script></script> tags to make your html file aware of JS? Are you sure there are no problems in your JS code?

Without those details, we can’t help you. Please improve the quality of your question

yes. i tried the most basic code but it doesnt work.

which one is it? this one?

you use Jquery, which is a javascript library, but you didn’t include jquery? Without the jquery library, its not going to work indeed

i just included

< script type=‘text/javascript’ src=‘script.js’>

yes, that is Javascript. But you use jquery, which you didn’t include

1 Like