Expecting EOF, found '}'

Here is my code… there is an error that says, “Expecting EOF, found ‘}’” I know what that means, but I don’t understand how it’s happening. I’ll show you some of the parts of my code:

	if (GUI.Button(Rect(10,200,280,30), "Shop"))

			if(showGraphicsDropDown == false){
				showGraphicsDropDown = true;
			}
			else{
				showGraphicsDropDown = false;
			}
		}
		
	if(showGraphicsDropDown == true){
	
	GUI.Box(Rect(344,500,380,400), "Shop");
	
	GUI.Label(Rect(350,460,370,400), "No items have been added to the shop.");
	
		if(Input.GetKeyDown("escape")){
				showGraphicsDropDown = false;
			}
		}

That is what I typed before it showed me that error.
I have made a private var showGraphicsDropDown and set it to false. I ended my script with a }. My script is 78 lines so some things (Including the tooltips) you do not see. Here is my scripts end:

	GUI.contentColor = Color.red;
	
    GUI.Label (Rect (10,480,140,80), GUI.tooltip);
}

How do I fix this?

First, you adopt a consistent indentation style. I personally find it much easier to put the { on a new line so you can see the matching } directly under it. Regardless, the editor has a ‘find matching brace’ function, Ctrl-B, and it will also auto-hightlight the matching brace. So look at all your braces and see which one(s) are not matched properly.