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 - 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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
What is JSON?1m 49s
-
(Locked)
Understand objects in programming2m 25s
-
(Locked)
Structure JSON by following the rules4m 7s
-
Build a basic JSON structure3m 50s
-
(Locked)
Build a nested JSON structure2m 45s
-
(Locked)
Challenge: Debug a JSON structure and create your own1m 45s
-
(Locked)
Solution: Debug a JSON structure and create your own3m 53s
-
-
-
-
-
-
-