Design comparison
SolutionDesign
Solution retrospective
Problem in emplementing deletion, any help will be appreciated
Community feedback
- @mtjethPosted about 1 year ago
By taking input value as string then slice the last entered data with .slice(0,-1) then replace the value. for more see my implementation in my page.
function del(){ var a = document.getElementById('display').value.toString(); a = a.slice(0,-1); document.getElementById('display').value = value; }
display is the input element id.
Marked as helpful1@RedMwpPosted about 1 year ago@mtjeth thank you very much for your solution, i really appreciate it
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord