Welcome to QUIZ BONANZAAA!
+Lorem, ipsum dolor sit amet consectetur adipisicing elit. Voluptate aliquam sequi at minus mollitia iste est quae.
+ +From d293634a3cb37e6e2de36be5fcbb9101d100af42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Dgabriellaberko=E2=80=9D?= <75434964+gabriellaberko@users.noreply.github.com> Date: Tue, 28 Oct 2025 16:42:19 +0100 Subject: [PATCH 01/71] add html skeleton for start page --- .gitignore | 3 +- README.md | 71 ++++++++++++++++++++++++++++++++++--- about.html | 10 ------ dist/script.d.ts | 1 + dist/script.d.ts.map | 1 + dist/script.js | 2 ++ dist/script.js.map | 1 + index.html | 66 ++++++++++++++++++++++++++++++++-- js/main.js => src/script.ts | 0 tsconfig.json | 27 ++++++++++++++ 10 files changed, 164 insertions(+), 18 deletions(-) delete mode 100644 about.html create mode 100644 dist/script.d.ts create mode 100644 dist/script.d.ts.map create mode 100644 dist/script.js create mode 100644 dist/script.js.map rename js/main.js => src/script.ts (100%) create mode 100644 tsconfig.json diff --git a/.gitignore b/.gitignore index b512c09..94b6a98 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -node_modules \ No newline at end of file +node_modules +./dist \ No newline at end of file diff --git a/README.md b/README.md index 57e6d16..8d7ed37 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,72 @@ # Web Accessibility Project -A basic web server template focused on web accessibility practices. +# What? +- Show quiz from API based on user preferences (filter/etc) +- When in chosen quiz view, show questions and answers +- Show score after finished a quiz -### Installation +- Scorelist (stretch ev) -1. Fork this repository by clicking the "Fork" button at the top right of the GitHub repository page. +# Views +#### Landing page/start -2. Clone your forked repository +# Welcome message +- Show a navigation of filters +- Start game +- Enter player name +- See top list (?) + +# A quiz page +- Question +- Answers +- Show correct/incorrect answer when chosen submitting an answer +- Next question button +- Show total quiz time +- Remaining time on the question? +- Navigation back to welcome page +- Stop? + +# Results page +- Final score +- Restart game/back to homepage +- Leaderboard + +# Functionality +- Choose a category/other filter (?) +- Fetch data based on chosen filters +- List of questions +- Choose instant feedback during the quiz (correct/incorrect answer) +- Enter player name +- Player score +- Timer (?) +- Start / Stop game +- + +# Tech +- Tailwind +- Typescript +- API +- CSS + HTML + +# Requirement +- Accessible +- Keyboard, focus, ARIA, Color contrast etc (check scope) + +### TODO +1) +- Setup HTML +- Set up Tailwind +- Setup API +- Fetch based on user input +- Put to Github issues/Project + +2) +- JS to render quiz +- JS to render questions +- JS to respond on user choose correct or wrong +- JS to show timer +- JS to start stop +- Setup Postgres for user + topscore + + +? - Design as we go? \ No newline at end of file diff --git a/about.html b/about.html deleted file mode 100644 index 5adbad6..0000000 --- a/about.html +++ /dev/null @@ -1,10 +0,0 @@ - - -
- - -This is the starting point.
- +Lorem, ipsum dolor sit amet consectetur adipisicing elit. Voluptate aliquam sequi at minus mollitia iste est quae.
+ +