4 ms·
Side note, but can I introduce you to the <output> element? You can just set its value instead of its innerText. It’s perfect for calculators. https://html.spe
by robin_reala 4y ago
Side note, but can I introduce you to the <output> element? You can just set its value instead of its innerText. It’s perfect for calculators.
https://html.spec.whatwg.org/multipage/form-elements.html#the-output-element https://html.spec.whatwg.org/multipage/form-elements.html#th...
- jkaptur 4y agoTIL - thanks!
- gavinray 4y agoWhat?! TIL, thanks.
- robocat 4y agoInteresting. MDN link: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ou...
- noSyncCloud 4y agoNot supported by IE so we can't use it :( /s
- hasperdi 4y agoIE is outdated and unsupported by the maker. Time to let it die.
- radiojasper 4y agoPlease learn what /s means :)
- hasperdi 4y ago/shutup?
- radiojasper 4y agoLead by example.