Premium Plan
Unlimited access to all features
{
"$schema": "../schemas/code-crispies-module-schema.json",
"id": "colors-backgrounds",
"title": "CSS Colors",
"description": "Learn how to apply colors to text and backgrounds using CSS properties.",
"difficulty": "beginner",
"lessons": [
{
"id": "colors-1",
"title": "Background Color",
"description": "Color is one of the most powerful tools in web design. It creates visual hierarchy, conveys meaning, and establishes brand identity. CSS provides multiple ways to specify colors.
CSS named colors: CSS includes 147 named colors like steelblue, coral, gold, and tomato. These are easy to remember and read.
The background-color property: Sets the fill color behind an element's content and padding areas.
.card {\n background-color: lightblue;\n}",
"task": "This notification card looks bare. Give it a soft, warm background color.",
"previewHTML": "You have 3 unread notifications
Your session will expire in 5 minutes
Unlimited access to all features