Design comparison
SolutionDesign
Solution retrospective
I don't know how to change thumb slider color when grab it Please show me the way if you know
Community feedback
- @pikapikamartPosted almost 3 years ago
Hey, awesome work on this one. Desktop layout looks great, it is responsive and the mobile state looks great as well.
Some suggestions would be:
- For the thumb slider, you could use something like:
input::-webkit-slider-thumb:active {}
Selector to target the slider-thumb and applying styling when it is active or when it is being clicked/dragged.
- Using
form
to for the.card
selector would be great since this layout serves as aform
to submit those data, hence it hasstart my trial
. - Do not remove the
outline
styling. If you did, always include a visual-indicator on the:focus-visible
for those interactive elements like thebutton
a
tag and others. Try to navigate usingtab
key on your site, you won't be able to know where you are at. - When wrapping up a text-content, make sure that it is inside a meaningful element like
p
tag or heading tag and not using likediv, span
to wrap the text. - Also, the slider
input
currently lacks alabel
on it or anaria-label
describing what thatinput
does. - You should have used radio buttons for the toggle. Those text besides the middle one, the "monthly" and "yearly" are
label
for each of their own radio button. Have a look at this solution of mine on this challenge . This is an old solution but the markup seems fine I guess :> - The
start my trial
button
should havetype="submit"
since on a real site, that would submit the form.
Aside from those, great job again on this one.
Marked as helpful1 - @JimmyHoang296Posted almost 3 years ago
thank you so much, you always give the best instruction
1
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord