(Developer: Alexander Strauch)
- Introduction
- UX
- Design
- Features
- Future features
- Languages
- Technologies
- Testing
- Bugs
- Deployment
- Credits
- Resources
- Acknowledgements
- The Depeche Mode quiz is a web application that offers 10 questions each with 4 possible answers about the history of the band and the music they published over the decades.
- The purpose of the project is to make a fun accessible quiz which is visually engaging, providing users with curated content about the band's past and present. The platform was built to inform new fans and hardcore fans through guided questions about their favorite band.
- This project is intended for Depeche Mode fans and newcomers of all ages who want to dive deeper into the history of the band.
-
Test knowledge about Depeche Mode's history
-
Learn new information together with lesser-known facts and trivia
-
Recall memories associated with their favorite songs
-
Enjoy a fun activity that combines love for music with interactive entertainment
-
Clean modern visual appearance which follows best practices
-
Accessible website on all devices
-
Responsive design on all devices without layout or performance issues
-
User-friendly interface with easy access to the provided information
-
Links and features that work the way they are intended to
-
Comprehensive insights about certain milestones during the band's history
-
As a new fan I want a quiz that helps me discover key songs and albums from Depeche Mode, so that I can become more familiar with their music and join discussions with other fans
-
As a casual fan I want to learn more about the history and evolution of Depeche Mode through a fun quiz, so that I can appreciate their music on a deeper level
-
As a longtime fan I want to test my knowledge of Depeche Mode's discography, so that I can see how well I know my favorite band
-
As a nostalgic listener I want to recall memorable moments associated with Depeche Mode’s music through quiz questions, so that I can relive those experiences
-
As the operator of the site I want to create an engaging Depeche Mode quiz, so that fans can test their knowledge and share their love for the band
-
As the the site owner I want to provide an engaging user experience
-
As the site owner I want to display important events that took place during the band's history
-
As the site owner I want to promote the site to grow the user base
-
As the site operator I want to continuously improve the platform
Being a huge fan of their music, I decided to create a quiz highlighting key facts about the band across different decades. The logo prominently features the website’s name, and the interface is minimalist and clean, prioritizing the content. Each menu link is clearly labeled, helping users easily navigate to the relevant sections. I incorporated ample white space to guide attention to the most important elements.
Fonts were used through import from https://fonts.google.com/. The chosen font for the body was Ruda for its clarity and ease of reading. Arial, sans-serif was chosen as the fallback font for all elements. To highlight my name with a link to my GitHub profile I used Rock Salt.
I chose the color scheme of white for the font and black for the background in the menu and the footer because it best represents the band's style with a monochromatic feel to it. These are also applied to the possible answers in the quiz & the action buttons (start, rules) in their natural state.
For the font-color used for the quiz question, the heading and the paragraphs on the about page I chose a classic dark charcoal with a classic white background.
I aimed to create an intuitive design with simple navigation. To achieve this, the website logo is positioned in the top left corner, while the navigation links are placed on the top right.The header, containing both the logo and menu, is fixed at the top of the page, ensuring easy access to the navigation as users scroll. At the bottom, the footer includes links to social media accounts (each opening in a new tab) on the left, along with the website name, my name (linked to my GitHub profile), and a note clarifying trademarks, logos, and brand ownership. The site consists of two pages:
-
Home with a background image of Depeche Mode during a concert in Toronto underneath the header. The header includes a h1 element with the "Welcome Devotees!" message, underneath that is a paragraph including "Test your knowledge about Depeche Mode". In the main section below the header are the "Start quiz" button and the "Rules" button.
-
About the quiz with a background image of Depeche Mode during a concert in Toronto underneath the header. The header includes a h1 element with the "Welcome Devotees!" message, underneath that is a paragraph including "Test your knowledge about Depeche Mode". In the main section below the header is a h2 element with "About this quiz" and 2 paragraphs with the content of "This Depeche Mode quiz was created as part of my coding bootcamp." and "It's a fun way to test your knowledge of the band's history, albums, songs and more.". Underneath that are 4 images showing the band during concerts from 2006 until 2023.
The website contains 2 pages in total.
Logo and navigation (Click me)
It is included on all 2 pages.The logo displays the name of the website & is a clickable link to the homepage which is just best practices.
On the right there are two links to each of the pages: "Home" and "About the quiz" so the user can easily navigate through.
The current page the user is browsing at the moment is highlighted.
The logo and the menu are responsive, the page links become a burger menu when viewed on a mobile device.
Hero image (Click me)
Placed on the top of all pagesShows Depeche Mode during a concert in Toronto.
Included in it is a h1 element with the "Welcome Devotees!" message. Underneath it is a p element with the content of "Test your knowledge about Depeche Mode". It is responsive, the background image is resized for smaller screens.
Footer (Click me)
Appears on all pages.Divided by 2 divs with their class: social-links and footer-info
On the left are the social media links which open in a separate tab.
On the right is the website name together with my name (clickable, leads to my GitHub profile in a new tab) and the information about ownership rights for trademark, pictures, logo and brand names.
It is responsive for all screen sizes, the social media links align over the website name and the accompanying information; both are horizontally centered.
Start quiz & rules button (Click me)
Placed underneath the hero image.The "Rules" button opens up a modal which briefly informs the user about the rules of the quiz. It can be closed by clicking the x. The "Start Quiz" button initiates the pop up of a username input modal. The user can then enter his username and submit it to get the quiz started.
He is then greeted with the first question and 4 possible answers.
When he selects the correct answer he gets visual feedback underneath the possible answers and the score is incremented.
If he chooses the wrong answer he gets a visual feedback underneath the possible answers and is informed of the correct answer. The score is not incremented.
The user can't make another selection after he chooses his answer, he gets his feedback if he was right or wrong and the next question is loaded after 2.5 sec.
At the end of the quiz the user is informed that he finished the quiz and receives his final score. He can than select to retry the quiz by clicking on the "Retry Quiz" button.
It is responsive, the paragraphs shrink in width and adjust in height when viewed on a mobile device or tablet.






About this quiz (Click me)
Placed underneath the hero image.A h2 element followed by 2 short paragraphs briefly what the quiz is about and why it was created.
It is responsive, the paragraphs shrink in width and adjust in height when viewed on a mobile device or tablet.
Image gallery (Click me)
Placed on the "About the quiz" page underneath the 2 paragraphs.4 images which show Depeche Mode during different concerts ranging from 2006 until 2023.
The images are responsive, they grow / shrink proportionally when screen size grows or shrinks. On a mobile device the images align on top of each other.
-
more questions
-
a timer to put the user under a little bit more pressure
-
HTML
-
CSS
-
JavaScript
-
GitHub for the repository
-
Gitpod (IDE)
-
git for version control
-
Chrome Dev Tools
-
Balsamiq for the wireframes
-
For the vinyl record favicon: https://gauger.io/fonticon/
-
For the favicon conversion: https://favicon.io
-
Font Awesome for the burger menu and the social media logos
-
Google Fonts for the Ruda and Rock Salt fonts
-
Convertio to compress the images
-
Adobe color
-
WebAIM for accessibility requirements
-
W3C for HTML code validation
-
W3C for CSS code validation
-
JShint for JavaScript validation
| Test | Result |
|---|---|
| Every link in the navigation menu leads to the correct page | ✅ |
| The social media links each open in a new tab on their corresponding site | ✅ |
| When a user clicks on my name in the footer, a new tab is opened and he is forwarded to my GitHub profile | ✅ |
| When a user attempts to directly type a link in the search bar to browse the site and has a typo he is redirected to the 404 page | ✅ |
| Test | Result |
|---|---|
| The image gallery displays correctly on mobile devices (images align on top of each other) | ✅ |
| Homepage, the username modal, the rules modal, the quiz, the about quiz page, the image gallery display correctly on screens smaller than 768px | ✅ |
| Homepage, the username modal, the rules modal, the quiz, the about quiz page, the image gallery display correctly on screens larger than 767px | ✅ |
| Homepage, the username modal, the rules modal, the quiz, the about quiz page, the image gallery display correctly | ✅ |
index.html (Click me)
I googled if I could use the aria-label on the section element (contains the background-image) and it said it would be useful if the content needed to be conveyed for accessibility reasons.
about.html (Click me)
I googled if I could use the aria-label on the section element (contains the background-image) and it said it would be useful if the content needed to be conveyed for accessibility reasons.
404.html (Click me)
I googled if I could use the aria-label on the section element (contains the background-image) and it said it would be useful if the content needed to be conveyed for accessibility reasons.
Performance was tested using Lighthouse in Chrome Dev Tools.
Accessibility was tested using WAVE - Web Accessibility Evaluation Tool.
The pages have no errors.
| Bug | Fix |
|---|---|
| Footer was not pushed down on 404 page | Wrap the section and the 2 headings in main element |
| User could click other answer buttons during the quiz after first selection was made | Use const buttons = answers.querySelectorAll('button'); buttons.forEach(button => button.disabled = true); to disable buttons |
| Not enough space between social media icons & copyright information on desktop view | Use .footer-content { max-width: 1000px; margin: 0 auto; padding: 0 2rem;} .social-links {margin-right: 1rem;} .footer-info {margin-left: 1rem;} on media query for 1024px and up to adjust space between content |
| Warning about empty heading (is used for generated JavaScript question) in index.html during accessibility test | Add . in h1 element |
| Warning about low contrast for heading & paragraph in hero-image during accessibility test | Add background-color: #333; on hero class in stylesheet |
To deploy the project I followed these steps starting from the main project repository here.
- I clicked on the
Settingstab in the navigation menu in the repository. - After that I selected the
Pageslink on the left side bar. - I clicked on the 1st dropdown menu
Sourceand selectedDeploy from a branch. - In the second dropdown menu labeled
BranchI selected themainoption from the dropdown. - I left
/rootas the default option in theBranchdropdown menu. - For the last step I submitted my selection by clicking the Save button.
GitHub notified me that my project was being deployed.
I got myself a coffee and hit refresh, the page was live.
-
Hero image: https://www.flickr.com/photos/197171168@N04/52806114434/
Photo by Dillan Payne, compressed with convertio -
Top left image in desktop view: https://www.flickr.com/photos/96679304@N00/175418653
Photo by Fabio Venni, compressed with convertio -
Top right image in desktop view: https://commons.wikimedia.org/wiki/File:Depeche_Mode_live_at_Stadio_Renato_Dall%27Ara,_Bologna_-_July_16th,_2023_%28224247%29.jpg
Photo by Dennis Radaelli, compressed with convertio -
Bottom left image in desktop view: https://www.flickr.com/photos/73014677@N05/10838503476/
Photo by Fraser Mummery, compressed with convertio -
Bottom right image in desktop view: https://www.flickr.com/photos/53477761@N08/4935379210
Photo by Alberto Cabello, compressed with convertio -
For the record vinyl favicon: https://gauger.io/fonticon/
-
Font Awesome for the burger menu and the social media logos
I was inspired for some sections of my quiz by these sources:
Build a quiz app with JavaScript from Web Dev Simplified
How to make quiz app using JavaScript from GreatStack
-
EntityCode for the © character in the footer section
-
Stackoverflow for disabling buttons
-
Chrome Dev Tools helped a lot to figure out how things work by breaking things apart and playing with them
I would like to thank my mentor Gareth McGirr for his useful tips and keen insight.













