Help with the survey form

Tell us what’s happening:
I can´t get the radio input to work: It won’t show the radio buttons and if I don’t use CSS to align the section it would be automatically displayed to the right, contrary to the rules I’ve set form the form as a whole.

Your code so far
https://codepen.io/luis-ignacio-palacios-degwitz/pen/jOBabMX

Your browser information:
Chrome: Version 90.0.4430.212

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36

Challenge: Build a Survey Form

Link to the challenge:

Hello,
I hope you are well.
I have looked through your code and I think the problem is with the styling of the “input” element.

→ input{
width:60%;
height:50%;
margin:10px 0px 20px 0px;
}
replace your piece of code with this code:

input{
display: block;
} and then add some more styling as you wish.
You can read more about the use of the display tool via this link CSS Layout - The display Property

Thank you so much for your quick and effective answer!

1 Like

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