Learn HTML Forms by Building a Registration Form Step 53

This is the instruction:

Step 53

To make the input and textarea elements blend in with the background theme, set their background-color to #0a0a23. Then, give them a 1px, solid border with a color of #0a0a23.

I did this:

input, textarea {
background-color: #0a0a23;
border: 1px solid #0a0a23;

but when I check my code I get:


Sorry, your code does not pass. Try again.


You should use a comma separated element selector to select the input and textarea elements.

whats wrong with my code?

1 Like

Please include a link to the challenge next time…

Your solution as quoted here works from my end. Please try one of the following steps to move forward.

Click on the “Restart Step” button and force a refresh of your page with CTRL + F5 then try to paste the code in again.

or - Try the step in incognito or private mode.

or - Disable any/all extensions that interface with the freeCodeCamp website (such as Dark Mode, Ad Blockers, or Spellcheckers), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously.

or - Ensure your browser is up-to-date or try a different browser.

I hope one of these will work for you.

Based on the code you posted, it passed on my end.
Next time, please create a help post with the link to the challenge. Thanks!

Many Thanks, I was stucked and the solution was just to open in another browser…
It’s my first post in the help forum

Thanks again

1 Like

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