Please ignore my syntax. This is just an example if this is a bad idea.
let's say I have select
with 50 options
but instead of typing out options 50 times.
would it be a good idea to use js and give it an array variable.
run through the variable.length
then append
it into html.
Is it bad to use js like this though and why?