Undo and Redo on website | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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 ответов
+ 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