
Video Playlist: https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip
Build a Quiz App with HTML, CSS, and JavaScript to improve your Core Web Development
Want to improve your core Web Develoment skills? Want to improve your knowledge of HTML, CSS, and JavaScript? In this course, you're going to learn how to build a Quiz application without the assistance of libraries or frameworks. Here are some of the topic we will cover!
-
Save high scores in Local Storage
-
Create a progress bar
-
Create a spinning loader icon
-
Dynamically generate HTML in JavaScript
-
Fetch trivia questions from Open Trivia DB API
-
JavaScript - Array Functions (splice, map, sort), Local Storage, Fetch API
-
ES6 JavaScript Features - Arrow Functions, the Spread Operator, Const and Let, Template Literals
-
CSS - Flexbox, Animtations, and REM units
Welcome to "Build a Quiz App with HTML, CSS, and JS". I'm so excited you decided to take the initiative to improve your core Web Development skills!
In this course, we are going to use fundamental HTML, CSS, and JavaScript skills to build a quiz application. This application will be able to load questions from a 3rd party API, track and display high scores, and so much more! You'll learn how to use Local Storage, create animations, use modern ES6 JavaScript features, and more.
Resources
- [Course Source Code](https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip)
- [Learn Build Teach Newsletter](https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip)
- [Learn Build Teach YouTube Channel](https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip)
In this video, we are going to create the home page along with a good chunk of the necessary CSS. The home page will consist of a few links for the Game and High Scores pages. We will also create helper CSS classes for Flexbox, buttons, and hiding elements.
I encourage you all to take a look at Emmet snippets for generating HTML and CSS.
Resources
- [Emmet in Visual Studio Code](https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip)
- [Understanding REM Units](https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip)
- [A Complete Guide to Flexbox](https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip)
In this video, we will create the Game Page and display static question and answer information. Eventually, we will load questions from an API, but for now, we will hard code one question so to establish styling.
In this video, we will load questions from a hard coded array and iterate through available questions as the user answers them. We will use custom data attributes, the ES6 spread operator, and JavaScript arrow functions.
Resources
- [Creating Code Snippets in Visual Studio Code](https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip)
- [Using Data Attributes](https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip)
- [Document Query Selector](https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip)
- [Document Get by ID](https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip)
- [Spread Operator](https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip)
- [Arrow Functions](https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip)
In this video, we check the user's answer for correctness and display feedback to the user before loading the next question.
Resources
- [Bootstrap 4 Colors](https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip)
- [Triple vs Double Equals](https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip)
In this video, we will create a Heads Up Display (HUD) for our quiz app. This will display the user's score and current question number.
Resources
- [ES6 Template Literals](https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip)
In this video, we will take our HUD one step further by creating a visual progress bar to track the user's progress through the questions.
In this video, we will create our End page where we will display the user's achieved score. This screen will provide a form for saving the score and links for playing again or going home.
Resources
- [Local Storage](https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip)
In this video, we will save and maintain a high scores array in Local Storage. To do this, we will need to https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip() and https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip() to convert our high score array to a string and visa versa.
Resources
- [Local Storage](https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip)
In this video, we will create our High Scores page. We will have to load the high scores from Local Storage, iterate through them, and display them on the screen.
Resources
- [JSON Parse and Stringify](https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip)
- [Array Sort](https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip)
- [Array Map](https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip)
- [Array Join](https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip)
In this video, we will move our sample questions from a hard coded array to an external .json file. This will help clean up our https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip file and set ourselves up to request questions from an API in the next video.
Resources
- [How to Use the Fetch API](https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip)
- [Promises](https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip)
In this video, we will use Fetch to request a list of questions from the Open Trivia DB API.
Reources
- [How to Use the Fetch API](https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip)
- [Open Trivia DB](https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip)
- [Array Map](https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip)
- [Array For Each](https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip)
In this video, we will create a simple spinning loader in CSS that will be displayed until we are finished requesting/loading questions from the API.
Resources
- [Create a CSS Loader](https://raw.githubusercontent.com/gayatrriiii/Build-A-Quiz-App-With-HTML-CSS-and-JavaScript/master/7. Create and Style the End Page/Quiz_Java_Build_CS_and_Script_HTM_With_App_2.6.zip)
Thank you so much for going through this course. I truly hope that you enjoyed it and that you have improved your core Web Development skills!!