From the course: JSON Essential Training

Unlock the full course today

Join today to access over 24,800 courses taught by industry experts.

Challenge: Debug a JSON structure and create your own

Challenge: Debug a JSON structure and create your own - JavaScript Tutorial

From the course: JSON Essential Training

Challenge: Debug a JSON structure and create your own

(upbeat music) - [Instructor] Ready to try your hand at working with JSON. It's time for a challenge. My start code is a JSON file. And at first glance into my editor, it's clear, the code has some challenges. The squiggly underlines all indicate places where the editor suspects my code is written incorrectly. Your task is to fix the errors in this code. There's an issue on each line. And although the editor may give you some help, when you hover the mouse pointer over an error, it's not always going to be specific enough to explain what you need to do to fix it. There's an issue on each line. So use this list of basic JSON syntax rules, along with the editor highlighting to figure out what might help, then try it out. Remember that in debugging fixing one error may change how others are identified for this JSON snippet. Try starting on the first line and working your way down. This ensures you're not trying to fix…

Contents