Learn Accessibility by Building a Quiz - Step 61

Please can someone help me out? I seem not to get where the problem is from with my CSS selector.

Step 61

Give the submit button a freeCodeCamp-style design, with the following CSS properties:

display: block;
margin: 40px auto;
width: 40%;
padding: 15px;
font-size: 23px;
background: #d0d0d5;
border: 3px solid #3b3b4f;

Test

Sorry, your code does not pass. Don’t give up.

Hint

You should use the button element selector.

button[type="submit"]
{
  display: block;
  margin: 40px auto;
  width: 40%;
  padding: 15px;
  font-size: 23px;
  background: #d0d0d5;
  border: 3px solid #3b3b4f;
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

Challenge: Learn Accessibility by Building a Quiz - Step 61

Link to the challenge:

The thing is: you have only one button in your HTML, you don’t need to specify type or other stuff in selector.

2 Likes

Really!
It worked. I think I need a break. Thank you.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.