To get the most out of this book
To get the most out of this book, you need to know the basics of JavaScript, including the following:
- An understanding of some of the primitive JavaScript types, such as
string
,number
,boolean
,null
, andundefined
- An understanding of how to create variables and reference them, including arrays and objects
- An understanding of how to create functions and call them
- An understanding of how to create conditional statements with the
if
andelse
keywords
You also need to know the basics of HTML, including the following:
- An understanding of basic HTML elements such as
div
,ul
,a
, andh1
- An understanding of how to reference a CSS class to style an HTML element
An understanding of basic CSS is also helpful, including the following:
- How to size elements and include margins and padding
- How to position elements
- How to color elements
To follow along with this book, you will need the following technologies installed on your computer:
- A modern browser such as Google Chrome, which can be installed from https://www.google.com/chrome/
- Node.js and npm: You can install them from https://nodejs.org/en/download/
- Visual Studio Code: You can install it from: https://code.visualstudio.com/
Software/hardware covered in the book |
React 18.0 or later |
TypeScript 4.7 or later |
If you are using the digital version of this book, we advise you to type the code yourself or access the code from the book’s GitHub repository (a link is available in the next section). Doing so will help you avoid any potential errors related to the copying and pasting of code.