+ 1

HTML

Hi SoloLearn ! I was wondering how to create a div with some text there, and when I click on that text (it is an anchor) it shows some text or images in another div of the same website. E.g: Header Zone1 zone2 Footer So when I click on some text that is in Zone 1 it will shoe an image in Zone 2. Have a great day!

15th Mar 2019, 12:22 PM
Stefan Secrieru
Stefan Secrieru - avatar
1 Answer
+ 7
Check my code i use this in code, you need to set id inside of div and call wia # in anchor. Ex id="zone2", href="#zone2" https://code.sololearn.com/WjrDT17XcItW/?ref=app
15th Mar 2019, 2:06 PM
PanicS
PanicS - avatar