2 ms·
Little bit unconventional, but try writing your front end in Elm, and use the elm-ui library to avoid writing html or javascript. It compiles to javascript and
by dave4420 4y ago
Little bit unconventional, but try writing your front end in Elm, and use the elm-ui library to avoid writing html or javascript.
It compiles to javascript and will generate an index.html for you if you want.
Elm is highly opinionated… maybe you’ll love it, or maybe you’ll hate it, but it’s a good fit for what you want to do.
https://elm-lang.org/ https://elm-lang.org/
- logicalmonster 4y agoI may be wrong, but I think this is probably bad advice for this situation. Some programmer who isn't familiar with the front-end world probably is going to develop a website by copying and pasting little HTML/CSS/JS snippets they find online that kinda solves their problems. It's not going to be particularly pretty code (and that's ok), but with a little brute force effort, they'll eventually make it work. But using something like Elm means that probably somewhere near ~99% of the HTML/CSS/JS examples you find online aren't going to be helpful examples for you that you can easily translate into your own work.