Sprint 7
Today we’re building a tic tack toe game in JavaScript!
Homework
1. Finish Tic Tac Toe
Finish up your tic tac toe board to allow for X’s and O’s. An empty button click should transition from empty to X, click an X should transition to O, and clicking O should transition to empty.
2. Practice writing functions
Edabit is website with thousands of fun coding challenges that will force you to think creativily and learn new JavaScript features!
Complete these challenges before next class:
- Area of a triangle
- Return the First Element in an Array
- Return the Remainder from Two Numbers
- Check if an Integer is Divisible By Five
- There are so many more. Keep exploring and challenging yourself!
Here’s a few more challenging problems if you finish!
- Add up the Numbers from a Single Number
- Find the Smallest and Biggest Numbers
- Is it Time for Milk and Cookies?
Click the “Resources” tab to view JavaScript functions or features that may be helpful for the challenge. |
---|