text: var modal = document.getElementById('modal');
  
  var modalBtn = document.getElementById('modalBtn');
  
  var closeBtn = document.getElementById('closeButton');
  
  
  
  modalBtn.addEventListener('click', openModal);
  
  closeBtn.addEventListener('click', closeModal);
  
  window.addEventListener('click', clickOutside);
  
  
  function openModal() {
  	modal.style.display = 'block';
  }
  
  function closeModal() {
  	modal.style.display = 'none';
  }
  
  function clickOutside(e) {
  	if (e.target == modal) {
  		modal.style.display = 'none';
  	}
  	
  }