Monday, 19 October 2015

Weekly blog entries no. 5 and 6 Ch. 5 & 6

Checkpoint 5.1

1. List the four basic principles of design. View the home page of your school and describe how each principle is applied. 

The four basic principles of design are:
 

  1. Contrast
  2. Repetition
  3. Alignment
  4. Proximity


Checkpoint 6.1

1. List the components of the box model from innermost to outermost. 

Content -> Padding -> Border -> Margin


2. Describe the purpose of the CSS float property.

The purpose of CSS float is to create homepage with a header, footer, left content and main content.


3. Which two CSS properties can be used to clear a float?

Two CSS properties can be used to clear float are clear and left and right.




Checkpoint 6.2

1. Describe a reason to use HTML5 structural elements instead of div elements for some page areas.

A reason to use of HTML5 structural elements instead of div elements for some page areas is only for styling purposes or as a convenience for scripting.


2. Describe one CSS debugging tip that you have found to be helpful. 

Prevent cross-browser issues

Most display problems in HTML and CSS come from cross-browser issues. The site looks fine in one browser, but there’s problems in another. This is almost always a problem on any web project, but you can minimize the number of cross-browser issues by preventing many of them from happening in the first place.
First, always make sure that you’re using a good CSS reset, such as normalize. This will “level out” inconsistencies between browsers and make them behave in a more uniform fashion. Even if you’re just doing a quick one-page site and you’re not using a CSS framework, you should still use a reset.
Second, check to make sure that the HTML elements and CSS properties that you’re using are indeed supported. HTML and CSS are always evolving, and browser vendors do the best they can to keep up with the latest standards. If you’re not sure about the support for a particular element or property, look it up on caniuse.com for a detailed breakdown.



3. Describe how to choose whether to configure an HTML element selector, create a class, or create an id when working with

Class selector can be used when we want to align pictures along with the texts

ID selector can be used when creating CSS layout.


2 comments:

  1. This will help you get an improved feel for the style of sites any particular web designer is capable of doing. Local SEO

    ReplyDelete
  2. Slot Machines by Pragmatic Play - JTM Hub
    JSlotWorld | 여주 출장샵 Play Slot Machine Online at JSlotWorld.com. Explore our 이천 출장마사지 exciting new games, ways to 삼척 출장마사지 win, bonuses, promotions 강원도 출장마사지 and more! 여수 출장안마

    ReplyDelete