Web Design Fundamentals · Spring 2026
Take your HTML recipe and make it your vibe!
You'll learn three different ways to apply CSS while exploring colors, fonts, and basic styling.
This is your chance to experiment and have fun with design.
Transform your plain HTML recipe into a styled website with personality!
Start: Create a new folder in week-4 in your GitHub repo
<h1> tag wrapped in <header></header> section<h1> tagYour recipe is organized into sections <section></section> with IDs applied, all wrapped in a <main> element:
Note: You should have a minimum of 4 sections with unique ID's.
Your end data wrapped in a <footer></footer>
You must use CSS in three different places in this project:
Use inline CSS once for something special — a unique element that stands out.
Pick one element that deserves special attention!
Add a <style> block in your <head> for a few page-specific styles.
Use this for 2–3 special styles that are unique to this page.
Your main stylesheet: styles.css
Link it in your HTML <head>:
This is where most of your styling will go!
Note: Your styles.css goes in a folder with your recipe.html
When you are done your recipe-site folder will look like this:
Add a page background — choose one:
Make sure text is still readable!
Style your text to create hierarchy:
<h1>, <h2>, <h3>Use at least three different types of CSS selectors:
Element Selector:
Class Selector:
Descendant Selector:
Want to center your content and give it a nice max-width? Add this to your styles.css:
After the body tag wrap everything in a <main> </main> tag pair.
What this does:
max-width: 800px — Content won't get wider than 800pxmargin: 0 auto — Centers the content horizontallypadding: 20px — Adds breathing room on all sidesFeel free to adjust the numbers!
Want to use beautiful fonts from Google Fonts?
Follow this tutorial: Fonts and Google Fonts Guide
Pro tip: You can use different fonts for headings and body text!
Use these while you work! Bookmark them!
CSS-Tricks Almanac: https://css-tricks.com/almanac/
Searchable reference for every CSS property
MDN CSS Reference: https://developer.mozilla.org/en-US/docs/Web/CSS/Reference
Comprehensive and accurate
Web.dev Learn CSS: https://web.dev/learn/css
Tutorials and examples
CSS Cheat Sheet (HTML Cheat Sheet): https://htmlcheatsheet.com/css/
Quick visual reference
Coolors: https://coolors.co
Generate color palettes
Adobe Color: https://color.adobe.com
Create and explore color schemes
WebAIM Contrast Checker: https://webaim.org/resources/contrastchecker/
Make sure your text is readable
Dribbble — Recipe Designs: https://dribbble.com/search/recipe
See how designers style recipe pages
Awwwards — Food & Beverage: https://www.awwwards.com/websites/food/
Award-winning food websites
Search Pinterest for "recipe website design" for tons of ideas
color: #333333;background-color: #fafafa;background: linear-gradient(to bottom, #fff, #f0f0f0);font-size: 18px; or font-size: 1.5rem;font-weight: bold; or font-weight: 300;text-align: center;line-height: 1.6;text-transform: uppercase;margin: 20px;padding: 15px;margin-top: 30px;list-style: none;list-style-type: square;text-decoration: none;color: #3498db;a:hover { color: #e74c3c; }