Need help 7/7 just, wow


its the hardest thing you can do


look at this

var speed = 65;

// Complete the condition in the ()s on line 4
if (speed ) {
// Use console.log() to print "Slow down"
console.log("Slow down!");
else {
// Use console.log() to print "Drive safe"
console.log("Drive safe");



@princedj I think you need to set your condition. This doesn't tell the computer anything:

if (speed )

You need a condition like this:

if (speed > 70)


This would work. This would run the code inside the if statement as long as 'speed' is true.
For example:

speed = false;

when used in the statement, would not run the code in the if part, it would run the else part.


@jibblyj I see what you are saying - thanks for clarifying. But I think for the purposes of this exercise, the condition needs to be set to compare it to a set speed, not true or false.


I know, I was just saying that that could be a possibilty.


@jibblyj ok gotcha :smile:


im going to try something like that


its saying syntaxerror: missing ( before statement


now there saying:

It looks like you didn't print the correct string. Check your condition in the if statement, and your console.log statements.


Can I see your updated code?


i just did what you did

/ i can do emojisπŸ˜‡πŸ˜‡πŸ˜‡πŸ˜‡πŸ˜‡πŸ˜‡πŸ˜‡πŸ˜‡πŸ˜‡πŸ˜‡πŸ˜€πŸ˜†πŸ˜Ž

you see


now its working thank you


:+1:Β Β Β 


lets chat πŸ˜πŸ˜…πŸ˜…πŸ˜…πŸ˜…πŸ˜…πŸ˜‡πŸ˜‡πŸ˜ŒπŸ˜ŒπŸ˜ŒπŸ˜πŸ˜


are you a code genius or what