empty page problem

+1 Diego Mc · August 14, 2015
I wrote the code:
/images/forum/upload/2015-08-14/c02b5e19f9561e6a00061593ea472b9f.PNG
opened it on several browsers, in all of them the page was empty (instead of writing 2 as it should have)
can someone explain why? (sorry for bad English)

Post a Reply

Replies

Oldest  Newest  Rating
0 c student · August 14, 2015
your error is shown within the red lines on the left hand side
document.write ("hello");
+2 Erp Eight · August 14, 2015
hey thats
document.write(hello);


instead of
document.wtite(hello);
0 Diego Mc · August 14, 2015
I wasn't trying to write a string I wanted to call the variable named "hello" on the top.
Thanks anyway:)
+1 Diego Mc · August 14, 2015
I can't believe I haven't noticed lol
Thanks :)
0 c student · August 15, 2015
oh right, didnt see that... what a strange variable name
0 Brotsky Tv · September 8, 2015
hey there !

Check out there more Javascript video tutorials, might that help you out !

https://www.brotsky.tv/category/javascript/
  • 1

Javascript

107,350 followers
About

A scripting language that is added to standard HTML to create interactive effects, apps, games for the browser.

Links
Moderators