--- id: bad87fee1348bd9aec908857 title: Usare i commenti per chiarire il codice challengeType: 0 forumTopicId: 18347 dashedName: use-comments-to-clarify-code --- # --description-- Quando inizieremo a usare jQuery, modificheremo gli elementi HTML senza doverli cambiare effettivamente usando l'HTML. Facciamo in modo che tutti sappiano che non dovrebbero modificare niente di questo codice in modo diretto. Ricorda che puoi iniziare un commento con `` Aggiungi un commento nella parte superiore del tuo HTML che dica `Code below this line should not be changed` # --hints-- Dovresti iniziare un commento con `.*this line))\s*.*this line.*\s*-->/gi)); ``` Dovresti chiudere il tuo commento con `-->`. ```js assert(code.match(/-->.*\n+.+/g)); ``` Dovresti avere lo stesso numero di aperture e chiusure di commenti. ```js assert(code.match(//g).length); ``` # --seed-- ## --seed-contents-- ```html

jQuery Playground

#left-well

#right-well

``` # --solutions-- ```html

jQuery Playground

#left-well

#right-well

```