Hello, Glen! 👋
Good effort on this challenge! Congrats on submitting another solution. I can't help with React but here's my few tips:
- Your
.toggle round
circle is a little bit off. Change your '.toggle::before' width and height to be 16px and on yourinput:checked
change transform totransform: translateX(20px)
; - I can't change slider value using just my keyboard. There's animation on
range-thumb
but nothing happen. - Add
:focus
pseudo class to interactive elements like anchors, buttons etc. Useoutline
property to make your website more accessible to keyboard users. Focusable elements like anchor, buttons or inputs they have applied default:focus
pseudo class withoutline
property. These default styles are subtle and hardly visible tho. Furthermore every browser has a slightly different default style for the outline, so you probably want to change the default style. Read more about why we should change focus styles.
Good luck with that, have fun coding! 💪
@GlenOttley
Posted
@tediko great tips thankyou! Will take another look at all of this tomorrow!