Lab 11: 

Design Fundamentals

Welcome to the eleventh lab of Team Edge!

In this lab, we cover design fundamentals to make appealing and effective websites.

Challenge : CSS Avatar

Go to this link and fork the project in Stackbliz

New Skills :

Review Skills :

Reference

The Box Model

Content: Contains text, images, other child elements, etc. The width and height is dependent on the element's content .

Padding: Defined by the padding property and creates space between the content and the border. If padding is zero, then the padding's edge is the same as the content's edge.

Border: Defined by the border property and can be customized by border width, color, and style. If no border is defined, then the border edge is the same as the padding edge.

Margin: Defined by the margin property and adds space outside of the border. This is useful to space out elements. 

Background: Note that the background property is applied to the content and padding rectangles. 

Common Layouts of Webpages Using Containers

What is a <div>?

 The <div> tag defines a division or a section in an HTML document. The <div> tag is used as a container for HTML elements - which is then styled with CSS or manipulated with JavaScript. The <div> tag is easily styled by using the class or id attribute. 

Note that there are <nav>,<header> and <footer> tags here.  These will be covered in the next Lab.

Design Fundamentals

How do you decide on your color palette?

Find Your Palette

Adobe Color | Colormind | Coolors 

Choose Your Font

Google Fonts 

Web typography is a beautiful art of designing and arranging different types of web fonts, letters, words and paragraphs used to create great web design as per priorities. 

How do you decide on the typography of your website?

More Practice

Additional Resources