Modifier des éléments HTML 11/14


my code look correct but i have this message : Oups, merci de réessayer. On dirait que votre variable aAjouter n'a pas la bonne valeur. Jetez un œil à l'indice sur vous avez besoin d'aide !

Replace this line with your code. 
$(document).ready(function() {
$('#button').click(function() {
var aAjouter = $('input[name=checkListItem]').val();


Hello @claudeldam,
your error-message is telling you, that you have the wrong index, even if it's correct.
Everything else is correct aswell.

Did you try refreshing the page? (CTRL + R or (CTRL +) F5))
Cause when I put your code in my editor, it works properly!

Hope I could help you :slight_smile:
If you got further questions, feel free to get in touch with me :smiley:
Make sure to mark my post as solution, so others which face the same
issue will be able to take it as a reference :wink:
Greez, 0xB4DC0DED


Nothing have changed with the hard refresh (i had tried with ccleaner before)
Thanks for the tip (ctrl+f5) perhaps a bug in the french site, sadly there a lots of bugs in it :stuck_out_tongue:
My code should work :slight_smile: and work in the next exercice :smiley:


I tried with Internet Explorer instead Chrome, and my code is valided.
Don't know why, but it work.


This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.