I passed Step 18 but was curious as to why there is no opening input element and why the id is put into the closing tag.
We would need to see tour code to know what you mean. You can use the format button that looks like </> and paste your code between the lines it gives you
<fieldset>
<label for="first-name">Enter Your First Name: <input id="first-name"/></label>
<label for="last-name">Enter Your Last Name: <input id="last-name"/></label>
<label for="email">Enter Your Email: <input id="email"/></label>
<label for="new-password">Create a New Password: <input id="new-password"/></label>
</fieldset>[quote="Cody_Biggs, post:2, topic:608214, full:true"]
We would need to see tour code to know what you mean. You can use the format button that looks like </> and paste your code between the lines it gives you
[/quote]
this was the code. There isn’t an opening input element only a closing one and i had to put the id in the closing input element. When usually in the other steps i had to put it into the opening input element
Can you explain what you mean by the closing input? An input is a self closing element, meaning its never going to have this like other elements do.
<input></input>
An input is only going to have the one tag
<input type=“text”>
You can close an input like this. Or you can do what I have above, but its the same thing. There is no opening and closing tag of an input like other elements
<input type=“text”/>
Ooooh i see ok that makes more sense now. So it’s self closing that makes a lot more sense. Thank you!
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.