Introduction to functions in JS :1


#1

<


#2

Doesn't appear to be anything wrong with the code.
Maybe a browser refresh might solve it?


#3

no still getting that same message :frowning:


#4

Maybe try copying and pasting this format into your browser? It could be like fischt said that its just a browser error so you may have to try on a different computer or browser to get it to submit. The only difference in this and yours again is spacing

var speed = 65;

// Complete the condition in the ()s on line 4
if (speed > 80) {
console.log("Slow Down");
}
else {
console.log("Drive Safe");
}


#5

Do no use the semicolon in the line #1


#6

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.