Live data from Hacker News

How to write a JavaScript-free todo app using just HTML and CSS

mattzeunert.com

11–20 of 49 posts

Re: How to write a JavaScript-free todo app using just HTML and CSS

#17

These exercises will be a lot more fruitful to read through if the author can acknowledge the contrived nature of these attempts and provide a real-world advantageous use case of the techniques outlined

I don't think he needs to acknowledge how contrived his solution might be or provide a real-world use case. The article very well could be taken as inspiration to approach problems from different angles.

Re: How to write a JavaScript-free todo app using just HTML and CSS

#18
post #17

These exercises will be a lot more fruitful to read through if the author can acknowledge the contrived nature of these attempts and provide a real-world advantageous use case of the techniques outlined

I don't think he needs to acknowledge how contrived his solution might be or provide a real-world use case. The article very well could be taken as inspiration to approach problems from different angles.

Oh like pure academic exercises..

Re: How to write a JavaScript-free todo app using just HTML and CSS

#19
post #13

In doing this, you break HTML semantic relationships. Each to-do is a child of the previous to-do. That hurts. I applaud the work in making something sans JS for the kicks of it, but if your going to do it, at least don't break HTML.

The semantic Web is, unfortunately, quite dead. Hopefully a JavaScript-free Web can still happen.

Re: How to write a JavaScript-free todo app using just HTML and CSS

#20
I made something very similar for fun a few years ago[0] and added it to a repository called You-Dont-Need-JavaScript[1].

CSS-only for this sort if thing is totally contrived, but making it still proved to be a fun little exercise.

[0]: https://codepen.io/scryptonite/pen/oLGzdj

[1]: https://github.com/you-dont-need/You-Dont-Need-JavaScript

Post reply on HN