Back to Freecodecamp

Step 6

curriculum/challenges/english/blocks/learn-html-forms-by-building-a-registration-form/60f02e7361b68405e27b62a5.md

latest692 B
Original Source

--description--

Within the body, provide a heading context for the content, by adding an h1 with the text Registration Form.

--hints--

You should add the h1 within the body.

js
assert.exists(document.querySelector('body > h1'));

You should give the h1 the text Registration Form.

js
assert.equal(document.querySelector('body > h1')?.textContent, 'Registration Form');

--seed--

--seed-contents--

html
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Registration Form</title>
    <link rel="stylesheet" href="styles.css" />
  </head>
--fcc-editable-region--
  <body>

  </body>
--fcc-editable-region--
</html>