+ 1
Why it is not working in solo learn text editor?
<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <script type="text/javascript"> var x = 1; document.write("x"); </script> </body> </html>
4 Réponses
+ 3
Hi there!
Are you trying to out value of X?
Use
document.write(x);
instead
document.write("x");
Have a nice day
0
Okay I'll try
0
Thanks! Now it is working!
0
☺