You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider the following analogy. The human body needs 3 essential parts in order to function appropriately: bones, skin and muscles. The bones are necessary to give the body **structure**. The skin (shape of body, hair, clothing, make up) is necessary to give the body a unique **presentation**. and the muscles (for walking, climbing, swimming) are needed to give the body **movement and interactivity**.
82
83
83
84
This is exactly how HTML, CSS and JavaScript relate to each other:
84
85
85
-
- HTML is used to put the structure of a website together
86
-
- CSS acts like the skin and makeup for the HTML. CSS improves the colors and layout of a website structure built with HTML
87
-
- JavaScript is a full-on programming language that adds interactivity and functionality to a website
86
+
-HTML is used to put the structure of a website together
87
+
-CSS acts like the skin and makeup for the HTML. CSS improves the colors and layout of a website structure built with HTML
88
+
-JavaScript is a full-on programming language that adds interactivity and functionality to a website
88
89
89
90
Each technology has their own file type: `.html`, `.css` and `.js`. The HTML file is always the base, the other files (whether CSS or JavaScript) are then referenced to inside of this HTML file. HTML is the base, because that's the first file a browser will render. That's just how browsers work!
90
91
@@ -104,7 +105,7 @@ It's better practice to reference inside of the `<body>`. This is because the bi
104
105
105
106
Check the following article to learn more about this:
106
107
107
-
-[The Relationship Between HTML, CSS and JavaScript Explained by Building A City](https://blog.codeanalogies.com/2018/05/09/the-relationship-between-html-css-and-javascript-explained/)
108
+
-[The Relationship Between HTML, CSS and JavaScript Explained by Building A City](https://blog.codeanalogies.com/2018/05/09/the-relationship-between-html-css-and-javascript-explained/)
0 commit comments