Need help with anchor tags within the same page linking 2 images

How do I link the purple box to the blue box upon clicking it within the same page?

Please privide code as i have spent 6 hours trying to figure this out

Purple box source…

https://img1.wsimg.com/isteam/ip/833d16d8-0d51-4968-8e7c-565075ae8d00/Purple.png/:/rs=h:650,cg:true,m

Blue box source…
https://img1.wsimg.com/isteam/ip/833d16d8-0d51-4968-8e7c-565075ae8d00/Blue.png/:/rs=h:650,cg:true,m

check this one https://jsfiddle.net/rp8wd21k/

but i think that what you asked for in the other post

hope that help and have a nice day :slight_smile: