first project here using JS

Solution retrospective
i used js to change the Price and Pageviews, but i couldn't figure out why when the page loads i cant change it only if i check the checkbox. only after i touch the range thumb the checkbox toggle works.
so i used a probably bad practice to change it only when reloading, but i would like to know what is the best way to do that.
if you have more comments on the code let me know. thanks!
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Tomer Bourstein'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