[solved] React `onClick` not firing up

Happy Monday all!

I’ve been struggling to make my button onClick fire up (React)

I’d very much welcome a look into my code and pointers on why onClick is not firing up.

What I’ve done so far:

  • Created other simpler test functions console.logging stuff and tied that to React’s onClick, but I also don’t manage to fire that up when tying it to onClick (you’ll see the function testFunction in my code).

Pointers will be very much welcome!

just spelling error change onCLick with onClick , l lower case

1 Like

I’m an an idiot.

Thanks @oussama-jlassi !

You are not this cases happen
glad to help you

1 Like