Files
freeCodeCamp/curriculum/challenges/english/01-responsive-web-design/basic-css-cafe-menu/part-019.md
Randell Dawson 94f0cf0ef8 chore(learn): Remove remaining isHidden keys from frontmatter (English and Chinese challenges) (#39809)
* fix: remove isHidden key from tool template

* fix: removed isHidden key from English challenges

* fix: remove isHidden key from Chinese challenges
2020-10-08 14:18:47 +02:00

1.2 KiB

id, title, challengeType
id title challengeType
5f3477cb303c5cb61b43aa9b Part 19 0

Description

You can change the entire background color of the page to brown by using a body type selector and specifying the value brown for the background-color property. As you have already seen, selector properties and their values have a colon (:) between them.

Add a new selector to the styles.css file to change the color of the entire page to brown.

Tests

tests:
  - text: Test 1
    testString: ''

Challenge Seed

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Camper Cafe Menu</title>
    <link href="styles.css" rel="stylesheet" type="text/css" />
  </head>
  <body>
    <header>
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
    </header>
    <main>
      <section>
        <h2>Coffees</h2>
      </section>
    </main>
  </body>
<html>
--fcc-editable-region--
h1, h2, p {
  text-align: center;
}
--fcc-editable-region--