my problem is that when I run my project in visual studio 2017, it appears in the hello word browser and not the calculator that I programmed, I'm sure the code is right, just in case I show it, I tried to start a new project and paste it to the code but still in it.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title> Pagina Web SILV52 2017</title>
<style>
.body{
background-image: url("https://i.imgur.com/eNHFe8V.h}jpg");
background-position: center;
background-attachment:fixed;
}
</style>
<link rel="icon" href="c:\Users\joese\Documents\Icono\superthumb.ico" />
</head>
<body>
class="body">
<script type="text/javascript">
function suma() {
var num1, num2, total;
var resul;
num1 = number(document.getElementById("entrada1").value);
num1 = number(document.getElementById("entrada2").value);
total = num1 + num2;
resul = "@ Resultado: " + total;
document.getElementById("texto").innerHTML = result;
}
</script>
<style>
.texto {
font-size: 50px;
color: #fbf204;
text-align: center;
}
.texto2 {
background-color: #000000;
margin: 10px 470px;
border-style: inset;
text-align: center;
color: #00ff21;
padding: 35px 10px;
}
.texto3 {
color: #ffffff;
text-indent: 435px;
}
.texto4 {
color #ff0000;
text-align: center;
}
</style>
<p class="texto" SILV52 2017></p>
<h2 class="texto4">Pagina simple y sencillita para todos los pelotudos</h2>
<br />
<p class="texto3">Ingrese Número<input type="number" id="entrada1" /> /</p>
<p class="texto3">Ingrese Número<input type="number" id="entrada2" /> /</p>
<style>
.butto{
background-color: #4CAF50;
border: none;
color:white;
padding: 10px 32px;
text-align:center;
text-decoration: none;
display:inline-block;
margin: 10px 568px;
cursor: pointer;
}
</style>
<br />
<button class="butto" onclick="Sumnar()">Calcular</button>
<br />
<h2 class="texto2" id="teto"></h2>
</body>
</html>