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?