exit status 1 Error compiling for board Arduino/Genuino Uno.

Hi everyone i am currently working on self balancing bot .I made few research on the topic before i started.
But i do get an error regarding" ERROR COMPILING "

The code is below. when i verified i got exit status 1 "Error compiling for board Arduino/Genuino Uno."
I tried many methods to solve it but wasn't able to clear it. I wish any of you guys could help me ...

I tried this project by refering to "How to Make Balancing Robot at home - YouTube"

How_to_Make_Balancing_Robot_at_home.ino (4.36 KB)

exit status 1 "Error compiling for board Arduino/Genuino Uno." is just a generic error that tells you something went wrong. There are an infinite number of possible causes for that error. You need to scroll up the black console window at the bottom of the Arduino IDE window and look at the full output, which will have the specific error messages that tell you exactly what is wrong.

If you want help with the issue, you need to provide us with the full error output:
When you encounter an error, you'll see a button on the right side of the orange bar "Copy error messages" (or the icon that looks like two pieces of paper at the top right corner of the black console window in the Arduino Web Editor). Click that button. In a message here, click the code tags button (</> on the forum toolbar) and then paste the error. If the text exceeds the forum's 9000 character limit, save it to a text file and post it as an attachment. If you click the "Reply" button here, you will see an "Attachments and other settings" link.

I have added the attachment copy of the error

New Text Document.txt (150 KB)

" stray '\342' in program"

This usually happens when someone copies text from a web page and gets some unprintable characters in the sketch or library. The compiler doesn't understand them. If you can't find a way to download the text without the unprintable characters you will have to track them down one by one and change them, typically to spaces.