<!DOCTYPE html>
<html>
<head>
<title>Assignment 1</title>
<meta charset="utf-8">
</head>
<body>
<div id="mathProblem">
<!-- leave this div empty!-->
</div>
<script>
var myDiv = document.getElementById("mathProblem");
//let x = Math.round(math.random() *10);
let y = Math.round(math.random() *10);
function myFunction(x,y){
return x-y;
};
// Q: Jamie makes 5 cupcakes and eats 3 of them. How many cupcakes are left? A: 2 !
myDiv.innerHTML = "mathProblem";
</script>
</body>
</html>