Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Code a Game Using React - Data Fetching with useEffect

LearnWebCode via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This course guides learners through building a timed dog-breed guessing game with React and Tailwind, fetching images from an API and implementing questions, game logic, a countdown, lives, and high-score persistence. It assumes familiarity with React, JSX, and basic front-end development.

Syllabus

Intro.
Starter Setup.
Fetching Dog API Data.
useEffect Data Fetching / Strict Mode.
Getting Data Ready for Questions.
State with Immer Reducer.
Creating Questions.
The JSX Game Interface.
Game Logic.
Time Clock & Hearts UI.
Game Over Screen.
Actually Counting Down Time.
Preload Images.
High Score Local Storage.

Taught by

LearnWebCode

Reviews

Start your review of Code a Game Using React - Data Fetching with useEffect

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.