+ 1

Please help - button with popup not working

When I click on button, nothing happens. Here is code (little modificated by me but code is default): marquee bgcolor="orange" bahavior="slide" direction="right" width="100%">Hello!</marquee><br/> </body> <p>Write your name:↓↓</p> <button onclick="myFunction()"NICE!</button> <script> function myFunction() { var person = prompt("Please enter your nickname", ""); if (person != null) { document.getElementById("test").innerHTML = "Sending to " +

10th Aug 2017, 3:47 PM
Matrix 896
Matrix 896 - avatar
9 ответов
+ 1
Thank you again but I not wrote this code, I only copyed it
11th Aug 2017, 1:11 AM
Matrix 896
Matrix 896 - avatar
0
Show all your code please.
10th Aug 2017, 4:03 PM
Calviղ
Calviղ - avatar
0
Here is: <marquee bgcolor="orange" bahavior="slide" direction="right" width="100%">HELLO!</marquee><br/> </body> <p>↓↓Write your name:↓↓</p> <button onclick="myFunction()">SHOW</button> <script> function myFunction() { var person = prompt("Please enter your nickname", ""); if (person != null) { best!"; } } <scriptdocument.getElementById("test").innerHTML = "HELLO " + person + "You are >
10th Aug 2017, 4:31 PM
Matrix 896
Matrix 896 - avatar
0
There are a few syntax errors in your code... the errors are obvious, could be your typing or cut and paste errors.
10th Aug 2017, 4:38 PM
Calviղ
Calviղ - avatar
0
Can you fix it sir? Please
10th Aug 2017, 4:39 PM
Matrix 896
Matrix 896 - avatar
0
If you actually writing this code, you should be able to fix the syntax error...
10th Aug 2017, 4:41 PM
Calviղ
Calviղ - avatar
10th Aug 2017, 4:49 PM
Calviղ
Calviղ - avatar
0
thank you very much mr. hacker
10th Aug 2017, 4:57 PM
Matrix 896
Matrix 896 - avatar
0
I can see that 😂😁
11th Aug 2017, 1:12 AM
Calviղ
Calviղ - avatar