Bom dia pessoal,
Como no meu trabalho é inviável ver vídeo aulas, em paralelo ao curso, estou seguindo o tutorial da mozilla de javascript no intuito de reforçar o aprendizado.
Tentei criar uma função básica e exibir uma mensagem no console, mas não consigo exibir.
Além disso o console não exibe erro.
Onde estou errando?
Agradeço a quem puder ajudar.
A seguir estão os códigos:
HTML:
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Basic function</title>
  </head>
  <body>
    <script src="intro.js" charset="utf-8"></script>
  </body>
</html>JS
function makePerson(first, last) {
  return {
    firt: first,
    last: last
  };
}
function personFullName(person) {
  return person.first + ' ' + person.last;
}
function personFullNameReversed(person) {
  return person.last + ' ' + person.first;
}
var p = makePerson('Michael', 'Jordan');
console.log(personFullName(p));
console.log(personFullNameReversed(p)); 
             
            