Week Nº 8
Oct. 17
Session Recording
Project 1 Grading, Midterm Check-In
Everyone should have received their grading/evaluation yesterday for their
And if you can believe it—today’s class marks the
Brief responsive update
We’ve thought more about our responsive topic from last week, and want to discuss one update:
Flexbox!
For our first topic today, we’ll get into some more modern CSS layout:
Grid!
And for our second, we’ll take a look its spiritual continuation in grid:
Working in Pairs
For our second half today, we’ll demonstrate how you’ll work in code together—so it’d be helpful to sit with your partner! Our agenda:
-
In
one of your GitHubs, start a new repo namedspreadfor our second projects—set to Public -
Add your partner as another user (
collaborator ), which will let you both edit the repo’s code -
Clone the repo locally, create an
index.htmlwith some basic HTML structure, commit it, and push (as we did before) -
Back on GitHub, enable Pages and link in the repo’s About section
Switch drivers! -
Now on the
other computer, clone the repo down from GitHub -
Let’s make it responsive by adding our viewport meta tag
-
Also add in our reset and create and link to a
style.css -
Take a look at it in our friendly neighborhood DevTools
-
Start with some
mobile-first styles! Use base CSS variables for colors, type size, spacing and a media query to make them responsive -
Commit this and push it up—same as befItore!
Switch drivers! -
Back on the
first computer, pull down the changes -
Try a bit of our new layout here—a flex
columnthat switches to arowat larger breaks, variables forgap, etc. -
Add a
@media printquery and adjust color/spacing properties for the printed page -
…repeat until the project is done!
For Next Week
-
Again review our two topics from today! There is a lot of minutia (and many links) there we will have to move quickly through, but would like you to reference.
-
You’ll be moving into the next phase of your
Spread projects. Narrow your design directions based off our coming Figma feedback, and then move into code with your partner: -
As a reminder, we want this work to be done
together , as we demonstrated in class. Focus on roughing in your design,mobile-first , and then progressively enhancing it for desktop.For next week, we’d like to see your completed, semantic DOM and the first pass of your mobile and desktop styles.
-
When these are in a good spot, submit your URLs as usual: