First Cetification Project Survey Form: would the platform accept the number of options I have, and one HTML syntax question

Hi guys how are you? So I am starting to work on the first certification project, ‘Survey form’… And I am deciding on the contents of my own survey form, as in, what the survey form will be about, so I can then concentrate on actually building it, and I have some questions for those of you who have already done it, so I find out if my code would pass if I had the number of options, in terms of dropdown menu options, checkboxes etc., that I’d like, to wind up with a coherent survey that would get the business in question relevant feedback on how they are doing by their customers. And I also have one HTML / syntax question about one of the user stories in there. So here goes:

User story no 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’: I would like four options in my dropdown menu: would FreeCodeCamp take four, for this exercise, or crash / not accept my code?

User story no 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’: same question as above: I would like five radio buttons here: is that too much for FreeCodeCamp to not crash as a result?

User story no 13, IT question: And maybe this is a silly question, but what I am unsure about is why, IT-wise, we are using a name attribute if we can talk about anything other than… well… names… (as I can understand why, in User Story 10, the name input field would be given an id for its label of

id="name-label"

but WHY are Radio buttons called ‘name’ here, and should this change the THEME of what our radio buttons are about???) It seems the sample project given by FreeCodeCamp there asked ‘Would you recommend FreeCodeCamp to a friend?’ with, as answers, ‘definitely’, ‘maybe’ or ‘not sure’… But I am wondering why we are using the name attribute, or is this something we always need to link all radio buttons together?

User story No 14: ‘Inside the form element, you can select several fields from a series of checkboxes, each of which must have a value attribute’: here I would like six checkboxes, but again, is that too much for FreeCodeCamp to accept my code? And also, seeing as my question here will be: ‘What services could we improve?’, could a customer who would be very unhappy with our business check all boxes to say they are unhappy with EVERYTHING we provide as a business? Just wondering if FreeCodeCamp will accept this…

Thank you very much for your help with my one pure IT question in there, and for letting me know if FreeCodeCamp would accept this many options, or this many options checked when it comes to the checkboxes, without crashing, otherwise I’ll change my survey in my draft before I start building it. Thank you so much! :slight_smile:

four is at least two, so yes you can use four options

five is at least two, so it’s a perfect number

the name attribute is used to group radio and checkboxes together, it doesn’t change the theme

again yes, six is fine

a group of checkboxes is made to have multiple checkboxes selected, if you want only one selected you would use radio buttons

2 Likes

Hello Ilenia and thank you so much for your reply! Yeah, I reckoned that if a number of options was more than two, it should be OK… But I still thought I’d ask, as I’d like to make a nice survey, so if anything I wanted for my survey could potentially crash FreeCodeCamp, it would just have been a matter of asking different questions on the survey so FreeCodeCamp wouldn’t crash. :slight_smile:

And thanks re what you are saying regarding the name attribute: I didn’t remember that at all and couldn’t find this in my notes. I guess I got confused with id tags where the tag usually describes whether something is a name, an email address etc.

Thank you so much for your reply! That way, I have my ‘what will my survey be about?’ out of the way, and I can now concentrate on the coding side of it and build it! Thank you so much Ilenia! :slight_smile:

And Ilenia, from my account on this forum, I can never reply to someone so the person is notified they have a reply, it only ever works second time round, so hopefully this comment will tag you. Thank you! :slight_smile:

Oh, and my previous post to you was apparently hidden, I got an email from this chatbot now… No idea why, I was merely thanking you. So if this isn’t clear because of the hidden post, thank you! :slight_smile:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.