+ 1
Where to put my Javascript
Hi guys! I was just wondering where do i put my javascript if i want to put a external js when im writing code on sololearn. I want to use canvas and it keep saying no canvas is found when i copy paste my js in the js section. For now i've been putting them in the html. Thanks for the help.
2 Answers
+ 4
Link CSS to HTML
- use external CSS link
-https://www.w3schools.com/css/css_howto.asp
Link JS to HTML
- use external Javascript link
- https://www.w3schools.com/js/js_whereto.asp