Estou estudando HTML, Javascript e jQuery e os exemplo que estou vendo, seria para executar esse código, mas não estou conseguindo. Alguém pode me dar uma ajuda. Debugando a página, não aparece nada no console.
<!DOCTYPE html>
<html>
<head>
<title>HTML jQuery</title>
<script type="text/javascript">
$(document).ready(function(){
$('#responder').on('click', function (event) {
alert('Luiz Fernando dos Santos');
event.preventDefault();
});
})
</script>
</head>
<body>
Nome: <input type="text"> <p>
<button id="responder">Enviar</button>
</body>
</html>