Submitted over 3 years ago
Interactive Pricing Component completed using HTML,CSS flexbox and JS
@JulianIfesiokwu
Design comparison
SolutionDesign
Solution retrospective
Please I am having problems with the JS, specifically the checkbox button, any help is needed
Community feedback
- @palgrammingPosted over 3 years ago
well just the styling of the checkbox button or the fact that every time you click and un-click it the price keeps dropping
I took math out of the equation and just mad an object with all the page views and prices in it
let pageviewData = { 1000: [ 8, 6], 2000: [10, 7.50], 3000: [12, 9] }
this way you just reference the data already created to update your page and you take all the Math out of your solution
0
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