Is my survey form enough to submit now?

https://codepen.io/Huma-Arzoo/pen/jOWeoPr

it passes all tests in the test suite so yes its enough …

Your form looks good @Arzo. Some things to revisit;

  • Codepen provides the boilerplate for you. It only expects the code you’d put within the body element in HTML. (No need to include the body tags). For anything you want to add to the <head> element click on the ‘Settings’ button, then HTML and add it into the ‘Stuff for <head>’ box.
    • For instance, the meta element belongs in the head element.
  • Run your HTML code through the W3C validator.
    • Since copy/paste from codepen you can ignore the first warning and first two errors.
    • There are HTML coding errors you should be aware of and address.
  • Don’t use <br> to force line breaks or spacing. That’s what CSS is for.
1 Like

Thanks Dear Roma :slight_smile: <3

Dear Roma, i did’t understand how it will work , i try it w3c , but did’t get any sollution, what are you trying to explain me . :frowning:

I’m not sure what you mean. Click on the link for W3C and then copy your HTML code, paste it into the window and click ‘check’.
Notice the ‘validate by direct input’ tab is selected. There’s a blinking cursor where you’ll drop your HTML code and then there’s a big ‘check’ button. After clicking it, scroll down to see results and correct as needed.

1 Like

The page looks good, but you have a horizontal scroll bar which isn’t good practice. You can get rid of that with

overflow-x: hidden

in your CSS :slightly_smiling_face: