This step seems legitimately broken?
Challenge: Learn HTML Forms by Building a Registration Form - Step 55
Link to the challenge:
" Step 55
To style the submit button, you can use an attribute selector, which selects an element based on the given attribute value. Here is an example:
input[name="password"]
The above selects input
elements with a name
attribute value of password
.
Now, use the attribute selector to style the submit button with a display
of block
, and a width
of 60%
."
My code is this:
input[type="submit"] {
display: block;
width: 60%;
}
which is how attribute selectors work – I’m getting red squiggle on the opening square bracket and then throughout as well, and it keeps saying my code is wrong. I have also tried using a name=“submit” instead of type