Error compling for board Arduino/Genuino UNO

Please help. I am new. const int LED = 13; const int BUTTON = 7;

int val = 0;

void setup() { pinMode(LED, OUTPUT); pinMode(BUTTON, INPUT); }

void loop() { val = digitalRead(BUTTON);

if (val == HIGH) { digitalWrite(LED, HIGH); } else { digitalWrite(LED, LOW); } }

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. If your browser doesn’t show the posting toolbar then you can just manually add the code tags:

[code]

[color=blue]// your code is here[/color]

[/code]

Using code tags and other important information is explained in the How to use this forum post. Please read it.

When you encounter an error you’ll see a button on the right side of the orange bar “Copy error messages”. Click that button. Paste the error in a message here USING CODE TAGS (</> button on the forum toolbar).

I do not see the problem. Post the error log.

Binary sketch size: 986 bytes (of a 130 048 byte maximum)