Session Recording #
Project 1 Grading, Midterm Check-In #
We’ve (finally) finished your evaluations and feedback for Project 1, and will be sharing these on Slack this weekend. (Apologies for the delay!)
Also, if you can believe it—today’s class marks the halfway point of our first semester! So this will also function as a check-in point for your overall progress in the course. You can respond to our DM with any questions, concerns, comments, etc.
Working Responsively #
Let’s look at how to work on a responsive page in the browser:
Flexbox! #
And then we’ll get into some more modern (less frustrating) CSS layout:
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 named
spread
for 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.html
with 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
-
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 before!
Switch drivers! -
Back on the first computer, pull down the changes
-
Try a bit of our new layout here—a flex
column
that switches to arow
at larger breaks, variables forgap
, etc. -
Add a
@media print
query and adjust color/spacing properties for the printed page -
…repeat until the project is done!
For Next Week #
-
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 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: