i’ve uploaded the code on codepen (even if there now it looks more “broken” then on freecodecamp lol).
thank you for telling me that.
so, maybe it’s not “disabled” what i need.
i just want the first option for be a placeholder for the dropdown selection, but want it to be non-clickable once the dropdown is open.
do i make sense?
Sure. That is the placeholder attribute. (And you can use that attribute with disabled and selected initially I think). Reference: HTML input placeholder Attribute
I will take a look at codepen at some point today. You may want to make sure you set up the specific pen to pull in whatever resources it needs to work.
And for the last part of your question, I believe you need to make the text of the inputs line up on the left (with less space between the radio button and the related word). For this, try moving the label element so it is on the right-hand-side of the input element (at the moment you have input nested inside label). Then following that (when the label is on right such that the text is the only thing nested in it), set the “for” attribute inside the label to point to the specific “id “ attribute of the relative input box (so create a unique id for each input box to manage that). Alternatively, you can set the width of the labels (without changing any html) to something like “fit-content” and I believe that will shrink them down.
i’m unable to style those two.
neither of your advice seemed to work, unless it was me doing something wrong.
if someone could join in it would be great,otherwise i thinki’ve already spent enough time on that.
You don’t have to make the .tick into 45% as that would make the tick box block element wide.
I know what you are trying to do here: Inputs and Texts are by default an inline element and by making the .tick box wide it pushes the next item down the line.
However this can also be done using <br> as folllows:
that was great!
thank you very much for your help and clarifications.
i’ve actually learnt (better) a couple of things through this.
sending you much love and solidarity.