I don't know how to do greater than code #6


#1

if (feedback === 10) {
console.log("Thank you! We should race at the next concert!");
}
else {
console.log("I'll keep practicing coding and racing.");
}


#2

Relational operators:

  • Greater than: >
  • Less than: <
  • Equal to: == or ===
  • Greater than or equal to: >=
  • Less than or equal to: <=
  • Not equal to: !=

These all return true:

var a = 2 > 1
var b = 1 < 3
var c = 6 === 6
var d = 5 >= 5
var e = 4 <= 9
var f = 9 != 2