0
How to make a button which when clicked, displays a pop up? Please give me codes for it.
using HTML and CSS
9 odpowiedzi
+ 12
@Jits here you go
https://code.sololearn.com/W152eSgelFF5/?ref=app
+ 11
https://code.sololearn.com/W8T7TB0dC69w/?ref=app
+ 10
The function of JavaScript here is only to handle the toggle event, nothing else.
+ 4
Event trigger like button clicked have to be in JavaScript. HTML and CSS can't has logical function execution.
+ 1
it can't be done via html and css?
0
thank you Calvin, but I need to know some thing that although I don't have much knowledge about java script, can you tell what is the use of java script here?
0
thank you #00FF00, but pop up can't be done by only using html and css
0
thank you , so useful