55 lines
1000 B
Markdown
55 lines
1000 B
Markdown
---
|
|
id: 60b69a66b6ddb80858c5157d
|
|
title: Step 7
|
|
challengeType: 0
|
|
dashedName: step-7
|
|
---
|
|
|
|
# --description--
|
|
|
|
Usa un selettore id per assegnare all'elemento `back-wall` una proprietà `background-color` di `#8B4513`.
|
|
|
|
# --hints--
|
|
|
|
Dovresti usare un selettore `#back-wall`.
|
|
|
|
```js
|
|
assert(new __helpers.CSSHelp(document).getStyle('#back-wall'));
|
|
```
|
|
|
|
Il selettore `#back-wall` dovrebbe avere un `background-color` di `#8B4513`.
|
|
|
|
```js
|
|
assert(new __helpers.CSSHelp(document).getStyle('#back-wall')?.backgroundColor === 'rgb(139, 69, 19)');
|
|
```
|
|
|
|
# --seed--
|
|
|
|
## --seed-contents--
|
|
|
|
```html
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Picasso Painting</title>
|
|
<link rel="stylesheet" href="./styles.css" />
|
|
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
|
|
</head>
|
|
<body>
|
|
<div id="back-wall"></div>
|
|
</body>
|
|
</html>
|
|
```
|
|
|
|
```css
|
|
body {
|
|
background-color: rgb(184, 132, 46);
|
|
}
|
|
|
|
--fcc-editable-region--
|
|
|
|
--fcc-editable-region--
|
|
|
|
```
|