Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in react workshop #971

Open
ShaughnAnderson94 opened this issue May 28, 2024 · 1 comment
Open

Typo in react workshop #971

ShaughnAnderson94 opened this issue May 28, 2024 · 1 comment

Comments

@ShaughnAnderson94
Copy link
Contributor

function ChooseName() {
const [name, setName] = useState("");

function updateName(event) {
event.preventDefault();
setName(event.target.username.value);
}

return (



Update name
Your name is: {username} //Should be name instead of username

);
}

@TusharAnekar
Copy link

Hi @ShaughnAnderson94,
I'm excited to contribute to open source for the first time and this bug seems like a great starting point. I'm having trouble locating the code related to the username in the specified file. Any guidance would be greatly appreciated!

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

No branches or pull requests

2 participants