My survey form - how it is?

https://codepen.io/goyalanisha17/full/BaLYKvo

1 Like

Your tests are ok, congratulations!!!
Regarding the observation, in the html the indentation does not need to be well defined but it’s a good practce to make it more readable. As for CSS it could explore more and structure it better, it’s input fields could be more prominent in it’s form.
The @media, you can add more classes and selectors to them e.g:

@media (max-width:500px)
{
  h1{
    font-size:2rem;
  }
   #description{
    font-size:0.8rem;
  }
}

The dimensions of yor max-width @medias are also with short differences oof 500px and 550px, have to analyze whether it is really necessary.
A car for details, the color of your title is confused with background to be read ( they have ‘similar tons’ ).

1 Like

Your form looks good @anishagoyal9717. 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.
    • There is actually a button to press that adds that meta tag
  • Run your HTML code through the W3C validator.
    • There are HTML coding errors you should be aware of and address.
    • Since copy/paste from codepen you can ignore the first warning and first two errors.
  • Change the cursor to a pointer when hovering over the submit button
  • Do not use the <br> element to force line breaks or spacing. That’s what CSS is for.
1 Like

thank u for response - i will remember all this thing for next time

1 Like

thnk u for ur response - i will remember all this thing for next time