Lesson 6, exercise "Otherwise..." is wrong. Here's the code:
var number = prompt("Guess what number I'm thinking of between 1 and 10!");
if(number === 7) {
print("You got it!");
// Change the following line.
} else if () {
print("Close! Try guessing a little higher.");
} else {
print("You were way off! Sorry...");
}
prompt returns a string, but then attempts to compare it with === with an int, which clearly doesn't work.
This is a really awesome site though, and I'm really excited to see it grow with more and more lessons.
It also seems a bit too eager to accept solutions as correct. For example, you can pass Lesson 6, exercise "Dot your I's and cross your T's" without fixing the = vs == confusion. I put this in to test, and it passed:
var response = prompt("Do you like me?");
if (response = "yes") {
print("i like you too!");
}
It passes because assignments return the value of the variable assigned, but it should fail the exercise, since it's conceptually wrong.
Lesson 6, exercise "Inequality" is wrong for the same reason. It tries to compare the string entered with the integer 5, which again does not work. If you "complete" the exercise as instructed, run the code and enter 5, nothing happens.
This is a really awesome site though, and I'm really excited to see it grow with more and more lessons.