Code not uploading to Arduino

so I was just coding on the Arduino software on desktop and I had an issue that the code was not uploading. so I previously mailed you guys and the issue was solved. that solution given was to check if I have connected the wifi module properly. I didn’t know about this so I plugged my wifi module on the boltduino and the upload was successful. but now I am not in a wifi range and want to practice coding so how could I do this? do I need to connect the wifi module every time even if the boltduino is plugged to the laptop? and how to connect to another wifi with the same module?

these were my 3 questions, I hope to get a reply soon

The code written was:
void setup() {
// put your setup code here, to run once:

}

void loop() {
// put your main code here, to run repeatedly:
pinMode(13, OUTPUT);
digitalWrite(13, HIGH);
delay(50000);
digitalWrite(13, LOW);
delay(50000);
digitalWrite(13, HIGH);
delay(25000);
digitalWrite(13, LOW);
delay(25000);
digitalWrite(13, HIGH);
delay(12500);
digitalWrite(13, LOW);
delay(12500);
digitalWrite(13, HIGH);
delay(6000);
digitalWrite(13, LOW);
delay(6000);
digitalWrite(13, HIGH);
delay(3000);
digitalWrite(13, LOW);
delay(3000);
digitalWrite(13, HIGH);
delay(1500);
digitalWrite(13, LOW);
delay(1500);
digitalWrite(13, HIGH);
delay(700);
digitalWrite(13, LOW);
delay(700);
digitalWrite(13, HIGH);
delay(350);
digitalWrite(13, LOW);
delay(350);
digitalWrite(13, HIGH);
delay(175);
digitalWrite(13, LOW);
delay(175);
digitalWrite(13, HIGH);
}

this was the error message received by me :

Arduino: 1.8.10 (Windows 10), Board: “Arduino/Genuino Uno”

Sketch uses 1238 bytes (3%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x80
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x80
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x80
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x80
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x80
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x80
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x80
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x80
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x80
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x80
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.

Hi @tejkshirsagar,

As per our tracking system your Boltduino unit was faulty and a replacement has been sent to you.

Ohh yes. Thank you again