3Cascading Style Sheets (CSS)

The image represents people in a park.

What you will learn

In the last two chapters, you’ve learned how to use HTML to design a web page and how to use JavaScript to add some behaviors to it. However, you’ve probably also noticed that the web pages that you’ve been creating don’t look much like ones on the sites you usually visit. They are lacking in design and color. In this chapter, you’ll discover how to manage the appearance of a web page to make it more appealing. Along the way, you’ll pick up some important points abut JavaScript programming and make some nifty applications and games.

Putting on the style

Color highlighting on mouse rollover

Get Begin to Code with JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.