Giter Club home page Giter Club logo

pp2-big-fat-quiz-v3's Introduction

The Big Fat Quiz Of The Year - 2023 Edition

View the live project here

image

Welcome to the online trivia quiz dedicated to promoting the 2023 edition of Channel 4 Television's "The Big Fat Quiz of The Year." Test your general knowledge of global events from 2023 on this interactive platform. Simply enter your name to begin the quiz, featuring 10 questions that dynamically update as you play. Upon completion, view your results and choose between replaying or returning home. Let's get started

Index – Table of Contents

User Experience (UX)

  • User stories

    • First Time Visitor Goals

      1. As a First Time Visitor, I want the main purpose of the site to be easily understandable.
      2. As a First Time Visitor, I want to easily access instructions on how to play.
      3. As a First Time Visitor, I want to easily interact with the site to log in and play the quiz.
      4. As a First Time Visitor, I want to easily track the number of questions throughout the quiz.
      5. As a First Time Visitor, I want to easily view my score ongoing and my final quiz results.
      6. As a First Time Visitor, I want to have the option to play again or return to the home screen.
    • Repeat Visitor Goals

      1. As a Repeat Visitor, I want swift and effortless access to the quiz.
    • Regular Visitor Goals

      1. As a Regular Visitor, I want to discover fresh questions and categories every time I play.

Features

Existing Features

  • TITLE

    • The capitalized title is highlighted with a shadow effect to enhance its visibility against the background.
    • Users have the convenience of clicking on the title to return to the home screen at any juncture during gameplay.
  • HOME

    • Upon landing on the home screen, players encounter the title alongside sections for presenting the rules and instructions on how to play.
    • An input field is provided for users to enter their names, accompanied by a start button to initiate the quiz.
    • The design is simple, featuring a background that resonates with the branding of the Channel 4 program, broadcast in December 2023.
    • To provide visual depth and emphasis, all elements incorporate drop shadows, enhancing the clarity and prominence of text.

    image

    • The input field is configured to automatically load the cursor, facilitating seamless entry of the user's name with minimal effort.
    • If users initiate the quiz without entering their name, they will receive a prompt reminding them to input their name into the designated field.
  • QUIZ

    • Clicking the start button on the home screen, users will transition to the game screen.
    • The four key elements are: the question number and current score, the question itself, the four possible answers, and a button to proceed.
    • The aesthetics of the elements are styled in accordance with the design of the home screen, ensuring consistency and coherence throughout .

    image

    • On clicking an answer, the buttons will dynamically change color.
    • The correct answer button will turn TEAL while the incorrect ones will be highlighted in 75% opacity FUCHSIA.
    • A relevant fact or link to further info will replace the question, aiding the player's learning process.
    • This visual cue allows users to readily identify the correct answer and enhances their comprehension as they progress through the quiz.
    • Furthermore, the score will increment if the user selects the correct answer, reinforcing their success in the game.

    image

    • Once the player selects an answer, it becomes disabled, initiating progression to the next question.
    • After four seconds, the NEXT button will begin to jiggle, signaling to the player to proceed to the subsequent question.
    • Upon reaching the final question, the NEXT button transitions to "END," and the results screen is automatically presented
    • All of this facilitating a seamless conclusion to the quiz experience.
  • RESULTS

    • The results screen features the final score and a personalized message to the user, incorporating the name they provided on the home screen.
    • The message content is contingent upon the final score achieved. Additionally, two interactive buttons are available:
    • "Play Again," which resets the quiz to question 1, and
    • "Home," which redirects the user to the home screen for navigation convenience.

    image

  • 404 PAGE

    • The 404 error page adheres to the overall design scheme of the quiz and offers two options for redirecting the user to the home screen:
    • Clicking on the title logo or...
    • Selecting the text within the box container.

    image

Future Features

  • Adding further categories and questions during future development will ensure that returning users continue to derive value from the platform and discover new content to sustain their interest.

image

Design

  • Title/Logo

    • The title logo employs the Abril Fat Face font sourced from Google Fonts.
    • The font has been selected to infuse a playful ambiance into the game while mirroring the style of the official quiz logo.
    • Additionally, world icons flanking the title are sourced from "Font Awesome" to complement the design.
  • Imagery

    • The background image selected is still taken from the 2023 Channel 4 production of The Big Fate Quiz of the Year.
  • Typography

    • Google Fonts were used to import the relevant fonts into styles.css.
    • This was chosen to mirror the quiz logo and give a fun feel throughout.
  • Color

    • A simple and clear monochromatic pallete was chosen for the text
    • With correct answers highlighted in the 2023 Pantone color of the year, Teal.
    • Incorrect answers are highlighted in the Fuchsia tone taken from the program branding.
  • Wireframes

Home Screen Wireframes

image

Quiz Screen Wireframes

image

Results Screen Wireframes

image

Technologies Used

Languages Used

Frameworks, Libraries & Programs Used

  • Google Fonts: was used to import the fonts into the style.css file.
  • Font Awesome: was used to add icons for the title and social media websites.
  • GitHub: is used as the respository for the projects code after being pushed from Git.
  • TinyPNG was used for compressing images.
  • Convertio was used to convert image files from jpg to avif.
  • Balsamiq: was used to create the wireframes.
  • Cloud Convert: was used to convert image files from jpg to webp.
  • Favicon: was used to produce a favicon in the font and colorway.
  • Chrome dev tools were used to troubleshoot, test and check responsiveness of features.

Testing

Manual Test Cases and Results

  • The below tables detail the test cases that were used, the results and a cross-reference to the Feature ID that each test case exercises.

image

image

  • Testing has been carried out on the following browsers :

    • Chrome Version 110.0.5481.178 (Official Build) (64-bit)
    • Firefox Version Version 110.0.1 (64-bit)
    • Edge Version 110.0.1587.57 (Official build) (64-bit)

Responsivity Testing

  • iPad – 768px x 1024px

  • iPhone 13 – 375px x 667px

image

Automated Validator Testing

  • HTML Validator

    • Perfect Result

    image

  • CSS Validator

    image

  • JSHint Validator

    • script.js The undefined questions are defined in the data.js file The undefined oldScore and finalScore variables are used to reset and increment the player's score.

    image

    • The data.js Hints The unused variable flagged is used in the script.js file.

    image

  • PageSpeed Insights

Link Here

image image

Deployment

How this site was deployed

  • Login to Github
  • Click on the GitHub repository for this project - REPO LINK HERE
  • Click on the Settings tab, then choose Pages from the left hand menu
  • From the source section drop-down menu, select the Main Branch
  • Once the main branch has been selected, click save.
  • The page will refresh with a notification that” Your site is live”
  • Any changes pushed to the master branch will take effect on the live project

LIVE LINK HERE

How to clone the repository

  • Go to the repository on GitHub - REPO LINK HERE
  • Click the "Fork" button in the top right corner

How to clone the repository

  • Go to the repository on GitHub - REPO LINK HERE
  • Click the "Code" button to the right of the screen, click HTTPs and copy the link there
  • Open a GitBash terminal and navigate to the directory where you want to locate the clone
  • On the command line, type "git clone" then paste in the copied url and press the Enter key to begin the clone process

Credits

Content

  • The entirety of the question content was authored and validated by the creator, drawing insights from The Big Fat Quiz of The Year 2023 (Channel 4) and various end-of-year quizzes released by prominent media organizations in December 2023.

Code research

  • Elements of the javascript code were researched EXTENSIVELY using youtube tutorials including Web Dev Simplified Link
  • As with everybody, according to my mentor, initial coding was created having followed and reproduced the James Q Quick quiz build course on YouTube [Link] (https://www.youtube.com/u98ROZjBWy8?si=KKWlozSJMlN7cVyh)

Acknowledgements

  • My heartfelt gratitude to my wife, Ciara, as well as to my family and friends, for generously dedicating their time to support me in grasping JavaScript. Your unwavering encouragement, testing, and constructive feedback on the application have propelled me forward, enabling me to challenge myself and enhance my understanding of both the technology and the project.

  • A massive thanks to my mentors and tutors, Your boundless patience during the challenges encountered with WebinarNow and the difficult decision to restart the project multiple times has been invaluable to me. Thank you all sincerely for your steadfast support and understanding.

pp2-big-fat-quiz-v3's People

Contributors

designasaweapon avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.