1.1 KiB
1.1 KiB
id | title | challengeType | dashedName |
---|---|---|---|
60f0286404aefb0562a4fdf9 | Step 4 | 0 | step-4 |
--description--
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
.
--hints--
Il codice dovrebbe avere un elemento title
.
const title = document.querySelector('title');
assert.exists(title);
L'elemento title
dovrebbe essere all'interno dell'elemento head
.
assert.exists(document.querySelector('head > title'));
Il progetto dovrebbe avere il titolo Registration Form
.
const title = document.querySelector('title');
assert.equal(title.text.toLowerCase(), 'registration form')
Fai attenzione all'uso delle maiuscole/minuscole e all'ortografia nel titolo.
const title = document.querySelector('title');
assert.equal(title.text, 'Registration Form');
--seed--
--seed-contents--
<!DOCTYPE html>
<html lang="en">
--fcc-editable-region--
<head>
</head>
--fcc-editable-region--
<body>
</body>
</html>