Help!stuck on lesson 28. No matter what i do i keep getting a syntax error or that my code wasn't written to the console


#1


https://www.codecademy.com/courses/getting-started-v2/4/5?curriculum_id=506324b3a7dffd00020bf661#


Check that your curly braces are correct. The one on line 6 might be missing a curly brace.


Replace this line with your code. 

if (10 === 10) 
 {
console.log ("you got a true.")
}
 else {
console.log ("you got a false.")


#2

else his opening curly bracket ({) doesn't have a matching closing one, and you should log I finished my first course! to the console


#3

its still giving me an error that i have the wrong syntax. please help me. i have tried every different way and i still can't get it !!!

{
console.log ("you got a true.");
}
} else {
console.log ("you got a false.");
{
console.log ( "i finished with my first course")
}


#4

now its saying this
Oops, try again. It looks like you didn't log the correct string to the console! Make sure to use exactly the string shown.

if (10 === 10 ) {
console.log ("you got a true.");
} else {
}
console.log ( "i finished with my first course")


#5

you got a true.
i finished with my first course