Undo and Redo on website | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Undo and Redo on website

This there a way to create buttons that serve the same functionality as undo and redo on a website?

17th Aug 2020, 12:47 AM
Nicholas Amemazior
Nicholas Amemazior - avatar
2 Réponses
+ 3
Nicholas Amemazior yes you can clear all or redo one input using Javascript. Most calculators in the code playground use similar within JavaScript.
17th Aug 2020, 2:49 AM
BroFar
BroFar - avatar
+ 2
Thank you BroFar
17th Aug 2020, 3:27 AM
Nicholas Amemazior
Nicholas Amemazior - avatar