lesson 03
DESCRIPTION
TRANSCRIPT
![Page 1: Lesson 03](https://reader037.vdocuments.net/reader037/viewer/2022100405/54bc879c4a79590a388b456d/html5/thumbnails/1.jpg)
Front-End Web Development
Lesson 3Advanced CSS
![Page 2: Lesson 03](https://reader037.vdocuments.net/reader037/viewer/2022100405/54bc879c4a79590a388b456d/html5/thumbnails/2.jpg)
Agenda● Review (15 minutes)● HTML Template (10 minutes)● Box Model (50 minutes)● Nested Selectors (20 minutes)● Getting Started (10 minutes)● Lab Time (60 minutes)
![Page 3: Lesson 03](https://reader037.vdocuments.net/reader037/viewer/2022100405/54bc879c4a79590a388b456d/html5/thumbnails/3.jpg)
Review
Wendy G. Bite● index● resume
![Page 4: Lesson 03](https://reader037.vdocuments.net/reader037/viewer/2022100405/54bc879c4a79590a388b456d/html5/thumbnails/4.jpg)
Review
Homework (sharing files)● Schoology● Shared Class Web Server● GitHub
![Page 5: Lesson 03](https://reader037.vdocuments.net/reader037/viewer/2022100405/54bc879c4a79590a388b456d/html5/thumbnails/5.jpg)
HTML Template
template.html
reset.css > sourcenormalize.css > source
style.css
![Page 6: Lesson 03](https://reader037.vdocuments.net/reader037/viewer/2022100405/54bc879c4a79590a388b456d/html5/thumbnails/6.jpg)
Box Model
Every element on a web page is a box.
What is an element?
![Page 7: Lesson 03](https://reader037.vdocuments.net/reader037/viewer/2022100405/54bc879c4a79590a388b456d/html5/thumbnails/7.jpg)
Box Model
![Page 8: Lesson 03](https://reader037.vdocuments.net/reader037/viewer/2022100405/54bc879c4a79590a388b456d/html5/thumbnails/8.jpg)
Box Model
Width = width +
padding-left + padding-right +
border-left + border-right
Height = height +
padding-top + padding-bottom +
border-top + border-bottom
![Page 9: Lesson 03](https://reader037.vdocuments.net/reader037/viewer/2022100405/54bc879c4a79590a388b456d/html5/thumbnails/9.jpg)
Box Model
Let’s build this … Start with …
template.htmlstyle.css
Save as …box_model.htmlbox_model.css
![Page 10: Lesson 03](https://reader037.vdocuments.net/reader037/viewer/2022100405/54bc879c4a79590a388b456d/html5/thumbnails/10.jpg)
Box Model
Apply this to … Wendy G. Bite
index.htmlresume.html
![Page 11: Lesson 03](https://reader037.vdocuments.net/reader037/viewer/2022100405/54bc879c4a79590a388b456d/html5/thumbnails/11.jpg)
Nested Selectors
Not needed to complete Assignment
Makes more sense once the following is introduced in the next lesson:
<div> tagsIDs and classes
![Page 12: Lesson 03](https://reader037.vdocuments.net/reader037/viewer/2022100405/54bc879c4a79590a388b456d/html5/thumbnails/12.jpg)
Getting Started
Assignment: Build Fashion Blog
starter codeimage_1image_2
![Page 13: Lesson 03](https://reader037.vdocuments.net/reader037/viewer/2022100405/54bc879c4a79590a388b456d/html5/thumbnails/13.jpg)
Lab Time
Assignment: Build Fashion Blog
starter code > add external stylesheetimage_1image_2
![Page 14: Lesson 03](https://reader037.vdocuments.net/reader037/viewer/2022100405/54bc879c4a79590a388b456d/html5/thumbnails/14.jpg)
Homework
Complete Fashion Blog