Build a Palindrome Checker Project - Build a Palindrome Checker

Tell us what’s happening:

Describe your issue in detail here.

Your code so far

<!-- file: index.html -->
<body>
<input id="text-input">
<button id="check-btn">Check</button>
<div id="result"></div>
<script src="script.js"></script>
</body>
/* file: styles.css */

/* file: script.js */
const textInput = document.getElementById("text-input")
const btn = document.getElementById("check-btn")
const result = document.getElementById("result")

btn.addEventListener("click",()=>{
  const empty = textInput.value
  if(empty === ""){
    alert("Please input a value")
  }
 
})

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 YaBrowser/24.1.0.0 Safari/537.36

Challenge Information:

Build a Palindrome Checker Project - Build a Palindrome Checker

I didn’t understand this task, what should I do next, I also tried to search on other forums who could pass this test, but I didn’t find anyone, I understand that this was not done correctly, that beginners will not be able to do it themselves, but if this So, then everything needs to be changed, where can I find such a newcomer who has completed these tasks?

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.

what part of the project is giving you issues? You can ask for help, coding is always an exam with open book.

Many beginners have passed these projects and got the certification, you can to! Don’t be discouraged if you need help, it’s part of the process!