I completed the second challenge (Survey Form) with great effort and interest. I would appreciate any feedback. If you like it then hit the heart button or let me know in the comment section. It enheartens me. Here is the link to the Form:
Please let me know how good my code is So that I should work on it even more.
Congratulations! I really like how this looks!
I love that you used
<header>, which is an example of semantic html. Perhaps instead of using
<div class="container"> you could use its semantic html counterpart,
<section class="container">. This would make your page more accessible and increase its SEO!
Otherwise — great job!
Your form looks good @Wahab. Some thing for you to revisit;
- Keep the test script when forking the pen (
- The test script should be included, with all tests passing, when you submit your project.
- When using codepen it only expects the code you’d put within the
<body> </body> tags in HTML. (No need to include the body tags). For anything you want to add to
<head> click on the ‘Settings’ button, then HTML and add it into the ‘Stuff for <head>’ box.
- The link to your font would go in the box labeled ‘Stuff for <head>’
- Run your HTML code through the W3C validator.
- You don’t use the
legend element properly. Consider using it as a child of the
- Don’t use the
<br> element to force spacing. Use margin and/or padding in CSS.
Thanks a lot, I appreciate that you check my code and told me my mistakes
Oh these were not mistakes but areas for improvement! Don’t be so harsh to yourself — you’re doing a terrific job!
thanks for your kind words.