Tell us what’s happening:
Can anyone tell me what’s happening here…
“1. You should give the first radio input the name attribute with a value of account-type.
2. You should give the second radio input the name attribute with a value of account-type.
// tests completed”
I tried everything i can do but still couldn’t solve this problem.
Your code so far
<!-- file: index.html -->
<!-- User Editable Region -->
<fieldset>
<label><input type="radio" name="account-type" />Personal Account</label>
<label><input type="radio" name="account-type" />Business Account</label>
</fieldset>
<!-- User Editable Region -->
<fieldset></fieldset>
<input type="submit" value="Submit" />
</form>
</body>
</html>
/* file: styles.css */
body {
width: 100%;
height: 100vh;
margin: 0;
background-color: #1b1b32;
color: #f5f6f7;
}
label {
display: block;
margin: 0.5rem 0;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0
Challenge Information:
Learn HTML Forms by Building a Registration Form - Step 27