Learn HTML Forms by Building a Registration Form-step 63

doubt
what’s wrong with this code? Why isnt it getting submitted?

can someone give the proper code to this???

I guess you didn’t use style attribute there

From the looks of it, nothing. But you see those squiggly red lines below everything? That means you have a problem. And since the code you are showing us is correct then the problem is most likely in another part of your code that you aren’t showing us. That is why you should always include all of your code, so we can help you find the problem.

My best guess is that you accidentally deleted the closing curly brace on the ruleset right above this one.

Also, don’t post pics of code. Paste the actual code in here instead. It is much easier to read and test with. To display your code in here you need to wrap it in triple back ticks. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key. You may also be able to use Ctrl+e to automatically give you the triple back ticks while you are typing in the this editor and the cursor is on a line by itself. Alternatively, with the cursor on a line by itself, you can use the </> button above the editor to add the triple back ticks.

Hi, was this supposed to be the answer?

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

The only required input to pass this question is to set the color property to the value of #dfdfe2.

The mistake is definitely somewhere else in the code. Are you having an issue with it?

1 Like

Yes, this was the answer to their specific problem. There was most likely a problem somewhere else that we couldn’t see because the OP didn’t give us all of their code.

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