2,000+ Free Courses with Certificates: Coding, AI, SQL, and More
Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This course teaches learners with basic React knowledge how to build a Tic-Tac-Toe game using React Hooks. It covers component structure, props, styling, state, event handling, winner calculation, and time travel.
Syllabus
- Introduction
- Scaffolding Components
- Square Component & destructuring props
- Board Component and scaffolding functions
- Square Styling
- Board Styling
- calculateWinner function explained
- Create states and fill with initial data
- Create the handleClick function
- renderMoves function and the last JSX
- BONUS: Implement Time Travel
Taught by
Scrimba