DEV Community

Discussion on: Creating a Temperature Converter without a single line of JS

Collapse
 
rajasegar profile image
Rajasegar Chandran

Yes it is, but you if you use onchange or oninput you are actually relying completely on JS, the idea here is to do it within HTML itself inside an attribute value. I know it sounds crazy, but it is more expressive grammar using htmx / hyperscript and a shorter way of doing such simple things without relying on JS.