+ 1
How can I create a pop up window
I'm new to JavaScript. I would like to create a pop-up window which will come up after clicking the register button here is the code link 👇 https://code.sololearn.com/WbKWfh3GLzer/?ref=app
6 ответов
0
Cyber5
https://code.sololearn.com/Wi6u8lUtxIo7/?ref=app
Just needed semicolon
+ 7
Hello, Cyber5 !
Try this value ↓↓↓
<button class="done_button" onclick="alert('Registration Success')">Register</button>
https://www.sololearn.com/learn/JavaScript/1149/?ref=app
+ 2
<button class="done_button" onclick="alert('Registration Success')">Register</button>
+ 2
Tom
thanks man
one more thing. the background image I used is in my local storage.. how can I make it appear in the app. as SoloLearn doesn't access my local storage
0
Alexander Sokolov the problem doesn't seems to be e
solved .. I got an error code
- 1
Cyber5
Upload that image on postimage.org (does not need registration)
then links will appear. Copy one of them and paste in your code