Week 4 · P&E · 10 pts
Do these exercises in Codespaces, not CodePen. You’ll download the exercise files, add them to your repo, and edit them directly. Commit after each exercise.
You have a wk4-css-foundations-lvl-1 folder on your computer with exercise folders inside it.
week-4/ folderwk4-css-foundations-lvl-1 folder from your computer into the week-4/ folder in CodespacesREADME.md Inside the folder for full instructionsYour folder structure should look like this:
week-4/
└── wk4-css-foundations-lvl-1/
├── README.md
├── intro-to-css/
│ ├── 01-css-methods/
│ ├── 02-class-id-selectors/
│ ├── 03-grouping-selectors/
│ ├── 04-chaining-selectors/
│ └── 05-descendant-combinator/
└── cascade/
└── 01-cascade-fix/You can see the exercise folders inside week-4/wk4-css-foundations-lvl-1/ in Codespaces.
For each exercise: read the README, look at the desired-outcome.png, then edit the index.html and style.css files directly in Codespaces.
01-css-methods — Methods for adding CSS (inline, internal, external)02-class-id-selectors — Class and ID selectors03-grouping-selectors — Grouping selectors04-chaining-selectors — Chaining selectors05-descendant-combinator — Descendant combinator01-cascade-fix — Specificity and rule orderSolutions are in each exercise’s solution/ folder — don’t peek until you’ve finished!
After each exercise, commit with a clear message:
Complete exercise 02 — class and ID selectorsAll 6 exercises are completed and committed to your repo. Your commit history shows your progress through each exercise.
Submit your GitHub repo URL. Your completed exercises should be visible in the commit history.