A Playful Intro to React

4.2 Average Customer Rating

Building a Tic-Tac-Toe Game

  • 13 Videos
  • 0 hours 47 minutes
  • 353 Happy Students

About the course

Do you want to learn React the fun way? In this class, you will learn the key concepts of React while building a Tic Tac Toe game.

React is currently the most popular front-end library. It’s easy to begin with yet it’s very capable even for building large-scale professional web-applications. In this course, we learn the fundamentals of React while having some fun and creating a Tic Tac Toe game.

While building a game we dive into the fundamentals of React like:

  • How to break down your application or game into smaller pieces, into components?
  • How to structure your logic and how to connect these components with props and callbacks?
  • How to deal with change, what is the state, what to store in it, and where to define it?
  • How to add interaction and how does re-rendering work in React?
  • And while it has nothing to do with React we are also going to draw some basic images by coding SVGs

This is an introductory course for beginners. We don’t get to more advanced things like routing or state management of large-scale applications. Instead, I give you a foundation you can build on.


This is an intro course, no prior React knowledge is required, but some HTML, CSS, and basic Javascript skills are necessary.

You can also check out the result of each lesson step by step on CodePen. Take a look on lesson notes in each step to see CodePen link

Note: If you are having problems with the settings: New versions of React and React DOM come out together, but it can happen that the website providing these libraries for CodePen is not up to date with both of them. If for some reason the version number of React and the version number of React DOM do not match then you have to downgrade the one with the higher version number by simply changing the number in the url of the added library to match.

  • 13 Videos
  • 0 hours 47 minutes
  • 353 Happy Students

Courses Outline

Lesson 1: A Playful Intro to React
Breaking down the game into components
Creating our first components
The Grid
Which square is which?
The changing parts
Our first attempt to have a state
Lifecycle of a component
Circles and Crosses
Detecting the winner
And the winner is ...
  • 13 Videos
  • 0 hours 47 minutes
  • 353 Happy Students