How do not know how to fix the error in this code. Could someone please assist?

#include <LiquidCrystal.h>

LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

void setup()
{
lcd.begin(16, 2);
lcd.print(“what do you mean?”);
Serial.begin(9600);
}

void loop()
{
lcd.noDisplay();
delay(500);
lcd.display();
delay(500);
if (Serial.available()) {
delay(100);
lcd.clear();
}
}
while (Serial.available() > 0) {

lcd.write(Serial.read());
lcd.noBlink();
delay(3000);
lcd.blink();
delay(3000);
lcd.setCursor(0, 0);
}

for (int thisChar = 0; thisChar < 10; thisChar++)
{
lcd.print(thisChar);
delay(500);
lcd.setCursor(0, 0);
}

for (int thisChar = 0; thisChar < 10; thisChar++) {
lcd.print(thisChar);
delay(500);
lcd.setCursor(0, 0);
}

for (int thisChar = 0; thisChar < 10; thisChar++) {
lcd.print(thisChar);
delay(500);
lcd.setCursor(16, 1);
lcd.autoscroll();
}

for (int thisChar = 0; thisChar < 10; thisChar++) {
lcd.print(thisChar);
delay(500);
lcd.noAutoscroll();
lcd.clear();
}

}

ERROR MESSAGE:

Arduino: 1.6.5 (Windows 8.1), Board: “Arduino/Genuino Uno”

pot:23: error: expected unqualified-id before ‘while’
pot:33: error: expected unqualified-id before ‘for’
pot:33: error: ‘thisChar’ does not name a type
pot:33: error: ‘thisChar’ does not name a type
pot:40: error: expected unqualified-id before ‘for’
pot:40: error: ‘thisChar’ does not name a type
pot:40: error: ‘thisChar’ does not name a type
pot:46: error: expected unqualified-id before ‘for’
pot:46: error: ‘thisChar’ does not name a type
pot:46: error: ‘thisChar’ does not name a type
pot:53: error: expected unqualified-id before ‘for’
pot:53: error: ‘thisChar’ does not name a type
pot:53: error: ‘thisChar’ does not name a type
pot:60: error: expected declaration before ‘}’ token
expected unqualified-id before ‘while’

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

PLEASE GET BACK AS SOON AS YOU CAN. MY PROJECT IS DUE THIS WEDNESDAY.

Do you have an extra "}" just before the while statement ?

Post code in code tags, please. URGENT, read the how to use the forum stickies.
See below for the first error //>>>>>>>>>>>>>>>.

#include <LiquidCrystal.h>

LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

void setup()
{
  lcd.begin(16, 2);
  lcd.print("what do you mean?");
  Serial.begin(9600);
}

void loop()
{
  lcd.noDisplay();
  delay(500);
  lcd.display();
  delay(500);
  if (Serial.available()) {
    delay(100);
    lcd.clear();
  }
}//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>everything after this } is outside of any function
while (Serial.available() > 0) {
 
      lcd.write(Serial.read());
   lcd.noBlink();
  delay(3000);
  lcd.blink();
  delay(3000);
  lcd.setCursor(0, 0);
    }
   
  for (int thisChar = 0; thisChar < 10; thisChar++)
  {
    lcd.print(thisChar);
    delay(500);
  lcd.setCursor(0, 0);
  }
 
  for (int thisChar = 0; thisChar < 10; thisChar++) {
    lcd.print(thisChar);
    delay(500);
      lcd.setCursor(0, 0);
  }
 
  for (int thisChar = 0; thisChar < 10; thisChar++) {
    lcd.print(thisChar);
    delay(500);
      lcd.setCursor(16, 1);
  lcd.autoscroll();
  }
 
  for (int thisChar = 0; thisChar < 10; thisChar++) {
    lcd.print(thisChar);
    delay(500);
      lcd.noAutoscroll();
  lcd.clear();
}

}

Using autoformat (Tools, Autoformat or CTRL-T) would have shown the extra }.

PLEASE GET BACK AS SOON AS YOU CAN. MY PROJECT IS DUE THIS WEDNESDAY.

Please don't shout at us - your inability to match braces is not our problem

mrsummitville:
Do you have an extra "}" just before the while statement ?

I took out an extra bracket and now it's saying that I now have the same problem for the 'if' statement above the 'while' statement.

It will be easier to help if you share the code (in code tags) and the exact error message.