Click in order · JavaScript and React course · Module 3: State and Events
onClick Syntax in JSX
Build the correct click handler attribute in JSX:
Items to click
- {
- }
- handleClick
- =
- onClick
You can check the correct answer by solving this task in the CodeWorlds game.