Pricing Slider Using Sass and a bit of JavaScript

Solution retrospective
Hey guys. I think this project was a little too ambitious for me. I did learn a lot, but I'm sure I wrote some terrible and inefficient code. I would love to get any sort of feedback on things I could improve. The thing I found the hardest was the adaptive slider. I just used a basic switch for each value of the slider. But is their some other, more efficient way, to update the price, without having to use switch or basic if-else statements? Thanks.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Hamid Tahir'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