2022-05-23 14:21:03 +00:00
---
id: 60f0286404aefb0562a4fdf9
title: Step 4
challengeType: 0
dashedName: step-4
---
# --description--
2022-08-02 11:46:54 +00:00
Aggiungi degli elementi `title` e `meta` all'elemento `head` . Dai al tuo progetto il titolo `Registration Form` , e dai un attributo `charset` con il valore `UTF-8` all'elemento `meta` .
2022-05-23 14:21:03 +00:00
# --hints--
Il codice dovrebbe avere un elemento `title` .
```js
const title = document.querySelector('title');
assert.exists(title);
```
L'elemento `title` dovrebbe essere all'interno dell'elemento `head` .
```js
assert.exists(document.querySelector('head > title'));
```
Il progetto dovrebbe avere il titolo `Registration Form` .
```js
const title = document.querySelector('title');
assert.equal(title.text.toLowerCase(), 'registration form')
```
Fai attenzione all'uso delle maiuscole/minuscole e all'ortografia nel titolo.
```js
const title = document.querySelector('title');
assert.equal(title.text, 'Registration Form');
```
# --seed--
## --seed-contents--
```html
<!DOCTYPE html>
2022-08-02 11:46:54 +00:00
< html lang = "en" >
2022-05-23 14:21:03 +00:00
--fcc-editable-region--
< head >
< / head >
2022-08-02 11:46:54 +00:00
--fcc-editable-region--
2022-05-23 14:21:03 +00:00
< body >
< / body >
< / html >
```