Find the JSON Mistake
Find the Mistake Easy
Question
This JSON is invalid. Find and fix the mistake.
Code
{
name: "Ada Lovelace",
"age": 36,
"skills": ["math", "programming"]
}
Hint
In JSON, all keys must be wrapped in a specific character.
Explanation
The key "name" is not wrapped in double quotes. In JSON, ALL keys must be double-quoted strings. The corrected JSON is: { "name": "Ada Lovelace", "age": 36, "skills": ["math", "programming"] }. Single quotes are also not allowed.
Related Resources
Related Lessons
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.