freeCodeCamp/curriculum/challenges/italian/14-responsive-web-design-22/learn-intermediate-css-by-b.../60b69a66b6ddb80858c5157b.md

51 lines
959 B
Markdown
Raw Normal View History

---
id: 60b69a66b6ddb80858c5157b
title: Step 5
challengeType: 0
dashedName: step-5
---
# --description--
Per iniziare il dipinto, assegna all'elemento `body` una proprietà `background-color` con il valore `rgb(184, 132, 46)`.
# --hints--
Dovresti usare un selettore `body`.
```js
assert(new __helpers.CSSHelp(document).getStyle('body'));
```
L'elemento `body` dovrebbe avere la proprietà `background-color` impostata su `rgb (184, 132, 46)`.
```js
assert(new __helpers.CSSHelp(document).getStyle('body')?.backgroundColor === 'rgb(184, 132, 46)');
```
# --seed--
## --seed-contents--
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Picasso Painting</title>
<link rel="stylesheet" type="text/css" href="./styles.css" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
</head>
<body>
</body>
</html>
```
```css
--fcc-editable-region--
--fcc-editable-region--
```