(no title)
gemstones | 2 years ago
<script type="text/javascript">
const foo = (bar) => {
document.getElementById('my-element');
// More here!
};
</script>
That way you could really leverage the full power of HTML, the programming language!
cantSpellSober|2 years ago
recursivedoubts|2 years ago
https://html-lang.org/#js
functions defined in HTML, the programming language, can be invoked by JavaScript, the programming language (sic) and vice versa.