This forum is now read-only. Please use our new forums! Go to forums

0 points
Submitted by leozard
over 9 years

28/28 I'm stuck

// Not sure where to begin? Check the Hint! var age=”25”; if (age<26) (“I finished my first course!”) else (“I failed my conclusion”)

Answer 544320f68c1cccc854003adb

2 votes

Permalink

"25" Don’t put quotes around a number. Quotes are for strings.

You are missing the { } braces from your if statement as well as console.log for your strings.

points
Submitted by Neil
over 9 years

Answer 5444b1519c4e9dabfd006ad6

2 votes

Permalink

I suggest going back through the previous sections in this module, revising, then revisiting this final question. Below is the code I built to pass this particular question:

var myAge = 23 if (myAge > 10) { console.log(“I finished my first course!”) } else { console.log(“I didn’t finish my course!”) }

points
Submitted by Reagan
over 9 years