Message from JavaScript discussions

March 2019

— Lol


Hi, i'm just starting in this programming stuff, could you help me finding out why this won't show in my web browser?

— L

— K

— <html>
<script languaje="javascript">
var contador=0;
while (contador<10){
document.write(“esta es la vuelta numero”+contador+”<br>”);

Message permanent page

— Well, first of all ist language not languaje

— Then I think you need to use document.writeln()

— Dammit

— XD

— But...this one works:

— Although it contains a "head" end line

— It works both ways, languaje or language. What the hell?