Layout - Week 03
Welcome to week 3 of Intro to Web Dev!
Last week, you used CSS to style your HTML by setting things like font colors. CSS can also be used for positioning elements and laying out your page. There are a lot of different ways to do that, so I wanted to spend this week on just this aspect of CSS.
Work through the activities in this page to complete the week!
Estimated time: 90 minutes
First, read through the tutorial and watch the video:
- In your own words, what is grid layout? When might you use it?
- In your own words, what is flexbox layout? When might you use it?
- In your own words, what are media queries? When might you use them?
- What’s your favorite grid or flexbox property, and what does it do? Note: There is no wrong answer to this question. If you don’t have a favorite, pick one you used most often, or one that surprised you.
- What do the
grid-auto-rowsproperties do? Note: These properties were not mentioned in any of this week’s content. I’m testing that you can research and read about new CSS properties you haven’t seen before. Feel free to use a search engine and resources like W3SChools and MDN to answer this question.
Estimated time: 1 hour
Now you’ve seen the fundamentals of layout in CSS, including flexbox and grid.
To practice that, modify the files in the
week-03-layout directory of your project repo.
- Learn about layout in CSS
- Follow the directions in the
week-03-layoutdirectory of your project repo
- Push those changes to GitHub and confirm you can see them in your GitHub Pages site
- Get ready to present your work. Make sure your camera and microphone work!