2022-06-01 14:10:25 +00:00
|
|
|
---
|
|
|
|
id: 60b69a66b6ddb80858c5157c
|
|
|
|
title: Step 6
|
|
|
|
challengeType: 0
|
|
|
|
dashedName: step-6
|
|
|
|
---
|
|
|
|
|
|
|
|
# --description--
|
|
|
|
|
|
|
|
All'interno del tag body, aggiungi un elemento `div`. Dagli un `id` di `back-wall`.
|
|
|
|
|
|
|
|
# --hints--
|
|
|
|
|
|
|
|
Dovresti aggiungere esattamente 1 elemento `div`.
|
|
|
|
|
|
|
|
```js
|
|
|
|
assert(document.querySelectorAll('div').length === 1);
|
|
|
|
```
|
|
|
|
|
|
|
|
L'elemento `div` dovrebbe avere il valore `id` di `back-wall`.
|
|
|
|
|
|
|
|
```js
|
|
|
|
assert(document.querySelector('div')?.getAttribute('id') === 'back-wall');
|
|
|
|
```
|
|
|
|
|
|
|
|
# --seed--
|
|
|
|
|
|
|
|
## --seed-contents--
|
|
|
|
|
|
|
|
```html
|
|
|
|
<!DOCTYPE html>
|
2022-06-30 15:24:09 +00:00
|
|
|
<html lang="en">
|
2022-06-01 14:10:25 +00:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>Picasso Painting</title>
|
2022-06-21 15:00:08 +00:00
|
|
|
<link rel="stylesheet" href="./styles.css" />
|
2022-06-01 14:10:25 +00:00
|
|
|
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
--fcc-editable-region--
|
|
|
|
|
|
|
|
--fcc-editable-region--
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
```
|
|
|
|
|
|
|
|
```css
|
|
|
|
body {
|
|
|
|
background-color: rgb(184, 132, 46);
|
|
|
|
}
|
|
|
|
```
|