I would like to write the console.log output to a div layer.
document.write(console.log(5+1)); //Incorrect, random example
Can someone give me a solution to my problem?
what i meant is, for example:
and it shows the output "hi" on the screen.
Note: An example: http://labs.codecademy.com/#:workspace