+ 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 " +
9 Respuestas
+ 1
Thank you again but I not wrote this code, I only copyed it
0
Show all your code please.
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 >
0
There are a few syntax errors in your code... the errors are obvious, could be your typing or cut and paste errors.
0
Can you fix it sir? Please
0
If you actually writing this code, you should be able to fix the syntax error...
0
Here you go...
https://code.sololearn.com/W1Ag3w2b98Kx/?ref=app
0
thank you very much mr. hacker
0
I can see that 😂😁