Portfolio Step 6: Your First Stylesheet

Create one stylesheet and link it from all five pages with a link element in the head. Then style your site using classes only: a container class that constrains line length, a class for your navigation, and a card class for each project. Deliberately write two rules that conflict, work out which one should win by counting specificity, then check whether the browser agrees with you. Getting that prediction right is the point of this step.

SANKOFA SANDBOX
loading editor…
Your turn → Work through it step by step. This is a piece of the course project, not a throwaway exercise.

Built it in both languages?

Mark it done once your Python and JavaScript versions both run correctly. Honesty here is what makes the dashboard useful to you.

← BackNext: Module 7: Color, Units, and Typography →