* chore(i18n,curriculum): update translations * chore: Italian to italian Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
1.7 KiB
1.7 KiB
id, title, challengeType, videoUrl, forumTopicId, dashedName
| id | title | challengeType | videoUrl | forumTopicId | dashedName |
|---|---|---|---|---|---|
| bad87fee1348bd9aedf08804 | Commentare l'HTML | 0 | https://scrimba.com/p/pVMPUv/cGyGbca | 16782 | comment-out-html |
--description--
Ricorda che per iniziare un commento, devi usare <!-- e per terminarlo devi usare -->
Qui dovrai terminare il commento prima dell'inizio del tuo elemento h2.
--instructions--
Commenta il tuo elemento h1 e il tuo elemento p, ma non il tuo elemento h2.
--hints--
Il tuo elemento h1 dovrebbe essere commentato in modo da non essere visibile nella pagina.
assert($('h1').length === 0);
Il tuo elemento h2 non dovrebbe essere commentato in modo da essere visibile nella pagina.
assert($('h2').length > 0);
Il tuo elemento p dovrebbe essere commentato in modo che non sia visibile sulla pagina.
assert($('p').length === 0);
Ciascuno dei tuoi commenti dovrebbe essere chiuso con -->.
assert(code.match(/[^fc]-->/g).length > 1);
Non dovresti modificare l'ordine dei tag h1 h2 o p nel codice.
assert(
code.match(/<([a-z0-9]){1,2}>/g)[0] === '<h1>' &&
code.match(/<([a-z0-9]){1,2}>/g)[1] === '<h2>' &&
code.match(/<([a-z0-9]){1,2}>/g)[2] === '<p>'
);
--seed--
--seed-contents--
<!--
<h1>Hello World</h1>
<h2>CatPhotoApp</h2>
<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
-->
--solutions--
<!--<h1>Hello World</h1>-->
<h2>CatPhotoApp</h2>
<!--<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p> -->