Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/components/EyesOnMe.js
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
// Code EyesOnMe Component Here

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

Choose a reason for hiding this comment

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

It would be nice to move the anonymous functions in named functions here. This line is getting pretty long and hard to read.

}

export default EyesOnMe
8 changes: 5 additions & 3 deletions src/components/Keypad.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
// Code Keypad Component Here

function Keypad (){
function Keypad() {
return (
<div></div>
<div>
<input type="password" onChange={() => console.log('Entering password...')}></input>
</div>
)
}

export default Keypad;
export default Keypad;