2021-09-28 20:38:44 +00:00
---
id: 6133acc353338c0bba9cb553
2021-10-21 17:07:52 +00:00
title: Step 5
2021-09-28 20:38:44 +00:00
challengeType: 0
2021-10-21 17:07:52 +00:00
dashedName: step-5
2021-09-28 20:38:44 +00:00
---
# --description--
Lastly in the `head` , the `title` element is useful for screen readers to understand the content of a page. Furthermore, it is an important part of _SEO_ .
Give your page a `title` that is descriptive and concise.
# --hints--
You should add a `title` element to the `head` .
```js
2022-01-24 18:02:25 +00:00
assert.exists(document.querySelector('head > title'));
2021-09-28 20:38:44 +00:00
```
You should not make the `title` longer than 60 characters.
```js
2022-01-24 18:02:25 +00:00
assert.isAtMost(document.querySelector('head > title')?.textContent?.length, 60);
2021-09-28 20:38:44 +00:00
```
2022-03-14 15:54:43 +00:00
Try being more descriptive with your `title` element. _Hint: At least 15 characters_
2021-09-28 20:38:44 +00:00
```js
2022-03-14 15:54:43 +00:00
assert.isAtLeast(document.querySelector('head > title')?.textContent?.length, 15);
2021-09-28 20:38:44 +00:00
```
# --seed--
## --seed-contents--
```html
<!DOCTYPE html>
< html lang = "en" >
--fcc-editable-region--
< head >
< meta charset = "UTF-8" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" / >
< meta name = "description" content = "freeCodeCamp Accessibility Quiz practice project" / >
< link rel = "stylesheet" href = "styles.css" / >
< / head >
--fcc-editable-region--
< body >
< / body >
< / html >
```
```css
body {
background: #f5f6f7 ;
color: #1b1b32 ;
font-family: Helvetica;
margin: 0;
}
```