I am getting errors that I do not know how to fix

I am a beginner and I need HELP!!!
I keep getting this:
SimpleWebServerWiFi.ino: In function 'void loop()':
SimpleWebServerWiFi:97: error: a function-definition is not allowed here before '{' token
SimpleWebServerWiFi:108: error: expected initializer before 'if'
a function-definition is not allowed here before '{' token

SimpleWebServerWiFi.ino (4.92 KB)

every open curly brace needs its matching closing curly brace

your code is a mess...

Okay. So how do I fix it? Because I don't have the slightest clue on how to fix it?

Thanks

You have two loops() and setups():

void loop() {
WiFiClient client = server.available(); // listen for incoming clients
. . . .

And
void loop()
// Check to see if the client request was "GET /H" or "GET /L":

Okay. I fixed the code and it compiled correctly. I sent it to board and in the serial monitor it says to upgrade the firmware on wifi shield. I get the ip address 0.0.0.0. But when i check the firmware it says it has 1.1.0 on it. I just updated it a couple of nights ago.

Okay. I fixed the code and it compiled correctly.

And, now, without seeing the code that at least compiles, you want us to explain why it doesn't work. I think I'll pass.