Home
JavaScript Fundamentals (1)

Assignments:

Taking Decisions: if / else Statements

  1. If your tribe population is greater than 50 thousand, log a string like this to the console: "The tribe of Ahser's population is 9 thousand below average" (the 9 is the average of 50 minus the country's population).
  2. After checking the result, change the population temporarily to 13 and then to 130. See the different results, and set the population back to original.
Strings and Template LiteralsCoding Challenge #2