Trouble with FCC Survey Form

Hello again, everyone!

I am running into an error in my Survey Form project and I’m hoping that one of you will be so kind as to help me understand what I’m missing. Feedback of any variety is most welcome but I’m particularly interested in what I’m doing wrong with my checkboxes.

Looking forward to your feedback!

1 Like

regarding your checkboxes - I’m guessing you are concerned that they do not align horizontally with other form content? Well, you placed your checkboxes inside an ul element. The <ul> element has browser inherent padding and margin by default. Set your ul's padding and margin to 0.

1 Like

I liked the form, but I think it would be easier to help if you commented on what the problem happened.

Congratulations for the project.

1 Like

Thank you very much for this insight. This was my most recent attempt at getting around an error that I receive when I test the page and I had overlooked the fix to that additional issue created by my attempted fix! :rofl:

The error that I’m running into is this: 14. Inside the form element, I can select several fields from a series of checkboxes, each of which must have a value attribute.

The first line of the report states:All your checkboxes must have a value attribute : expected 4 to equal 3

Thank you very much for your response!

The error that I’m running into is this: 14. Inside the form element, I can select several fields from a series of checkboxes, each of which must have a value attribute.

The first line of the report states:All your checkboxes must have a value attribute : expected 4 to equal 3

inspect closely line 62 of your html file (hint: you are missing a closing quote)

1 Like

OK by parsing your code located in the following errors:

The classes rightColumn (1) checkbox (4) are used in the HTML but not found in any stylesheet.
The 'cols' attribute is required for <textarea> elements.
The 'rows' attribute is required for <textarea> elements.
'minlength' is not a valid attribute of the <textarea> element.
The id 'amberQuestion' appears more than once in the document.

Congratulations for the job.

1 Like

Thank you so much for this breakdown! This is exactly what I need.

Much appreciated!

I have digested the feedback you were both so generous to share and cleaned up my code a great deal. Thank you again!