Arduino unexpected error message

So Arduino gave me an error message that told me
"Problem uploading to board. See https://support.arduino.cc/hc/en-us/sections/360003198300 for suggestions."
Anyone have an idea what is wrong?

Yes, you forgot to follow the advise given.
What Code?
What Arduino?
What is the FULL error?

I am using the .zip version of the latest Arduino.
here is the code:

int timer = 100;           // The higher the number, the slower the timing.

void setup() {

  // use a for loop to initialize each pin as an output:

  for (int thisPin = 2; thisPin < 8; thisPin++) {

    pinMode(thisPin, OUTPUT);

  }
}

void loop() {

  // loop from the lowest pin to the highest:

  for (int thisPin = 2; thisPin < 5; thisPin++) {

    // turn the pin on:

    digitalWrite(thisPin, HIGH);

    delay(timer);

    // turn the pin off:

    digitalWrite(thisPin, LOW);

  }

  // loop from the highest pin to the lowest:

  for (int thisPin = 4; thisPin >= 2; thisPin--) {

    // turn the pin on:

    digitalWrite(thisPin, HIGH);

    delay(timer);

    // turn the pin off:

    digitalWrite(thisPin, LOW);

  }
}

This is code from a For Loop Iteration which I modified to, instead of interact with pins 2-7, interact with pins 2-4.
The full error (as you asked) is "Problem uploading to board. See https://support.arduino.cc/hc/en-us/sections/360003198300 for suggestions."

Sorry - I know nothing about Arduino 2.0.0-rc3 - I'll step out.

Wrong board selected? Which board?
Wrong port selected?

Did it work in the past with the same setup?

What does your OS think about the board? Which OS?

Which version of the IDE? And don't say 'latest'.

OS: Windows 10

Arduino IDE version: 1.8.19 .zip version

At the time the error showed up, only one port- the COM3 USB port- was being used.

I tried it without editing it at all and it seemed to work just fine.

So you could upload the original code and e.g. the blink example? When you tried to upload your modified code, it failed. When you tried e.g. blink again, it was successful?

what im trying to say is that originally the code interacted with pins 2-7 but when i attempted to modify it to interact with pins 2-4, it refused to upload.

Hello bigchungus1009
Did you use pin 0 or pin 1 in the unknown hardware configuration?
Have a nice day and enjoy coding in C++.

I did understand that; and every time that you go back to your original code with pins 2-7 it uploads OK.

Your code is not the reason why you can not upload, so I do not know. Please enable *Show verbose output during upload" under file -> preferences in the IDE, attempt the upload and if it fails, copy the full text of the output window in a post here using code tags (there should be a button Copy error messages in the orange bar above the output window when the upload fails; use that to copy.

We still do not know which board you are using and what your OS thinks about the board (check Windows device manager).

Well was it?
If you can get the blink sketch working then you have posted in the wrong section. So click on the black pencil next to the title of your post and move it into the programming section.

It was successful when i uploaded the original code but when i modified it it refused to upload and gave me the error message. it passed the verification though

Oh, well in that case I was using an Arduino Uno R3. Windows 10 is fine with it.