Submitted almost 2 years ago
Responsive price cards components with a toggle switch.
@Jumanjigobez
Design comparison
SolutionDesign
Solution retrospective
Hey there :),
The toggle switch was the lovely part I learned, but I tried all my best with css only like input:checked[type="checkbox"] + .annual_price{ display: none; }
to change the prices when checked and unchecked,
It didn't work so I just used few lines of code in the script tag.
I would love if I can get a suggestion with my code and I will really appreciate.
Thanks for Viewing, liking and also trying to give feedback.
#HaveANiceDayCoding
Community feedback
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