---
id: 60b69a66b6ddb80858c515b0
title: Step 59
challengeType: 0
dashedName: step-59
---
# --description--
All'interno del div `triangles`, dovrai aggiungere gli elementi che diventeranno i tuoi triangoli. Crea trenta elementi `div` e dai a ciascuno di loro la classe `triangle`.
# --hints--
Dovresti avere 30 elementi `div` all'interno dell'elemento `triangles`.
```js
assert(document.querySelectorAll('#triangles > div')?.length === 30);
```
Tutti i 30 nuovi elementi `div` dovrebbero avere l'attributo `class` impostato su `triangle`.
```js
const divDivDiv = document.querySelectorAll('#triangles > div');
for (const div of divDivDiv) {
assert(div?.classList?.contains('triangle'));
}
```
# --seed--
## --seed-contents--
```html