@janegca
Posted
Hi, I used the suggestion in this Stackoverflow thread to show/hide the word ‘discount’, it worked well.
In your JS, both the slider event listeners are doing essentially the same thing so you could extract the code and create an ‘update(value)’ function that both could call, would make the code a little more compact.
Hope that’s of some help. Nice job overall. Happy coding.
@TrashAlphonse
Posted
@janegca Thanks for the hint, will try this out :)