CxD Archive
Code: Trivia App
Code: Trivia App
  • About
  • Prerequisite Knowledge
  • Code Template
    • Template Build Tutorial
      • 1. Screens as Containers
      • 2. Welcome Screen
      • 3. Question Screen
      • 4. Thank You Screen
      • 5. Core JS Functions
      • 6. Load Questions and Go
      • 7. Respond to Answer Clicks
      • 8. Finishing the Game
      • 9. Visual Enhancement
    • Managing the Question DB
  • More
    • Code Mod Examples
      • Style Changes with CSS
      • Support True/False Questions
      • Add "Next Question" Button
      • Add a Category Selection Screen
      • Add Sound Effects on Answer Clicks
      • Add Basic Scoring
      • Add a Question Timer
      • Add a Question Timer with Pause Button
      • Custom Feedback Text for Individual Questions
      • Use Images with Questions
      • Display the Total Question Count at Welcome
      • Add Background Animation
    • Trivia JS Library Reference
    • P5.js
    • ★ Trivia Project Guidebook
Powered by GitBook
On this page
  • Basic HTML/CSS/JS Programming Concepts
  • Options to Learn or Revisit Concepts
  • Intro to Informatics and Web Development (Recommended)
  • A Quick Dive
  • Deeper Dive Options
Export as PDF

Prerequisite Knowledge

Basic HTML/CSS/JS Programming Concepts

Familiarity with the following concepts are highly recommended before programming the trivia game. But mastery is NOT required.

HTML

  • Common HTML Elements and the basic tag syntax <div>, <h1>, <h2> (etc.), <button>, <span>

  • Nesting elements

  • id and class attributes

CSS

  • Selectors for elements, classes, and ids

  • Common properties used in styles: background-color, color, font-size, margin, padding, height, width, display, border, etc.

JavaScript

  • Variables - numbers, strings, objects

  • Functions

  • Conditionals -- if, else

  • jQuery selectors for elements, classes, and ids

  • Basic jQuery functions: $.show(), $.hide(), $.html()

Options to Learn or Revisit Concepts

Intro to Informatics and Web Development (Recommended)

A Quick Dive

Deeper Dive Options

PreviousAboutNextTemplate Build Tutorial

Last updated 6 years ago

The series of exercises covers HTML/CSS/JS and some informatics practices.

​​

​​

​​

​​

HTML - , , ​

CSS - , , ​

JavaScript - (JS) / (jQuery), (JS)/ (jQuery), (JS) / (jQuery)

Intro to Informatics and Web Development
HTML
CSS
Classes and id's
HTML Nesting
jQuery Basics
JS Variables
JS Functions
JS Conditionals
W3Schools
Khan Academy
Codecademy
W3Schools
Khan Academy
Codecademy
W3Schools
W3schools
Khan Academy 1
Khan Academy 2
Codecademy 1
Codecademy 2