Last week I talked about HTML & CSS which are the foundations of web development. If you haven't read that post I would recommend reading it first. You can find it HERE.
How Does It Work?
Tips & Tricks
Now I have done a very brief explanation of what it is I’m going to talk about a few key things to think about for your website.
Positioning & Linking
My first tip is not to use inline scripts; an inline script is where you write your code directly into your HTML file like this.
<script>var x = 10</script>
page then they need to go at the end otherwise, the scripts will load before being able to load the information they need to work.
Speed is so important on the web as there is so much content out there you don't what yours overlooked because it took too long to load. One thing you can do is minimise your code which means taking out any whitespace and comments as these don't affect your code they just make it easier for a programmer to read. This means your file is smaller and therefore loads faster.