0Pricing
Javascript for Kids · Lesson

Quiz Questions

Store questions.

Welcome to the Quiz Show! 🎤

Lights! Camera! Action! We are building our very own Quiz Show! 🎉 First, we need questions for our players. Let us store them!

One Question, One Answer ❓

A quiz question needs the question AND the correct answer. We can keep them together in an object.

let q = { question: "What color is the sky?", answer: "blue" }
console.log(q.question)

All lessons in this course

  1. Quiz Questions
  2. Asking in Order
  3. Scoring
  4. The Final Score
← Back to Javascript for Kids