Anyone explain, please?

Tell us what’s happening:
I dont understand the meaning of par and strokes in golf. How many strokes makes a par?
Please elaborate…
So that I m able to solve this question I don’t wanna to take a hint or watch a video so kindly help me.

Your code so far


var names = ["Hole-in-one!", "Eagle", "Birdie", "Par", "Bogey", "Double Bogey", "Go Home!"];
function golfScore(par, strokes) {
// Only change code below this line


return "Change Me";
// Only change code above this line
}

golfScore(5, 4);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36.

Challenge: Golf Code

Link to the challenge:

You don’t need to know anything about golf! The challenge wants you to use this chart:
image

2 Likes