chore(i18n,curriculum): update translations (#42487)

* chore(i18n,curriculum): update translations

* chore: Italian to italian

Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
This commit is contained in:
camperbot
2021-06-15 03:34:20 +09:00
committed by GitHub
parent 840c7c738f
commit b3af21d50f
556 changed files with 57236 additions and 0 deletions

View File

@ -0,0 +1,76 @@
---
id: bad87fee1348bd9aedf08804
title: Commentare l'HTML
challengeType: 0
videoUrl: 'https://scrimba.com/p/pVMPUv/cGyGbca'
forumTopicId: 16782
dashedName: 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.
```js
assert($('h1').length === 0);
```
Il tuo elemento `h2` non dovrebbe essere commentato in modo da essere visibile nella pagina.
```js
assert($('h2').length > 0);
```
Il tuo elemento `p` dovrebbe essere commentato in modo che non sia visibile sulla pagina.
```js
assert($('p').length === 0);
```
Ciascuno dei tuoi commenti dovrebbe essere chiuso con `-->`.
```js
assert(code.match(/[^fc]-->/g).length > 1);
```
Non dovresti modificare l'ordine dei tag `h1` `h2` o `p` nel codice.
```js
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--
```html
<!--
<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--
```html
<!--<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> -->
```