/undo-redo-circles

Circle rendering with Undo/Redo

Primary LanguageTypeScript

Circle rendering with Undo/Redo

The challenge:

  • The app should render a small circle anywhere the user clicks
  • Two buttons should be available:
    • Undo the last circle
    • Redo the last circle that was undone
  • Control/Command + Z shortcut should trigger the Undo action
  • Control/Command + Shift + Z shortcut should trigger the Redo action