codex-lv2-may-2025

๐ŸŽจ Lesson: Learn CSS Frameworks to implement a professional look and feel.

Level: Beginner Tools: Web browser, HTML editor (VS Code) Goal: Learn how CSS frameworks can help you build beautiful websites quickly โ€” starting from classless styles to full UI components.


Step 0: Setup your project

Create a folder in the shell, initialize it with git, push to github, and open with VSCode. Call your folder css-frameworks.

See the guide for details

โœ… Step 1: Watch and Think โ€” Classless CSS

Paste this into your HTML editor:

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Classless CSS Test</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/98.css" />
</head>
<body>
  <h1>Welcome to the Retro Web</h1>
  <p>This page is using a classless CSS framework. No classes required!</p>
  <ul>
    <li>Fast styling</li>
    <li>No setup needed</li>
    <li>Fun themes</li>
  </ul>
  <button>Click Me!</button>
</body>
</html>

๐Ÿงช Think:


๐ŸŽจ Step 2: Try Other Classless CSS Themes

Try changing the CSS link in the <head> to each of these:

โœ๏ธ Which one feels best to you? Write it down and explain why on your web page.

Review their webpages and look at the documentation. What can you find out about them?

๐Ÿ’ช Challenge: Make several copies of the same page in your project. Put them in files called retro.html, water.html, etcโ€ฆ Change the theme by adding one line of CSS to the <head>. In a page called theme-garden.html, rank them from your fav to least favorite in a list and link to them with an <a> tag.


๐Ÿงฑ Step 3: Add an Image

In Sakura.css, images are responsive by default. They will grow and shrink with your window size. Try it!

Then try it with other CSS Frameworks. Do you notice any differences?

Add an image at the top of your card:</summary>

Show me:
  <img src="https://images.pexels.com/photos/1108099/pexels-photo-1108099.jpeg">

๐Ÿงช Try your own image from Pexels. You may download them to your project folder.


๐ŸŽ“ Challenge 9: Explore Another CSS Library

Try a different CSS framework and see what you can build by reading the documentation.

๐Ÿ“š Options to Explore:

Name Link Style
PaperCSS https://www.getpapercss.com Hand-drawn, sketchy look
Chota https://jenil.github.io/chota/#docs Minimal and clean
Bootstrap https://getbootstrap.com Powerful and professional

๐Ÿ” Explore and try to build a card, button, alert, or form โ€” anything you find interesting!


โœ… Review

Concept What You Did
Classless CSS Fast, no-setup styling
CSS theme comparison Explored multiple looks
Picnic utility classes Applied styles using class names
Custom image Personalized your card
Reading documentation Practiced learning from real docs
Exploring other libraries Expanded beyond one framework