What is CSS
After learning the basics of HTML, it's time to learn the essentials of CSS!
Cascading Style Sheets (CSS) is a language used to specify the appearance of web pages. While HTML is used to mark the structure of a page, CSS is used to customize how the look and formatting of web pages.
For example HTML is used to mark parts of a page as a:
- heading
- paragraph
- table
- list
...while CSS is used to specify any HTML element's:
- size
- color
- spacing
In the challenge below, you can see some HTML for the page and a simple paragraph and some CSS in between the <style>
tags. Make a small change to the CSS to solve the challenge!
Challenge
Below there's some CSS that sets the color of the paragraph to red. Change the red
to green
.
Please sign in or sign up to submit answers.
Alternatively, you can try out Learneroo before signing up.