13 lines
372 B
JavaScript
13 lines
372 B
JavaScript
|
"using strict";
|
||
|
|
||
|
const genres = [ "FPP"
|
||
|
, "Action Adventure"
|
||
|
, "Lobotomy aka Idlegame"
|
||
|
, "Specticle Fighter"
|
||
|
]
|
||
|
|
||
|
const genreMenu = document.getElementById('genre');
|
||
|
genres.forEach( genre => {
|
||
|
genreMenu.append(Object.assign( document.createElement("option"), { id:genre.toLowerCase(), innerHTML:genre }));
|
||
|
});
|