What am i doing wrong

ESP32

float analogPin = 4;
float sensorValue = 0;

void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}

void loop() {
// put your main code here, to run repeatedly:
Serial.println(“Moisture level:”);
Serial.println(sensorValue/4.095);
sensorValue = analogRead(analogPin);

if(sensorValue<300 ){
Serial.println(“Wet”);
}

else if (sensorValue >301 &&sensorValue > 699);{
Serial.println(“Normal”);
}
else(sensorValue <=700);{
Serial.println(“Dry”);}
delay(5000);
}

Error:
Arduino: 1.8.2 (Windows 10), Board: “ESP32 Dev Module, 80MHz, 921600, None”

C:\Users\jtemp\Desktop\sketch_may17a\BlynkBlink\ms1-2\ms1-2.ino: In function ‘void loop()’:

ms1-2:24: error: expected ‘(’ before ‘else’

else(sensorValue <=700);{

^

exit status 1
expected ‘(’ before ‘else’

This report would have more information with
“Show verbose output during compilation”
option enabled in File → Preferences.

  else if (sensorValue >301 &&sensorValue > 699);no semicolon.

But do, please, use code tags

Please use code tags (</> button on the toolbar) when you post code or warning/error messages. The reason is that the forum software can interpret parts of your code as markup, leading to confusion, wasted time, and a reduced chance for you to get help with your problem. This will also make it easier to read your code and to copy it to the IDE or editor. Using code tags and other important information is explained in the How to use this forum post. Please read it.

Please always do a Tools > Auto Format on your code before posting it. This will make it easier for you to spot bugs and make it easier for us to read.

Let’s take a look at the error:

jtemp0905:

ms1-2:24: error: expected '(' before 'else'

So the problem is at line 24 of your sketch which is printed below with a helpful little caret to point to the position on the line where the error is:

jtemp0905:

  else(sensorValue <=700);{ 

^

Look at that line. Do you see anything that looks wrong? If not you can check the reference for the proper syntax:
https://www.arduino.cc/en/Reference/Else

else if (sensorValue >301 &&sensorValue > 699);{
get of the ;
did you want < 700

else(sensorValue <=700);{
else if
get rid of the ;

:o

float analogPin = 4;

Gabriel_swe:
:o

float analogPin = 4;

Maybe it's a floating pin.

AWOL:
Maybe it's a floating pin.

.