--- id: 5dc174fcf86c76b9248c6eb2 title: Step 1 challengeType: 0 dashedName: step-1 --- # --description-- Gli elementi HTML hanno un tag di apertura come `

` e un tag di chiusura come `

`. Trova l'elemento `h1` e cambia il testo tra i tag di apertura e chiusura in `CatPhotoApp`. # --hints-- Il testo `CatPhotoApp` dovrebbe essere presente nel codice. Controlla la tua ortografia. ```js assert(code.match(/catphotoapp/i)); ``` L'elemento `h1` dovrebbe avere un tag di apertura. I tag di apertura hanno questa sintassi: ``. ```js assert(document.querySelector('h1')); ``` L'elemento `h1` dovrebbe avere un tag di chiusura. I tag di chiusura hanno un carattere `/` subito dopo il carattere `<`. ```js assert(code.match(/<\/h1\>/)); ``` Hai più di un elemento `h1`. Rimuovi l'elemento `h1` di troppo. ```js assert(document.querySelectorAll('h1').length === 1); ``` Il testo dell'elemento `h1` dovrebbe essere `CatPhotoApp`. Hai omesso il testo, hai un refuso o il testo non è tra i tag di apertura e chiusura dell'elemento `h1`. ```js assert(document.querySelector('h1').innerText.toLowerCase() === 'catphotoapp'); ``` # --seed-- ## --seed-contents-- ```html --fcc-editable-region--

Hello World

--fcc-editable-region-- ```