Learn how to create a slider that compares two images.
Read on how to do it in this link: https://www.w3schools.com/howto/howto_js_image_comparison.asp
Image Comparison Slider
Move the blue slider to compare images:
Try it yourself here: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_image_compare