+ 1
How do we link js code and css to html and have them working in an order? Not execute randomly?
Js, css and html
3 Answers
0
You can have all CSS files inside the head tag but js files will be better to have inside body before closing tag of body so your page will be load fast.
+ 3
Connect css and js to html. CSS in head and js is better in body before the closing tag, in case the script does not load the user will be able to see the site without a script.
+ 2
Thanks guys, I am new to the industry, it is such an honor to learn from you. Thank you a lot.