Hi guys, just a quick question about a line break in JavaScript, where would I do it? If you see I have two math operators here and want them to be on two separate lines, were do I put the line break?
Thanks
Code:
<!doctype html>
<head>
</head>
<body>
<script type="text/javascript">
var apples = 4+76;
document.write(apples);
var multiple = 54*11;
document.write(multiple);
</script>
</body>
</html>
I am fine with "document.write" if you are a real beginner. But you should get rid off that as soon as possible and use the proper DOM manipulation methods instead