In this lesson, we will look at a simple coding challenge involving if/else statements.
0:00 Introduction
0:31 Coding challenge steps
1:49 Coding challenge solution part 1
4:04 Coding challenge solution part 2
6:27 Coding challenge solution part 3
//John has test scores of: 90, 81, 55, 70, and 80
//Megan has test scores of: 88, 75, 87, 80, and 84
//1) Calculate each person's current class score by finding the average of the grades
//Average: sum of the numbers / number of numbers
//2) Log to the console who has a higher class score using if/else statements
//3) What happens if the scores are equal?
JavaScript Playlist:
• JavaScript for Beginners
MDN if/else:
https://developer.mozilla.org/en-US/d...
NodeJS:
nodejs.org
VS Code:
code.visualstudio.com
On this page of the site you can watch the video online JavaScript for Beginners Lesson #14 Coding Challenge 1 with a duration of hours minute second in good quality, which was uploaded by the user GreeneMath.com 06 January 2021, share the link with friends and acquaintances, this video has already been watched 506 times on youtube and it was liked by 21 viewers. Enjoy your viewing!