text: const jokE = document.getElementById('jokE')
  const jokeBtn = document.getElementById('jokeBtn')
  
  jokeBtn.addEventListener('click', generateJoke)
  
  generateJoke()
  
  async function generateJoke() {
    const config = {
      headers: {
        Accept: 'application/json',
      },
    }
  
    const res = await fetch('https://icanhazdadjoke.com', config)
  
    const data = await res.json()
  
    jokE.innerHTML = data.joke
  }