This is driving me mad! Here is the task
Step 56
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%
.
Here is what I’ve done
input[type=“submit”] {
display: block;
width: 60%;
}
It won’t accept it but I’ve skipped ahead in the task and it seems to use this same code. Any ideas? Have I missed something?
hbar1st
November 23, 2022, 10:38pm
2
please post a link to the challenge.
Also post all your code, not just a snippet.
Raustal
December 16, 2022, 3:56am
3
Any update on this? It seems to be the same problem for me. Thanks.
kai1
December 16, 2022, 3:58am
4
May you show your code so far?
I signed in on a private window and it accepted the same code
acb1
December 29, 2022, 5:20am
6
I had typed the same thing and it wasn’t accepting it. I was checking carefully, retyping stuff. I retyped the type=“submit” part inside the brackets and then my “submit” became brownish color like “password” in your example of the problem above, it wasn’t before. A glitch? Then it was accepted.
system
Closed
June 29, 2023, 5:20pm
7
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.