@ApplePieGiraffe
Posted
Hey, AlexMagargiu! π
Well done on this challenge! π I think you did a good job on the styling and your solution looks good! π
I would suggest leaving the alt
text for the icon and maybe even illustration in this challenge empty, since they aren't relevant to the content of the page and we don't really want them to be noticed and read by screen readers.
And a small tip for your JSβrather than call getValue
inside of switchDisplay
, you can call switchDisplay
inside of getValue
if the user has selected an option. This will make your code slightly easier to follow and you won't have to bother with returning a boolean from getValue
. π
Keep practicing and with time you'll find better and better solutions to problems you encounter. π
Hope you find this helpful. π
Keep coding (and happy coding, too)! π