While creating a web page, a developer has to keep in mind that the CSS will be linked at the top of the page and the JavaScript code will be at the bottom of the page.
Because CSS files are used to enhance the look of the HTML page whereas JavaScript is used to make the website interactive. So look and feel is more important than interactive when the page is loaded so most of the website follow these rules.
Hope this information will be helpful for you.
Happy Coding!
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
While creating a web page, a developer has to keep in mind that the CSS will be linked at the top of the page and the JavaScript code will be at the bottom of the page.
Because CSS files are used to enhance the look of the HTML page whereas JavaScript is used to make the website interactive. So look and feel is more important than interactive when the page is loaded so most of the website follow these rules.
Hope this information will be helpful for you.
Happy Coding!