Onclick | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula gr√°tis
0

Onclick

How do I make it so I have a box and use the onclick function to make it so the screen changes to the content that the bubble is supposed to go to?

16th Nov 2017, 8:38 PM
Ole113
Ole113 - avatar
6 Respostas
+ 2
i 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
16th Nov 2017, 9:46 PM
Mukhtaar Aziz
Mukhtaar Aziz - avatar
+ 3
If I can see your code, I can give an answer.
16th Nov 2017, 8:51 PM
John Wells
John Wells - avatar
+ 3
provide a code sample please!
16th Nov 2017, 9:20 PM
Š†ĆŠ†ĆCode X
Š†ĆŠ†ĆCode X - avatar
16th Nov 2017, 9:55 PM
John Wells
John Wells - avatar
+ 1
Thanks Mukhaar I couldn‚Äôt find anything as simple as thatūüĎćūüŹĽ
16th Nov 2017, 9:59 PM
Ole113
Ole113 - avatar
0
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>
17th Nov 2017, 1:44 AM
Ole113
Ole113 - avatar