Session Recording#
You’ll need to be signed in to your New School account to see this recording in-page!
Safari prevents Google Drive
And Finally… Images?!#
Picking up from last week, let’s discuss images on the web:
Brief Demo Time#
And following our previous demo, we’ll show how you will structure your final projects:
-
We’re going to use cascade layers to avoid any specificity problems!
These are a somewhat recent addition to CSS, and will help us manage any overlapping rules.
-
Add this to your landing page
replacing our previous two<head>, elements:<link><style> @import 'styles/reset.css' layer(reset); @import 'styles/common.css' layer(common); </style> -
This still “links” your stylesheets (now via
), but enforces the exact override order declared by@import .@layer -
Replace the
elements in your direction pages too, updating the path and the page-specific styles:<link><style> @import '../styles/reset.css' layer(reset); @import '../styles/common.css' layer(common); @import 'style.css' layer(page); </style> -
Now any styles you write in the page-specific
will override thestyle.css no matter the how complicated the selector or specificity!common.css—
-
-
Then we’ll set up for our three actual articles. Duplicate your “winning” direction’s directory,
→direction-1/article-name/.-
Duplicate
twice for your other texts,article-name/ andsecond-one/third-text/. -
Update the
and<title> in each of these to match your different texts.<h1>For next week, you will be incorporating the semantic DOM for the actual texts!
-
Update the links on your landing page navigation to point to these new folders (instead of your directions).
-
And likewise update the per-page navigation, so they all link to one-another!
-
“Promote” your winning direction’s styles up to your
These are now the basis for your design system.common.css!
-
-
Later (when you don’t need anything from them), you can delete your other directions to “tidy up”!
This is how you will develop the system!
Project 3 Check-Ins#
We’ll spend the bulk second half of class looking through your initial third project sketching:
Group 1
- Jiho
- Natay
- Hyunjin
- Gia
- Simrin
- Jasmine
- Jon
Group 2
- Hannah
- Matias
- Fan
- Charitaa
- Claire
- Yen
- Valerie
Group 3
- Alaia
- Andrea
- Felix
- Leila
- Jun
- Crystal
Group 1
- Jiho
- Natay
- Hyunjin
- Gia
- Simrin
- Jasmine
- Jon
- Hannah
- Matias
- Fan
Group 2
- Charitaa
- Claire
- Yen
- Valerie
- Alaia
- Andrea
- Felix
- Leila
- Jun
- Crystal
The plan:
-
Our goal is that everyone will see
(at least)one of us! -
Have your landing page/work up on your phone!
-
Give us some brief background and then right into your directions.
-
We want to focus on the Big Picture, to start—let’s save specific/technical minutia for later/Slack.
-
Have your laptop/notebook ready for notes!
-
Feedback for one group is often feedback for all; let’s be actively listening to each turn.
For Next Week#
-
You’ll be moving into the next phase of your Binding projects. Narrow your design direction while incorporating your other texts, building it out across all your pages—and start to flesh it out across the breakpoints:
-
As noted on the project page, we also want you to weigh in on your former partner’s work in a GitHub Issue! The more thorough, the better—for both of you.
Share your repo links with each other on Slack. It will be more useful to do this after your former partner has put in some more work—so communicate/coordinate around that.
-
When you are ready, send us your links as usual:
Submission Form
You’ll also include a link to the issue you file!