Some of the names start with caps and other don’t. They all should start lower or uppercase for consistency.
Also in your explanation, you said they need 3.2 or up. The function is not considering 3.2. You used (>) which excludes 3.2. Should it be >= ? You might want to as “s” word student in the return. students.gpa etc.
I am just a beginner. Starting my first JS class on the 18th. Thanks for the article too.
Hey Ishmael, yep, you are correct about the 3.2 thing. As for "students" v. "Students", I tried to use the uppercase when referring to actual students, and lowercase when referring to the students array.
My original article uses interactive images that make this a little more clear:
Some of the names start with caps and other don’t. They all should start lower or uppercase for consistency.
Also in your explanation, you said they need 3.2 or up. The function is not considering 3.2. You used (>) which excludes 3.2. Should it be >= ? You might want to as “s” word student in the return. students.gpa etc.
I am just a beginner. Starting my first JS class on the 18th. Thanks for the article too.
Hey Ishmael, yep, you are correct about the 3.2 thing. As for "students" v. "Students", I tried to use the uppercase when referring to actual students, and lowercase when referring to the students array.
My original article uses interactive images that make this a little more clear:
blog.codeanalogies.com/2018/05/14/...