Okay, so, I want to add text like I did in the html with the <p> tags, But I have no idea how to get text into a function in JavaScript. I want to put text above each if statement, how?
My code:
<html>
<head>
<style>
body {margin-top:50px;}
</style>
</head>
<body>
<center>
<p>2 + 2 =?</p>...