Interactive pricing component

Solution retrospective
I would be grateful if anyone could tell me how I can write this in less lines and get rid of some of IF statements in my code.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Mahdi Karimian's solution.
Join 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