Within each corresponding label element, and immediately after the input element, add a space and add the following text:
Personal Account
Business Account
I accept the terms and conditions
The error I’m getting is that I need to put a space in front of the label, in which I have done, I’m lost. The other forums seem to be on a different step? Maybe from Legacy. Either that or I missed a few steps … Someone help :‘( :’(
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Registration Form</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<h1>Registration Form</h1>
<p>Please fill out this form with the required information</p>
<form method="post" action='https://register-demo.freecodecamp.org'>
<fieldset>
<label for="first-name">Enter Your First Name: <input id="first-name" type="text" required /></label>
<label for="last-name">Enter Your Last Name: <input id="last-name" type="text" required /></label>
<label for="email">Enter Your Email: <input id="email" type="email" required /></label>
<label for="new-password">Create a New Password: <input id="new-password" type="password" pattern="[a-z0-5]{8,}" required /></label>
</fieldset>
<fieldset>
<label> Personal Account<input Personal Account type="radio" /></label>
<label> Business Account <input Business Account type="radio" /></label>
<label> I accept the terms and conditions <input I accept the terms and conditions type="checkbox" required /></label>
</fieldset>
<fieldset></fieldset>
<input type="submit" value="Submit" />
</form>
</body>
</html>
It is hard don’t give the solution and trying to help sometimes, don’t get it wrong.
What I have also meant is spaces are like letters for the browser parser. Sometimes I forget give or remove spaces when I use span elements, for example. Not easy to see that.
not yet, i’m playing on here while working and it got crazy busy out of nowhere. I will def give you the solution point if I can get it. It just may not get figured out til i’m off shift.
So how i’m reading it, it’s doing really funky stuff to the project so I’m clearly not understanding. It is hard to explain these things without giving the answers so I get it.
Sorry, my bad, I thought you got it. This is your problem:
Within each corresponding label element, and immediately after the input element, add a space and add the following text:
Personal Account
Business Account
I accept the terms and conditions
<input /> Sentence
I recommend you always copy and paste sentence, only the hightlighted part(be careful with spaces or dots)
Do you see your error now?
To learn this is really important just focus in the code and reading, because is so easy to get a error if you miss something in the instructions or code…
I glad you could make it, but really if you cannot do it just ask again.
Anyway sometimes we need just a break for our code, take some distance and when we back THERE IS the solution!
When you just start doing this, baby steps is the speed you want, take your time reading ALL the code, search for those elements you dont understand in MDN for example and even try to break things, testing those elements and CSS properties… Even speaking with someone who doesn’t understand what are you doing helps to understand the question/challenge/problem, that is the most important part to solve something, understand it well first!
Happy coding and ask as much you need!!! A lot of people in this community helping.
Oh i read it like 100 times. I just didn’t understand what it was asking me to do. Ultimately I ended looking up other online sources. Sometimes it just takes a different way of explaining something for people to get stuff.
I came looking for this. Thank you! My problem was (apart from misinterpreting that you explained well ) that the suggestion said “You must give the text of the first label a space at the beginning of the text.”, when the problem was not that, but that I was putting it after and not after . . It has happened to me several times that the only thing that the suggestion does is confuse. But it will be a good practice to read back the prompt instead of rereading the suggestion