An open API service indexing awesome lists of open source software.

https://github.com/ralitsataylor/fcc-survey-form

FCC: Build a Survey Form
https://github.com/ralitsataylor/fcc-survey-form

codepen-io css3 css3-flexbox css3-transitions firebase freecodecamp gh-pages html5 lighthouse-audits pagespeed-insights sass scss-files survey-form vanilla-js w3c-validator

Last synced: 10 months ago
JSON representation

FCC: Build a Survey Form

Awesome Lists containing this project

README

          

# ๐Ÿš€ FCC: Build a Survey Form

๐Ÿ“ [CodePen](https://codepen.io/ralitsataylor/pen/ZgbxGq/)
๐Ÿ”—[Live GitHub Preview](https://ralitsataylor.github.io/fcc-survey-form/)

๐ŸŽฏ FreeCodeCamp Requirements


![FreeCodeCamp](https://img.shields.io/badge/Freecodecamp-%23123.svg?&style=for-the-badge&logo=freecodecamp&logoColor=green/)

Responsive Web Design Projects - Build a Survey Form

Objective: Build an app that is functionally similar to https://codepen.io/freeCodeCamp/pen/VPaoNP. Do not copy this demo project.

Fulfill the below user stories and get all of the tests to pass. Give it your own personal style.

> You can use HTML, JavaScript, and CSS to complete this project. Plain CSS is recommended because that is what the lessons have covered so far and you should get some practice with plain CSS. You can use Bootstrap or SASS if you choose. Additional technologies (just for example jQuery, React, Angular, or Vue) are not recommended for this project, and using them is at your own risk. Other projects will give you a chance to work with different technology stacks like React. We will accept and try to fix all issue reports that use the suggested technology stack for this project. Happy coding!

๐Ÿ”  User Story #1: You should have a page title in an h1 element with an id of title.
โ„น๏ธ User Story #2: You should have a short explanation in a p element with an id of description.
๐Ÿ”ก User Story #3: You should have a form element with an id of survey-form.
๐Ÿ†” User Story #4: Inside the form element, you are required to enter your name in an input field that has an id of name and a type of text.
โœ‰๏ธ User Story #5: Inside the form element, you are required to enter your email in an input field that has an id of email.
โœ… User Story #6: If you enter an email that is not formatted correctly, you will see an HTML5 validation error.
๐Ÿ”ข User Story #7: Inside the form, you can enter a number in an input field that has an id of number.
โœ… User Story #8: The number input should not accept non-numbers, either by preventing you from typing them or by showing an HTML5 validation error (depending on your browser).
โŽ User Story #9: If you enter numbers outside the range of the number input, which are defined by the min and max attributes, you will see an HTML5 validation error.
๐Ÿ“ User Story #10: For the name, email, and number input fields, you can see corresponding label elements in the form, that describe the purpose of each field with the following ids: id="name-label", id="email-label", and id="number-label".
๐Ÿ“‡ User Story #11: For the name, email, and number input fields, you can see placeholder text that gives a description or instructions for each field.
๐Ÿ“ User Story #12: Inside the form element, you should have a select dropdown element with an id of dropdown and at least two options to choose from.
โœ๏ธ User Story #13: Inside the form element, you can select an option from a group of at least two radio buttons that are grouped using the name attribute.
โœŒ๏ธ User Story #14: Inside the form element, you can select several fields from a series of checkboxes, each of which must have a value attribute.
๐Ÿ’ฌ User Story #15: Inside the form element, you are presented with a textarea for additional comments.
โ–ถ๏ธ User Story #16: Inside the form element, you are presented with a button with id of submit to submit all the inputs.

You can build your project by forking this [CodePen pen](https://codepen.io/freeCodeCamp/pen/MJjpwO/).
Or you can use this CDN link to run the tests in any environment you like:
https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js.
Once you're done, submit the URL to your working project with all its tests passing.
Remember to use the [Read-Search-Ask](https://www.freecodecamp.org/forum/t/how-to-get-help-when-you-are-stuck/19514/) method if you get stuck.

๐Ÿ“ธ Screenshots

## ๐Ÿ–ฅ๏ธ Desktop preview:



๐Ÿ“ฑ Tablet Preview
๐Ÿ“ฑ Mobile Preview








# ๐Ÿ… W3C HTML Validator


# ๐Ÿ… W3C CSS Validator


# ๐ŸŒˆ Chrome LightHouse Audit

Desktop:


Mobile:


# โšก PageSpeed Insights Results

Desktop:


Mobile:


# ๐Ÿ› ๏ธ Built with:
![Visual Studio Code](https://img.shields.io/badge/Visual%20Studio%20Code-0078d7.svg?style=for-the-badge&logo=visual-studio-code&logoColor=white/)
Git icon ![Github Pages](https://img.shields.io/badge/github%20pages-121013?style=for-the-badge&logo=github&logoColor=white/)
![HTML5](https://img.shields.io/badge/html5-%23FFFFFF.svg?style=for-the-badge&logo=html5&logoColor=white/) ![CSS3](https://img.shields.io/badge/css3-%231572B6.svg?style=for-the-badge&logo=css3&logoColor=white/) Sass icon ![JavaScript](https://img.shields.io/badge/javascript-%23323330.svg?style=for-the-badge&logo=javascript&logoColor=%23F7DF1E/)
๐Ÿ”จ SCSS Files [Responsiveness, Transitions & Flex Layout]
โ›๏ธ [Google Font: Poppins](https://fonts.google.com/specimen/Poppins/)

# โœจ Features:
โœ… Netflix clone dark themed custom-built survey form layout
โœ… Custom styled focus states for dropdowns & textareas
โœ… Custom styled radio and checkboxes
โœ… Accessible form fields and labels
โœ… HTML5 Email validation + Regex
โœ… robots.txt
โœ… sitemap.xml
โœ… manifest.json
โœ… service-worker.js

# ๐Ÿงฐ Online tools:
![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white/) StackOverflow icon ![MDN Web Docs](https://img.shields.io/badge/MDN_Web_Docs-black?style=for-the-badge&logo=mdnwebdocs&logoColor=white/)
๐Ÿ“ƒ [survey generator](https://www.startquestion.com/survey-ideas/netflix-survey/)
๐Ÿ–ผ๏ธ [simple resizer](https://www.simpleimageresizer.com/resize/jpg/)
๐Ÿช„ [tinyjpg image compressor](tinyjpg.com/)
โญ [jpg-to-webp free converter](https://www.freeconvert.com/jpg-to-webp/)
๐ŸŒ  [almost perfect email regex](https://emailregex.com/)

# ๐ŸŒ Browser Support:
(Last updated and tested: 08/08/2025)
๐ŸŒŸ Chrome 139.0.7258.67 (64-bit)
๐ŸฆŠ Firefox 141.0.3 (64-bit)
๐Ÿดโ€โ˜ ๏ธ Opera 120.0.5543.161 (64-bit)
๐ŸชŸ Edge 139.0.3405.86 (64-bit)

# ๐Ÿงช Online Validators:
โœ”๏ธ [W3C HTML Validator](https://validator.w3.org/)
โœ”๏ธ [W3C CSS Validator](https://jigsaw.w3.org/css-validator/)
๐Ÿ’ก [LightHouse Audit](https://developers.google.com/web/tools/lighthouse/)
โšก [PageSpeed Insights Audit](https://pagespeed.web.dev/)

# ๐ŸŒŸ Inspiration & Credits:
๐ŸŽฅ https://netflix.com
๐Ÿ“ https://codepen.io/Mohaimenul123478/pen/GRdGWww
๐Ÿ“ https://codepen.io/taniyajohnson/pen/YzRyZmx
๐Ÿ“ https://codepen.io/Pulkit-Goyal/pen/NWmMpxN

---

๐Ÿ™Œ Thanks for checking out my project! More coming ๐Ÿ”œ.
Stay tuned ๐Ÿš€ and don't forget to give the project a star!
โญ Made with lots of ๐Ÿ’—, โ˜•, and a sprinkle of โœจ by Ralitsa Taylor!