Skip to content

Conversation

nkp521
Copy link

@nkp521 nkp521 commented Jun 11, 2025

Complete react-hooks-event-handling-lab

Comment on lines +4 to +5
const focus = () => console.log("Good!");
const blur = () => console.log("Hey! Eyes on me!");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const focus = () => console.log("Good!");
const blur = () => console.log("Hey! Eyes on me!");
const handleFocus = () => console.log("Good!");
const handleBlur = () => console.log("Hey! Eyes on me!");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants