function clickListener(event) { 
  event.preventDefault();
  
  let emailInput = document.querySelector('#email'); 
  let messageInput = document.querySelector('#message');

  let emailText = emailInput.value; 
  let messageText = messageInput.value;

  console.log('email:', emailText, 'message:', messageText);
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.