News for hackers. Stuff that matters.
Re:Show HN: A TO-DO app that fits inside a single tweet by vukgr on Monday December 21, 2020 @09:03AM (#25494998)
Am I missing something or did everyone forget <s> is a thing in html?
Re:Show HN: A TO-DO app that fits inside a single tweet by franciscop on Monday December 21, 2020 @09:46AM (#25495359)
Nope, could be made with <strike> as well, but swapping element tags takes more characters than toggling a class. In the case of UmbrellaJS I made a .wrap() method, but since there is no .unwrap() again it takes more than toggling classes.
Re:Show HN: A TO-DO app that fits inside a single tweet by vukgr on Monday December 21, 2020 @11:17AM (#25496240)
Ah, fair. The challenge itself didn't mention toggling (just crossing tasks off), so you could probably get away with it; But that's just the golfer in me talking I guess.
Re:Show HN: A TO-DO app that fits inside a single tweet by rukshn on Monday December 21, 2020 @12:41PM (#25497239)
I also thought of using the <s> tag, but I didn’t use it because it is considered to be an outdated tag

But yes that is totally possible