Giter VIP home page Giter VIP logo

araldwin-project-2's Introduction

Developer: Aldwin Arriola

Table of content

  1. Purpose of the project
  2. User stories
  3. Features
  4. Typography and color scheme
  5. Wireframes
  6. Technology
  7. Testing
    • 7.1 Code Validation
    • 7.2 fixed bugs
    • 7.3 supported screens and browsers
  8. Deployment
    • via gitpod
    • via github pages
  9. Credits

Purpose of the project

The purpose of this project is for Project #2(JavaScript), this is part of me achieving the Diploma in Full Stack Software Development at Code Institute.besides this it is a General Knowledge, Fun Trivia question quiz game project, it can provide more knowledge for the User.

User stories

  • as a User the starting screen have a button that i can click to start the quiz, there should be prompted through a series of at least 10 multiple choice questions that i can answer and should be asked questions 1 after the other, it should only be prompted with 1 question at a time. I should not be able to skip questions, should also be able to see which question i we're on (for instance, "7 out of 10") and their current score ("5 correct). Upon submitting an answer, users should: 1) Receive feedback about their answer. If they were incorrect, they should be told the correct answer. 2) be moved onto the next question (or interact with an element to move on). it will not gain score if the time limit is off and it will show the correct answer. It should be shown my overall score at the end of the quiz. In other words, how many questions i got right out of the total questions asked. and should be able to start a new quiz.

Features


Start Quiz

  • buttons so that the User can start a quiz.

Score and Total of questions

  • where the User can see his Score and the number of questions left.

Feedback to answer

  • where the User can see the correct answer when his answer is wrong.

Interact with an element to move on

  • where the User cannot go to the next question until he answers the question whether it is right or wrong.

Quiz timer

  • Add the quiz timer to limit the time your respondents will have to complete each question. This way you can ensure that the user will not have enough time to search the answers on the web. You'll find this feature in the Extra Options tab at the Quiz options section.

Timer Off

  • Display correct answer.
  • User will not gain correct score.

View correct answer

  • When user selected wrong answer, it will automatically display correct answer.
    • correct answer with a tick
    • wrong answer with a xmark

Result at end of quiz

  • Users score will be shown in the end of the quiz, failing score will note "Try Again" Passing score will note "Nice" and Perfect and greater than passing score will note "Congrats!".

  • This website is mobile friendly or responsive design that fits standard screen sizes.

HTQ-iamresponsive

  • Future features

    • A background music.
    • More history trivia questions.

Typography and color scheme

Typography

  • I used Roboto fonts in this project with fall back being Sans-serif. This Font is simple and adapted to the website and it is linked to the CSS document via @import. HTQ-typhography

Color Scheme

  • In this website I used black #000000 for the Fonts and white #FFFFFF for the text shadow. I also used different colors for the style of the buttons and other backgrounds. like Chocolate tradition #783205 as the main color of the buttons to get its golden style. next are the other colors I used.Alice Blue#F0F8FF,Dark Cornflower #004085, Beau Blue #CCE5FF, Forest Green Web #23903C, Crimson UA #A42834, Lincoln Green #155724, and Persian Plum #721C24. other colors not mentioned are border color and box shadow. i used these colors to match the theme of the website. HTQ-colorscheme

Wireframes


Technology

Languages used

  • HTML5
  • CSS3
  • JavaScript

Others

  • Am I Responsive - - online tool used to create mockup to present responsive design of this project.
  • Coolors.co - used to create color palette.
  • Fontawesome - where i import font icons for this project.
  • Google Fonts - where i import and use font-style for this project.
  • Git - Git was used for version control by utilizing the Gitpod terminal to commit to Git and Push to GitHub.
  • Gitpod - IDE used to code the project.
  • GitHub - GitHub is used to store the project's code after being pushed from Git.
  • Visual Studio Code for Windows - IDE used to code the project.
  • Unsplash - for the webpage main background image.
  • [Windows Snipping Tool] - used to save the screen shot.

Testing

7.1 Code Validation

  • JS Hint - used to check JavaScript codes. HTQ-Jshint

Valid CSS!

Valid CSS!

HTQ-W3CCSSValidator

Index.html

HTQ-HTMLchecker

7.2 fixed bugs

HTQ-fixedbug

  • i had a problem with the title box where even if i click start qiuz it doesn't disappear, which it should disappear.
  • to solve this problem i simply change the:
    • titleBox_rmv.classList.remove("title_box"); into titleBox_rmv.style.display = "none";
    • titleBox_rmv.classList.add("title_box"); into titleBox_rmv.style.display = "block";

Lighthouse report

HTQ-lighthouse

7.3 supported screens and browsers

  • Supported browsers

    • Google Chrome
    • Microsoft Edge
    • Safari
  • Supported screens

    • Such a viewport was obtained from the am i responsive website where it was used to have an appropriate size for responsive design.

Deployment

  • via gitpod

    • go to and log in to github.
    • after login. on the top right side of the page next to the bell icon click on the "+" and select "New repository".
    • now i can create a new repository. put repository template, repository name, its description and other options, after that just go to the bottom and press "Create repository" and then it take me to gitpod.
  • via github

    • go to and log in to github.
    • go to repository and choose Project-2.
    • after that head to setting.
    • find and click "Pages" in the Code and Automation column.
    • select "deploy from a branch" in Source, select "main" and "root" in Branch and save. githubdeployment
    • click the given weblink araldwin.github.io/project-2/.

Credits

  • W3C School - for more knowledge that I learned.
  • Code institute README.md Template
  • Google images for the background

Acknowledgements

  • Mr. Rohit to my mentor
  • Student Support
  • Slack community
  • Code institute

Disclaimer

  • History Trivia quiz was created for educational purpose only.

araldwin-project-2's People

Contributors

araldwin 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.