I am trying to read from a JSON array with a nested array which has its value name spaced out. So I get an error whenever I run the code.
var error = [
    {
        "LessonName":"Understanding Multiplication",
        "LessonID":"13343",
        "no of questions":[{"Locked":"31","Unlocked":5}]
    },
    {
        "LessonName":"Finding Unknown Values ",
        "LessonID":"13424",
        "no of questions":[{"Locked":"34","Unlocked":5}]
    }
]
function jsd(){
    document.write(error[0].LessonName);
    document.write(error[0].'no of questions'[0].Locked);
}
document.write(error[0]."no of questions"[0].Locked); Doesn't seem to display.
 
     
     
    