0
Js problem
What should i do with this error (Unexpected token "<")
8 Respostas
+ 1
Ftm Bo just check the tags in your code. It should be a typing error.
0
Post your code
0
<html>
<head> </head>
<body>
<script>
document.write("<h1>Hello World!</h1>");
</script>
</body>
</html>
0
You have a line break after backslash. You must delete it and put everything on one line.
<html>
<head> </head>
<body>
<script>
document.write("<h1>Hello World!<h1>");
</script>
</body>
</html>
0
Even without that line break it errors to me
0
Are you sure? works fine for me.
0
Yes I'm sure
In this app it errors
Maybe it's a bug, isn't it?
0
Ftm Bo Your program have no errors. Where are write that?
Paste the code in html page section and run..