text: const button = document.getElementById('button')
  
  button.addEventListener('click', (event) => {
      event.preventDefault()
  
      const email = document.getElementById('email')
      const password = document.getElementById('password')
  
      if (email.value == '') {
          email.classList.add("errorInput")
          return false
      } else {
          email.classList.remove("errorInput")
      }
  
      if (password.value == '') {
          password.classList.add("errorInput")
          return false
      } else {
          password.classList.remove("errorInput")
      }
  
      if (email.value.indexOf("@") == -1 || email.value.indexOf(".") == -1 || (email.value.indexOf(".") - email.value.indexOf("@") == 1)) {
          email.classList.add("errorInput")
          return false
      } else {
          email.classList.remove("errorInput")
      }
  
      if (!isNaN(email.value) == true && email.value.length == 11) {
          email.classList.remove("errorInput")
      }
  
      if (password.value.length <= 5) {
          password.classList.add("errorInput")
          return false
      } else {
          password.classList.remove("errorInput")
      }
      if(email.value != false && password.value != false){
          redirecionar()
      }
  
  
  })
  function redirecionar(){
      window.location.replace("https://kaiquekenji.github.io/portifolio/")
  }