API Quiz Game - JavaScript Project using Google Sheet Data

person icon Laurence Svekis

API Quiz Game - JavaScript Project using Google Sheet Data

Explore how to connect to a Google Sheet Data JSON feed and use the data to create a dynamic web quiz game application

updated on icon Updated on Sep, 2023

language icon Language - English

person icon Laurence Svekis

architecture icon Development,Web Development


30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 19,000+ top Tutorialspoint courses anytime, anywhere.

Course Description

Explore how to connect to a Google Sheet Data as a JSON feed and use the data to create a dynamic web quiz game application

Welcome to the course that will show you how you can apply JavaScript to connect to a web API - get JSON data and build a JavaScript Quiz game from scratch using the data coming from a Google Spreadsheet.  As a bonus the course will also show you how you can setup your own spreadsheet webapp using Google Script so that you can customize the content and have your very own version of the questions in your application.

Source code is included - please try the code as you work through the lessons.

Course Covers applying JavaScript code

  • How to setup the basic Project shell with HTML and CSS

  • How to use JavaScript query selector to select page elements as JavaScript objects

  • Use fetch to connect to the web app URL for data source

  • JSON data and how to prepare it in JavaScript

  • Creating a function to display data content in the web application

  • Logic to approach game design and building of the web application

  • Next steps for player and using Game data

  • Debugging and advancing game design

  • Apply styling for a better looking game

  • Conclude the game quiz - make it dynamic so driven by the JSON data and flexible to change as the data changes.

  • Create a Google Script web app using Google Spreadsheet data

  • Structure JSON from an array object

  • Connecting sheet data to your web application

Enjoy learning have fun!!!!

Try the code for yourself and explore what you can do with JavaScript

Fast Friendly support to help answer any questions you might have and to help clarify content is always available in the Q&A section.  Taught by an instructor with over 20 years real world experience ready to help you learn more.  Step by step training resources and source code is also included to get you started quickly.

Who this course is for:

  • Web developers
  • Web master
  • Anyone who wants to practice JavaScript with API connection


What will you learn in this course:

  • How to connect to a web api
  • How to use JavaScript DOM to create page elements
  • Loop through JSON data
  • Explore Google Web App data from spreadsheet


What are the prerequisites for this course?

  • JavaScript HTML and CSS
  • Computer access and internet
  • Programming experience
API Quiz Game - JavaScript Project using Google Sheet Data


Check out the detailed breakdown of what’s inside the course

14 Lectures
  • play icon Introduction Dynamic Quiz Introduction 02:46 02:46
  • play icon Course Resources
  • play icon Web development environment Setup 03:38 03:38
  • play icon Project Setup HTML and CSS 03:26 03:26
  • play icon JavaScript Select Page Elements 04:10 04:10
  • play icon Get JSON data Request spreadsheet data 05:04 05:04
  • play icon JavaScript Elements Create Question 08:09 08:09
  • play icon Check Answer Next Question 03:26 03:26
  • play icon Bug Fixes Updates to Game 05:44 05:44
  • play icon Random Order Array 02:21 02:21
  • play icon Make it look Nice CSS 04:17 04:17
  • play icon Get Google Web App Data 08:02 08:02
  • play icon Google Web App Data 2 06:16 06:16
  • play icon Dynamic Quiz Conclusion 05:58 05:58

Instructor Details

Laurence Svekis

Laurence Svekis

Instructor, GDE, Application Developer

I'm here to help you learn, achieve your dreams, come join me on this amazing adventure today
Google Developers Expert - GSuite

Providing Web development courses and digital marketing strategy courses since 2002.

Innovative technology expert with a wide range of real world experience. Providing Smart digital solutions online for both small and enterprise level businesses.

"I have a passion for anything digital technology related, enjoy programming and the challenge of developing successful digital experiences. As an experienced developer, I created my first computer applications in 1990, and my first website in 1998.  I enjoy sharing my knowledge with others and want to help you share in the wonderful opportunities that the internet provides."

"Learning, understanding with a strong passion for education.  The internet has provided us with new opportunities to expand and share knowledge."

Want to learn more about becoming a web developer, do you want to experience the freedom that technology provides for us? Learn how to bring amazing things to life online.  Technology connects us all in many ways.  It opens up doors to those who embrace it and learn how to make those connections real.

"My courses are designed to help you achieve your goals, learn and update skills"

Background : An experienced web application developer, having worked on multiple enterprise level applications, hundreds of websites, business solutions and many unique and innovative web applications.  Web application development areas of expertise include HTML, CSS, JavaScript, JQuery, Bootstrap, PHP and MySQL. Anything to do with web creation and digital experience. Passionate about everything to do with web application development, programming to online marketing with a strong focus on social media and SEO. 

"Understanding technology provides a means to better connect with users.  It also opens so many doors.   Knowledge is the key to success and I want to help you experience what technology has to offer. I'm passionate about web technologies, and look forward to sharing my knowledge and experience with you!"

Course Certificate

User your certification to make a career change or to advance in your current career. Salaries are among the highest in the world.

sample Tutorialspoint certificate

Our students work
with the Best

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
People having fun around a laptop

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
People having fun around a laptop

Talk to us