Adventure 3

ðŸŽĻ CSS Artist

Make your webpages beautiful with colors and styles!

About 25 minutes

ðŸŽŊ What You'll Learn

ðŸŽĻ

What is CSS?

🌈

Add colors and styles

âœĻ

Make things look awesome!

1

What is CSS?

ðŸ’Ą
CSS = Cascading Style Sheets

CSS is what makes websites LOOK amazing! Colors, fonts, sizes, and more.

👔 + 👗

If HTML is the body...

CSS is the clothes, hairstyle, and accessories!

It's how we make things look stylish and cool.

See the Difference!

Without CSS 😐

Hello World

This is plain HTML.

With CSS! ðŸĪĐ

Hello World

This is styled with CSS!

2

Play with Colors!

In CSS, we can use color names or color codes. Let's try both!

🌈 Click a Color to Change the Text!

red
blue
green
purple
orange
pink

I can be any color!

ðŸŽĻ Design Your Own Style!

Use these controls to style the text above:

3

Write Real CSS Code!

✍ïļ
Time to write CSS!

CSS code tells the browser exactly how things should look.

📝 How CSS Code Works

h1 {
    color: blue;
    font-size: 48px;
}
Selector

What to style

Property

What to change

Value

What it becomes

ðŸ–Ĩïļ Try It Yourself!

Edit the CSS code below and see the changes!

CSS Code
<h1>My Styled Page</h1> <p>This paragraph has CSS!</p>
Preview

ðŸŽŊ CSS Challenges!

Try changing the code to do these things:

4

ðŸŽĻ CSS Art Challenge!

CSS can create amazing art! Use the controls to make your own pixel character!

ðŸĪ– Design Your CSS Robot!

CSS Code for your robot:

5

âœĻ CSS Animation Lab!

🎎
CSS can make things MOVE!

Animations make websites feel alive and fun!

🎊 Animation Playground

Click on different animations to see them in action!

⭐

Current Animation CSS:


                        
6

🌈 Color Matching Challenge!

Test your color skills! Match the hex color code to the right color!

ðŸŽĻ What color is this hex code?

#FF0000
Score: 0
Streak: 0 ðŸ”Ĩ
ðŸŽĻ

Adventure 3 Complete!

You can now make webpages look amazing! You're a CSS Artist!

🖌ïļ
Badge Earned: CSS Artist

What's Next?

In Adventure 4, you'll make things MOVE and CLICK with JavaScript!

Continue to JavaScript Wizard