Build a Palindrome Checker Project - Build a Palindrome Checker

Tell us what’s happening:

hi everybody,
i’m blocked on my test for the palindrome, it works when i’m open my fold “index.html”, but it’s not working on the preview freecodecamp .
can you help me please ?
Sorry for my bad english i’m french … :slight_smile:

Your code so far

<!-- file: index.html -->

/* file: script.js */

/* file: styles.css */

Your browser information:

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

Challenge Information:

Build a Palindrome Checker Project - Build a Palindrome Checker

We cannot see your code. Please copy and paste it into your original post.

i dont find how to paste into my original post ? i cant modify it

Try posting it in your response but you should be able to edit the post when you click the icon that looks like a pen.

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

I fixed the problem, I had to put the link to my script.js at the bottom of the html page before the end of the body. and put a default event on click to prevent the form from reloading the page. Thank you all the same for your help. Have a good evening