6 Answers
New Answeri don't understand what you need but take this example : there is a div and we need to change it content using onclick https://code.sololearn.com/W95ucU69RUBy
It worked perfectly for me. https://drive.google.com/file/d/13XDcCSIH40xRzE0N8TZwjUWoEKr-5bCW/view?usp=drivesdk
Heres the code <!DOCTYPE html> <html> <head> <button class="btn about">About</button> <button class="btn socialmedia">Social Media</button></button> <button class="btn profile">Profile</button> <button class="btn contact">Contact</button> <button class="btn homepage">Homepage</button>
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message