Group related actions

JavaScript · Advanced · Structural boundaries · insertion · indentation · builds on Optional: markup objects

Group JSX actions without changing their handlers or order.

Task

File: component.tsx

The result must

    0keys

    Keyboard shortcuts
    Ctrl+Enter
    Check the result
    Ctrl+Alt+U
    Undo the last change
    Ctrl+Alt+H
    Show the next hint
    Ctrl+Alt+R
    Start this challenge again
    Ctrl+Alt+N
    Another challenge

    Ctrl+Alt shortcuts leave Vim's own keys alone. On a Mac, Control and Option.

    Your textVim mode: Normal

    Desired result

    Your text is saved in this browser as you edit. Finished challenges count in your progress and, when you are signed in, sync to your account.