Created
July 9, 2020 18:15
-
-
Save gabizinha12/98eeda5e8964c0223511f3598c5523ae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="pt-BR"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link rel="stylesheet" href="style.css"> | |
<title>Contador de passos</title> | |
</head> | |
<body> | |
<header> | |
<h1>Vamos contar</h1> | |
</header> | |
<section> | |
<div id="dados"> | |
<p>Início: <input type="number" name="inicio" id="txti" placeholder="Digite o número inicial"></p> | |
<p> Fim:<input type="number" name="fim" id="txtf" placeholder="Digite o número final"></p> | |
<p> Pular: <input type="number" name="passo" id="txtp" placeholder="Digite o número para pular"></p> | |
<input type="button" value="Contar" onclick="contar()"> | |
</div> | |
<div id="res"> | |
Iniciando contagem... | |
</div> | |
</section> | |
<footer> | |
<p>© CursoemVideo</p> | |
</footer> | |
<script src="main.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment