HTML and Javascript, Day 4: CSS & GitHub Pages
2025-09-17
Day 1:
<h1>, <p>, <em>, <strong>, <a>, <img>, <ul>, <li>href and altDay 2:
<head>, <nav>, <main>, <section>, <footer>Day 3:
<p class="highlight">This text is highlighted.</p>
<p class="highlight">This one is too!</p>
<p>This one is not.</p><p> marked as class="highlight" will be treated specially.:9_stinky_style.cssrem = relative to root font size (scales with user settings)ch = width of one character (good for readable line length)px = pixel; 1px = 1/96th of 1in; note relative to viewing device!display: block) stacks vertically!Step 1: Return to your firstname_lastname.html file, and make sure your style sheet is loaded properly.
Step 2: Define a minimal design system, using variables (tokens):
Step 3: Make the header stick and center your nav links in a row.
Step 4:
Step 5:
<a:hover{}>Step 6: Save, Stage, Commit, Push!
yourusername.github.iodocs folderyourusername.github.io, you need to make a folder named docs.docs.html and .css files into docsindex.html, so rename it if it’s not called thatyourusername.github.io repohttps://yourusername.github.io/