Since we're following The Odin Project (named after the Norse god of wisdom), we'll deepen that connection by exploring Norse mythology throughout the semester.
How We'll Use Norse Stories:
📖 Each major topic begins with a relevant Norse myth
A fantastic resource for getting starter SVGs in pure SVG code form. Perfect for web development!
✅ Copy-paste ready SVG code
✅ Clean, optimized paths
✅ Easy to customize with CSS
✅ Great for inline SVG implementation
✅ Free to use
💡 Pro Tip: When you need inline SVG for full CSS/JavaScript control, Glyphs.fyi gives you clean code you can paste directly into your HTML without messy export tools.
Default Browser Styles
Every browser applies default styles (user-agent stylesheets).
Examples
Larger, bold h1 elements
Blue, underlined links
Default margins and padding
CSS Resets
CSS resets remove or normalize default styles for consistency across browsers.
💡 Note: Resets are optional and opinionated. Choose what works for you!
CSS Units
Absolute vs Relative
Absolute Units
px is the only absolute unit you should use for web.
Pixels don't change relative to anything else on the page.
📏 Other absolute units: in (inch), cm (centimeter) - better for print!
Relative Units
em vs rem
1em = font-size of the element (or parent)
1rem = font-size of the root element (:root or html)
👍 Best Practice: Prefer rem over em for consistency!
Viewport Units
1vh = 1% of viewport height
1vw = 1% of viewport width
Perfect for full-height heroes or app-like interfaces!