* chore(curriculum): accessibility-quiz * chore(curriculum): cafe-menu * chore(curriculum): ferris-wheel * chore(curriculum): fix ferris-wheel tests * chore(curriculum): colored-markers * chore(curriculum): photo-gallery * chore(curriculum): magazine * chore(curriculum): penguin * chore(curriculum): city-skyline * chore(curriculum): registration-form * chore(curriculum): picasso-painting * chore(curriculum): balance-sheet * chore(curriculum): piano * chore(curriculum): rothko-painting * fix: title min 15 chars
1.3 KiB
1.3 KiB
id, title, challengeType, dashedName
id | title | challengeType | dashedName |
---|---|---|---|
60f5c3e399ff1a05629964e4 | Step 10 | 0 | step-10 |
--description--
As suggested by the title, you are creating a form. So, after the p
element, insert a form
with an action
attribute targeting https://fcc-registration-form.com
.
--hints--
You should add a form
element adjacent the p
element.
assert.exists(document.querySelector('p + form'));
You should give the form
an action
attribute.
// Default action points to window location
assert.notEqual(document.querySelector('form')?.action, window?.location?.href);
You should give the action
a value of https://fcc-registration-form.com
.
// TODO: Do we need to use an in-house (domain) URL - just-in-case
assert.equal(document.querySelector('form')?.action, 'https://fcc-registration-form.com/');
--seed--
--seed-contents--
<!DOCTYPE html>
<html>
<head>
<title>Registration Form</title>
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
--fcc-editable-region--
<body>
<h1>Registration Form</h1>
<p>Please fill out this form with the required information</p>
</body>
--fcc-editable-region--
</html>
body {
width: 100%;
height: 100vh;
margin: 0;
background-color: #1b1b32;
color: #f5f6f7;
}