+ 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

5th Jul 2018, 7:18 AM
Cyber5
Cyber5 - avatar
6 Answers
5th Jul 2018, 7:42 AM
Sad
Sad - avatar
+ 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
5th Jul 2018, 7:20 AM
Alexander Sokolov
Alexander Sokolov - avatar
+ 2
<button class="done_button" onclick="alert('Registration Success')">Register</button>
5th Jul 2018, 7:44 AM
CalviŐ˛
CalviŐ˛ - avatar
+ 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
5th Jul 2018, 7:51 AM
Cyber5
Cyber5 - avatar
0
Alexander Sokolov the problem doesn't seems to be e solved .. I got an error code
5th Jul 2018, 7:33 AM
Cyber5
Cyber5 - avatar
- 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
5th Jul 2018, 8:01 AM
Sad
Sad - avatar