Skip to content

Refactor code in lesson4.html  #18

@stephengarn

Description

@stephengarn

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions