Created
March 22, 2023 23:03
-
-
Save fabio-filho/13f4d79c8c9b80a5119536252cd69d5e to your computer and use it in GitHub Desktop.
Mentoria - Boilerplate JS
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> | |
<body> | |
<button type="button" onclick="executar()">Executar</button> | |
<script> | |
function executar(){ | |
const produto = prompt("Digite o produto") | |
alert('O produto é: ' + produto) | |
} | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment