Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 2.38 KB

README.md

File metadata and controls

26 lines (22 loc) · 2.38 KB

html5-survey-form

An HTML5 validated survey for freecodecamp.org Responsive Web Design Project

A working example can be found here on CodePen
  1. User Story #1: I can see a title with id="title" in H1 sized text.
  2. User Story #2: I can see a short explanation with id="description" in P sized text.
  3. User Story #3: I can see a form with id="survey-form".
  4. User Story #4: Inside the form element, I am required to enter my name in a field with id="name".*
  5. User Story #5: Inside the form element, I am required to enter an email in a field with id="email".
  6. User Story #6: If I enter an email that is not formatted correctly, I will see an HTML5 validation error.
  7. User Story #7: Inside the form, I can enter a number in a field with id="number".
  8. User Story #8: If I enter non-numbers in the number input, I will see an HTML5 validation error.
  9. User Story #9: If I enter numbers outside the range of the number input, I will see an HTML5 validation error.
  10. User Story #10: For the name, email, and number input fields inside the form I can see corresponding labels that describe the purpose of each field with the following ids: id="name-label", id="email-label", and id="number-label".
  11. User Story #11: For the name, email, and number input fields, I can see placeholder text that gives me a description or instructions for each field.
  12. User Story #12: Inside the form element, I can select an option from a dropdown that has a corresponding id="dropdown".
  13. User Story #13: Inside the form element, I can select a field from one or more groups of radio buttons. Each group should be grouped using the name attribute.
  14. User Story #14: Inside the form element, I can select several fields from a series of checkboxes, each of which must have a value attribute.
  15. User Story #15: Inside the form element, I am presented with a textarea at the end for additional comments.
  16. User Story #16: Inside the form element, I am presented with a button with id="submit" to submit all my inputs.

The testing file to validate the project can be found at https://gitcdn.link/repo/freeCodeCamp/testable-projects-fcc/master/build/bundle.js

Thanks feel free to contact me on Twitter @PeteCapeCod Or check out my Github profile page 😎 👍