Build a Tic Tac Toe game in Javascript

In this class you'll learn how to create an unbeatable tic tac toe game using vanilla JavaScript, HTML, CSS, and the Minimax algorithm.

Skills You Will Gain

  1. Using vanilla Javascript to build a fun little game
  2. Learn how to use the Minimax algorithm


  1. Commitment to invest 21 Minutes in 1 Week anytime that works best for you. (Average 3 Minutes per day)
  2. An internet-connected computer
  3. Fluent in English

Action Plan

  • Task 1: Set time on your calendar to complete this project
  • Task 2: Overview of the project
  • Task 3: Build the HTML part
  • Task 4: Build the CSS part
  • Task 5: Basic Setup of the game in Javascript
  • See All Tasks

    Content By


    freeCodeCamp is a non-profit organization that consists of an interactive learning web platform, an online community forum, chat rooms, Medium publications and local organizations that intend to make learning web development accessible to anyone.

    Ready to unleash your full potential?


    Mench Bootcamps Offer:

    In-Demand Skills

    Mench Bootcamps are inspired by the most popular digital skills in-demand. We research the hottest industry trends and collaborate with experts to produce weekly Bootcamps that will give you practical experience.


    Leveling-up your tech career does not have to interrupt your busy schedule, which is why Mench Bootcamps have an estimated number of hours required for completion. Choose when to do the work based on your own schedule.

    Tuition Guarantee

    We believe hard work should always pay off, which is why we offer a Tuition Reimbursement Guarantee for students who do the work but fail to accomplish the target outcome by the end of their Bootcamp.