While troubleshooting a couple issues with his application, Kyle walks through how to debug both the client-side and server-side logic. Once the code is fixed, Kyle demonstrates the working application.
(upbeat music)…- The first step I know I'm in the local path here.…Let's see; about.js; so let's set ourselves up…a break point here, make sure that, actually…that's not going to termly helpful.…Let set ourselves up a break point inside of the validator.…
Normally, I did that inside of my thing,…I'm not really sure; I think that might be my cash busting…or something; I'm not really sure why Chrome…is freaking out on my local debugging.…Okay.…Let's check and see what we're getting in.…We got in a zero and a zero, which is what we're expecting.…Let's take those roles; max less than min, which is not.…Min less than zero, oh, so I intuited wrong.…
Actually, that should pass, right?…So, we probably should add ourselves an extra validation…role, so my bug isn't necessarily in; that's was just…that I'm missing a validation role, we should probably say…if max less than or equal to min, right?…Cause that's a case that we probably don't want the min…and the max equal to each other; that's not going to be…a very helpful, so let's just try that.…
Note: This course was created on 03/29/2016 by Frontend Masters. We are pleased to host this content in our library.
- Carousels, panes, and modules
- Middle-end architecture
- Secure phrase generator
- Routing functions
- Calling the API
- Rendering on the page
- Shared data validation
Skill Level Intermediate
2. Organizing Code
5. Adding a Shared Module
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.