scrimba
Frontend Career Path
React basics
Meme generator
Form inputs practice
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

AboutCommentsNotes
Form inputs practice
Expand for more info
Form.js
run
preview
console
import React from "react"

export default function Form() {
const [firstName, setFirstName] = React.useState("")
/**
* Challenge: Track the applicant's last name as well
*/

function handleChange(event) {
setFirstName(event.target.value)
}

return (
<form>
<input
type="text"
placeholder="First Name"
onChange={handleChange}
/>
</form>
)
}
Console
""
,
"a"
,
"as"
,
"asd"
,
"asdf"
,
/index.html
-2:22