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

52 lines
920 B
Markdown
Raw Normal View History

---
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>
<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>
--fcc-editable-region--
--fcc-editable-region--
</body>
</html>
```
```css
body {
background-color: rgb(184, 132, 46);
}
```