--- id: 5efc518e8d6a74d05e68af75 title: Step 57 challengeType: 0 dashedName: step-57 --- # --description-- Aggiungi l'attributo `name` con il valore `personality` all'elemento `input`. Non noterai nulla nel browser, ma questa operazione facilita l'elaborazione del modulo web per un server, soprattutto quando ci sono piĆ¹ caselle di spunta. # --hints-- Assicurati che la casella di spunta sia ancora presente. ```js assert($('input[type="checkbox"]')[0]); ``` L'elemento `input` con la casella di spunta non ha un attributo `name`. Controlla che ci sia uno spazio dopo il nome del tag di apertura. ```js assert($('input[type="checkbox"]')[0].hasAttribute('name')); ``` L'elemento `input` con la casella di spunta dovrebbe avere un attributo `name` con il valore `personality`. Hai omesso il valore o hai un refuso. Ricorda che i valori degli attributi devono essere racchiusi tra virgolette. ```js assert( $('input[type="checkbox"]')[0] .getAttribute('name') .match(/^personality$/) ); ``` # --seed-- ## --seed-contents-- ```html

CatPhotoApp

Cat Photos

Click here to view more cat photos.

A cute orange cat lying on its back.

Cat Lists

Things cats love:

A slice of lasagna on a plate.
Cats love lasagna.

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats
Five cats looking around a field.
Cats hate other cats.

Cat Form

Is your cat an indoor or outdoor cat?
What's your cat's personality? --fcc-editable-region-- --fcc-editable-region--
```