2022-10-15 08:52:49 +00:00
|
|
|
---
|
|
|
|
id: 60b69a66b6ddb80858c51585
|
|
|
|
title: Step 15
|
|
|
|
challengeType: 0
|
|
|
|
dashedName: step-15
|
|
|
|
---
|
|
|
|
|
|
|
|
# --description--
|
|
|
|
|
2022-11-28 16:00:52 +00:00
|
|
|
Create some "dots" for the instrument. Add five `div` elements within your `#gray-instrument` element. Set the `class` of each to `black-dot`.
|
2022-10-15 08:52:49 +00:00
|
|
|
|
|
|
|
# --hints--
|
|
|
|
|
|
|
|
You should have five new `div` elements within your `#gray-instrument` element.
|
|
|
|
|
|
|
|
```js
|
|
|
|
assert(document.querySelectorAll('#gray-instrument div').length === 5);
|
|
|
|
```
|
|
|
|
|
|
|
|
Your five `div` elements should all have the class `black-dot`.
|
|
|
|
|
|
|
|
```js
|
|
|
|
assert(document.querySelectorAll('#gray-instrument .black-dot').length === 5);
|
|
|
|
```
|
|
|
|
|
|
|
|
# --seed--
|
|
|
|
|
|
|
|
## --seed-contents--
|
|
|
|
|
|
|
|
```html
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<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>
|
|
|
|
<div class="characters">
|
|
|
|
<div id="offwhite-character">
|
|
|
|
<div id="white-hat"></div>
|
|
|
|
<div id="black-mask">
|
|
|
|
<div class="eyes left"></div>
|
|
|
|
<div class="eyes right"></div>
|
|
|
|
</div>
|
|
|
|
<div id="gray-instrument">
|
|
|
|
--fcc-editable-region--
|
2022-10-18 07:29:49 +00:00
|
|
|
|
2022-10-15 08:52:49 +00:00
|
|
|
--fcc-editable-region--
|
|
|
|
</div>
|
|
|
|
<div id="tan-table"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
```
|
|
|
|
|
|
|
|
```css
|
|
|
|
body {
|
|
|
|
background-color: rgb(184, 132, 46);
|
|
|
|
}
|
|
|
|
|
|
|
|
#back-wall {
|
|
|
|
background-color: #8B4513;
|
|
|
|
width: 100%;
|
|
|
|
height: 60%;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: -1;
|
|
|
|
}
|
|
|
|
```
|