I have been following a freecodecamp youtube tutorial on full-stack development and I am getting an error and can not find the solution. here is the code:
it means you’re trying to set value to a property which doesn’t exist…
you can first try “troubleshooting” it, see if that property “onClick” event exist or not
otherwise consider sharing a “sandbox” environment link or “code snippet”, so that people can look into it and not just a picture (which is not always much helpful)
happy learning
1 Like
Why not just share the Replit link?
My best guess is you typoed the id
used on the buttons in your selector. You have buton
instead of button
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.