-2
if (velocidade1>=80 <100){
alert("Velocidade alta, considere diminuir!")
}
-2
if (velocidade1>=80 <100){
alert("Velocidade alta, considere diminuir!")
}
1
To put two conditions on the same if
just use the operator and
if (velocidade1>=80 && velocidade1 <100){
alert("Velocidade alta, considere diminuir!")
}
Browser other questions tagged javascript
You are not signed in. Login or sign up in order to post.
how do I ask questions using this dialog box ? thanks !!
– Wesley Aquiles
I don’t understand. Which question? Which dialog box?
– Danizavtz
my question ta all together in the same line , your answer ta inside a well organized gray box , Drew ?
– Wesley Aquiles
Ah, for this just use the question composition menu, press the button
{ }
code sample.– Danizavtz