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.