#Requesting feedback on beginner HTML/CSS/JavaScript project I made

20 messages · Page 1 of 1 (latest)

sterile shuttle
#

Why not just keep these in multiple lines?

nova summit
sterile shuttle
#

why not just

const dollarValueInputElems = ...;
const convertBtn = ...;
const clearBtn = ...;
#

Might improve readability a bit

nova summit
#

ty!

nova summit
sterile shuttle
#

There's no difference

sterile shuttle
nova summit
nova summit
sterile shuttle
#

I don't think idiomatic code is as big of a thing in JavaScript as it is in Python or Rust tbh

nova summit
sterile shuttle
#

Rust has one standard formatting tool pretty much everyone uses

#

And in Python there's the "Zen of Python" which describes how Python code should be written

nova summit
sterile shuttle
#

Yeah basically

#

Rust also enforces some stuff via language design, you can do it in a "non-Rusty" way but that will look ugly to almost everyone