INTERACTIVE DESIGN [ CSS 2 EXERCISE ]

 


 
LECTURE:

Why CSS?

I learned that CSS makes the website more flexible as such:
  • CSS is reusable
  • Change stylesheet to change the design of many pages
Not only that it is easier to maintain for instance: 
  • Cleaner HTML code
  • Separates styles from HTML tags and page content
  • Consistent look across an entire website that is easily maintained by changing styles in one place

Besides CSS allows you to add "style" to an HTML (web page) element (E.g. color, size, or positioning information)

There are 2 aspects to adding style to a web page via CSS:
  • CSS "Declaration" - Specifying what the style looks like
  • CSS "Selector" - Naming the HTML (or XML) element to which the style applies



TUTORIAL & PRACTICAL: 

During our Tutorial and Practical, we were given a task to add in the CSS that we learned and apply it to the previous exercise. During the class when we learning the CSS it looked so confusing and complicated till I tried adding the CSS by myself. It was really easy because I thought it was gonna be hard. 

Comments

Popular Posts