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

Refactor code in lesson4.html #18

Open
stephengarn opened this issue May 13, 2023 · 1 comment
Open

Refactor code in lesson4.html #18

stephengarn opened this issue May 13, 2023 · 1 comment

Comments

@stephengarn
Copy link

I propose we refactor the code to introduce ternary operators into this workshop.

keyDownHandler(e) and keyUpHandler(e) could easily be refactored. Maybe just refactoring one for comparison purposes, and leave the other the way it is.

@end3r
Copy link
Owner

end3r commented Jul 19, 2024

Totally missed this, sorry. Yeah, if you still want to do it, please go ahead!

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