Skip to content

Commit be2965d

Browse files
committed
done
1 parent bb1259e commit be2965d

File tree

3 files changed

+34
-1
lines changed

3 files changed

+34
-1
lines changed

package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/EyesOnMe.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,20 @@
11
// Code EyesOnMe Component Here
2+
import React from 'react'
3+
4+
function EyesOnMe(){
5+
6+
function handleFocus(){
7+
console.log("Good!")
8+
}
9+
10+
function handleBlur() {
11+
console.log("Hey! Eyes on me!");
12+
}
13+
return (
14+
<div>
15+
<button onFocus={handleFocus} onBlur={handleBlur}>Eyes on me</button>
16+
</div>
17+
)
18+
}
19+
20+
export default EyesOnMe;

src/components/Keypad.js

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,14 @@
1-
// Code Keypad Component Here
1+
import React from 'react'
2+
3+
function Keypad() {
4+
5+
function handleChange() {
6+
console.log("Entering password...")
7+
}
8+
9+
return (
10+
<input type="password" onChange={handleChange} />
11+
)
12+
}
13+
14+
export default Keypad

0 commit comments

Comments
 (0)