Skip to content

Instantly share code, notes, and snippets.

@winexe0
Created March 18, 2020 20:39
Show Gist options
  • Select an option

  • Save winexe0/3f79716a0925911bd4e34fba6f5106b0 to your computer and use it in GitHub Desktop.

Select an option

Save winexe0/3f79716a0925911bd4e34fba6f5106b0 to your computer and use it in GitHub Desktop.
Your math solving webpage
<head id=math>"Your math solving webpage" </head>
<button onclick="get()">Get the helper</button>
function get () {
var num1 prompt("What is your first number");
var num2 prompt("What is your second number") ;
var symol prompt("Whould you like to multipy, add, divide, or subtract. Remember to tell to by + - * /");
document.write(num1 symol num2);
}
#math{
font-family: "Arial";
font-size:60pt;
text-align: center;
color: black
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment