1.3 KiB
1.3 KiB
id | title | challengeType | dashedName |
---|---|---|---|
5f34a1fd611d003edeafd681 | Passo 19 | 0 | step-19 |
--description--
Esse fundo marrom dificulta a leitura do texto. Altere a cor de fundo do elemento body
para que seja burlywood
de modo que ele tenha cor, mas que você ainda possa ler o texto.
--hints--
Você deve definir o valor da propriedade background-color
para burlywood
.
const hasBackground = new __helpers.CSSHelp(document).getCSSRules().some(x => x.style['background-color'] === 'burlywood');
assert(hasBackground);
O elemento body
deve ter um fundo burlywood
(amadeirado).
const bodyBackground = new __helpers.CSSHelp(document).getStyle('body')?.getPropertyValue('background-color');
assert(bodyBackground === 'burlywood');
--seed--
--seed-contents--
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Cafe Menu</title>
<link href="styles.css" rel="stylesheet"/>
</head>
<body>
<main>
<h1>CAMPER CAFE</h1>
<p>Est. 2020</p>
<section>
<h2>Coffee</h2>
</section>
</main>
</body>
</html>
--fcc-editable-region--
body {
background-color: brown;
}
--fcc-editable-region--
h1, h2, p {
text-align: center;
}