From 45d070e4a4b9fd992d0326292362e8a844bef927 Mon Sep 17 00:00:00 2001 From: Marty Sluijtman Date: Tue, 4 Jul 2023 17:00:23 +0200 Subject: [PATCH] Rough menu sketch --- brown-wall.html | 21 +++++++++++++++++++++ main.js | 12 ++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 brown-wall.html create mode 100644 main.js diff --git a/brown-wall.html b/brown-wall.html new file mode 100644 index 0000000..10dcf22 --- /dev/null +++ b/brown-wall.html @@ -0,0 +1,21 @@ + + + + + + + Brown Wall + + +

Brown Wall

+

A wall which has been hit with a considerable amount of faeces.

+ + + + + diff --git a/main.js b/main.js new file mode 100644 index 0000000..a273ed9 --- /dev/null +++ b/main.js @@ -0,0 +1,12 @@ +"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 })); +});