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....

  1. The website is actually like a house. 
  2. HTML files are structures that form the wall of the house segregating the house into rooms. 
  3. CSS files are elements that provide the styles to your house like colors, decors, spacing used in the house.
  4. JavaScript files are interactive components similar to remote controls in your house which help operating some of the elements in the house.
  5. 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.
  6. 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. 

Come lets explore a web page in a browser called Google Chrome


Popular posts from this blog

Introductory Course to HTML and CSS - Part 3

Introductory Course to HTML and CSS - Part 4