Introductory Course to HTML and CSS - Part 2
Consider yourself to be working as a front-end developer. And you have got a design from the company's graphic designer. You need to take this image or pdf file and convert it into a web page with all the necessary components like HTML files, CSS files and JavaScript files
So where do you actually start?
Well we need to understand the basic concept of a website and its components. Here you go....
- The website is actually like a house.
- HTML files are structures that form the wall of the house segregating the house into rooms.
- CSS files are elements that provide the styles to your house like colors, decors, spacing used in the house.
- JavaScript files are interactive components similar to remote controls in your house which help operating some of the elements in the house.
- Every element in the house has rules about how to behave. For example, you cannot have a dining table floating in the air. It has to be placed firmly on the floor. Similarly there are rules about how each element in the website must behave.
- When you have to fix some elements or structures or components in your house, you need a tool. For example, you need a hammer to put a nail on the wall. Similarly, we need web tools to build a website.
Hope you are getting the basic idea about a website.