WWE Players BOT

Overview App

Enter the name of a WWE athlete and it will return a profile.

Prompt

Include the following profile of the WWE player searched for the keyword
Player's name, career highlights, title history, entrance music

Input Source

<!-- WWE -->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>WWE Superstar Info Finder</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      margin: 50px;
      background-color: #f7f7f7;
    }
    h1 {
      text-align: center;
      color: #333;
    }
    .input-section {
      text-align: center;
      margin-bottom: 20px;
    }
    .input-section input {
      padding: 10px;
      width: 300px;
      font-size: 16px;
      border-radius: 5px;
      border: 1px solid #ccc;
    }
    button {
      padding: 10px 20px;
      font-size: 16px;
      background-color: #333;
      color: white;
      border: none;
      cursor: pointer;
      border-radius: 5px;
      margin-top: 10px;
    }
    button:disabled {
      background-color: #999;
    }
    #answer-1729572326 {
      margin-top: 20px;
      padding: 15px;
      background-color: #fff;
      border: 1px solid #ccc;
      border-radius: 4px;
      font-style: italic;
      color: #555;
      text-align: left;
    }
  </style>
</head>
<body>

![Wwe-Wallpaper-01-1920-x-1080.jpg](https://storage.googleapis.com/topdowncom/content/YD0snbbWIOe9KmzQ4HQjbOIluUt1/f77b2cc8-762f-40fb-ab52-a8cbc9a82a88/Wwe-Wallpaper-01-1920-x-1080.jpg)
  <h1>WWE Superstar Info Finder</h1>

  <div class="input-section">
    <input type="text" id="superstarName" placeholder="Enter WWE Superstar Name" />
    <button type="button" id="button-1729572326">Get Info</button>
  </div>

  <div id="answer-1729572326">Enter a WWE superstar's name and click "Get Info" to see their career highlights, championships, and entrance music.</div>
  
  <script>
(() => {
  const button = document.getElementById('button-1729572326');
  const answerDiv = document.getElementById('answer-1729572326');
  const superstarInput = document.getElementById('superstarName');

 
  if (!button.hasAttribute('data-listener')) {
    button.addEventListener('click', async event => {
      button.disabled = true;
      
      const superstarName = superstarInput.value.trim();
      if (!superstarName) {
        answerDiv.innerText = "Please enter a WWE superstar's name.";
        button.disabled = false;
        return;
      }

      const serverAi = new ServerAI();
      const answer = await serverAi.getAnswerText('4SShDWAqQpbnaXSJeTSKgw', '', `Tell me about ${superstarName}, including career highlights, championships, and entrance music.`);
    
      answerDiv.innerText = answer;
      button.disabled = false;
    });

    button.setAttribute('data-listener', 'true');
  }
})();
  </script>

</body>
</html>