Skip to content

Conversation

yuriyivanenko
Copy link

KeyPad component and accompanying functions pass all tests.

Comment on lines +3 to +13
function EyesOnMe (){

const handleFocus = () => console.log('Good!')
const handleBlur = () => console.log('Hey! Eyes on me!')

return (
<div>
<button onFocus={handleFocus} onBlur={handleBlur}>Eyes on me</button>
</div>
)
}

Choose a reason for hiding this comment

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

Suggested change
function EyesOnMe (){
const handleFocus = () => console.log('Good!')
const handleBlur = () => console.log('Hey! Eyes on me!')
return (
<div>
<button onFocus={handleFocus} onBlur={handleBlur}>Eyes on me</button>
</div>
)
}
function EyesOnMe (){
const handleFocus = () => console.log('Good!')
const handleBlur = () => console.log('Hey! Eyes on me!')
return (
<button onFocus={handleFocus} onBlur={handleBlur}>Eyes on me</button>
)
}

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