So I tried running my code, and there are no syntax errors but got this message:
"Sketch uses 2,504 bytes (7%) of program storage space. Maximum is 32,256 bytes.
Global variables use 222 bytes (10%) of dynamic memory, leaving 1,826 bytes for local variables. Maximum is 2,048 bytes.
An error occurred while uploading the sketch
avrdude: ser_open(): can't open device "COM1": No such file or directory"