This repo provides the source code for the course JavaScript Error Handling.
-
Install projects dependencies
npm install
- Run the development server
npm run dev
- Visit site at the url output in the terminal (probabaly http://localhost:5173/)
💡 if you see any errors in the terminal/console but can still access the site, don't worry about it. These errors occur because we split the code into before and after files, meaning some of the before files have some intentional errors introduce that we discuss during the related lesson.
Each lesson has it's own before and after files for both the related html and the related javascript.
For example, to follow along with the second lesson in this course: JavaScript Exceptions, Errors, and Try Catch, you would start in these files:
/2-begin.html
/src/2-begin.js
And in order to see the end state of what the code looks like at the end of the video lesson you could view:
2-end.html
/src/2-end.js