How nnatebach/bachs_dev_pet works
This repository contains two small, standalone browser quiz exercises. The main workflow is the Doggos game: request a random dog image, derive its breed, build shuffled choices, then display the image and mark a selected answer. The other quiz presents a fixed true/false fact, reveals its explanation, disables further choices, and marks the guess. Only the two scripts were sampled; the page structure and any additional capabilities are inferred only from their referenced element IDs and the file tree.
Main entry points: 02_JavaScript_Doggos_Quiz_Game/script.js Doggos game · 01_JavaScript_Quiz_project/script.js Fact quiz · 02_JavaScript_Doggos_Quiz_Game/index.html Quiz page · 01_JavaScript_Quiz_project/index.html Quiz page
Components 10
Doggos quiz
- Doggos game
JavaScript/02_JavaScript_Doggos_Quiz_Game/script.js - Breed choices
JavaScript/02_JavaScript_Doggos_Quiz_Game/script.js - Quiz page
JavaScript/02_JavaScript_Doggos_Quiz_Game/index.html - Quiz styling
JavaScript/02_JavaScript_Doggos_Quiz_Game/styles.css
Fact quiz
- Fact quiz
JavaScript/01_JavaScript_Quiz_project/script.js - Fact content
JavaScript/01_JavaScript_Quiz_project/script.js - Quiz page
JavaScript/01_JavaScript_Quiz_project/index.html - Quiz styling
JavaScript/01_JavaScript_Quiz_project/styles.css
Other components
- Player
- Dog image API
Connections 12
- Player → Doggos game: plays
- Doggos game → Dog image API: fetches image
- Dog image API → Doggos game: returns URL
- Doggos game → Breed choices: selects choices
- Doggos game → Quiz page: renders quiz
- Quiz page → Doggos game: dispatches clicks
- Quiz styling → Quiz page: styles
- Player → Fact quiz: answers
- Fact quiz → Fact content: reads fact
- Fact quiz → Quiz page: updates
- Quiz page → Fact quiz: dispatches clicks
- Quiz styling → Quiz page: styles