key words

I use key word for and it does not turn color therefore it gets an error.
I also use the key word Void loop and the word void is colored but the loop is not it also gets an error

Bummer. That is about all that I can say cause I cannot see your code and I cannot see the full text of the error message. Read the forum guidelines to get some clues on how to ask a question.

Errors have nothing to do with the colours.

Void loop   //  void?

Case matters in C++.

Hicksy:
I use key word for and it does not turn color therefore it gets an error.

It gets an error because it is not in the right place or something around it is not in the right place. We can provide more details if you can show the sketch.

Hicksy:
I also use the key word Void loop and the word void is colored but the loop is not it also gets an error

The 'loop' doesn't usually 'get colored' because it is just a name. It gets an error because it is not in the right place or something around it is not in the right place. We can provide more details if you can show the sketch.

Come one @Hicksy. If you're really a retired communications engineer I am amazed that you don't understand that effective use of this forum required you to use the "Reply" feature in order to communicate with the people who are already trying to help you, rather than creating a completely new topic. Get with the program bud!

I've deleted/merged your other cross-post(s).

Cross posting is against the rules of the forum. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend 15 minutes (or more) writing a detailed answer on this topic, without knowing that someone else already did the same in the other topic.

Repeated cross posting will result in a suspension from the forum.

In the future, please take some time to pick the forum board that best suits the topic of your question and then only post once to that forum board. This is basic forum etiquette, as explained in the sticky "How to use this forum - please read." post you will find at the top of every forum board. It contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

You spelled it "numRedBlink" when you declared it so "numRedBlinks" is not declared.

'for' loops have "(int;" and not "(int j;" so 'j' is not declared inside the loop.

You never declared 'numYellowBlink' so that's not declared.

You have an extra '}' in a 'for' loop so the next 'for' loop is after the end of the function. That is not valid syntax.

Arduino: 1.8.10 (Mac OS X), Board: "Arduino/Genuino Uno"


/Users/john/Documents/Arduino/sketch_dec01a/sketch_dec01a.ino: In function 'void loop()':
sketch_dec01a:22:19: error: 'numRedBlinks' was not declared in this scope
  for (int j=1; j<=numRedBlinks; j=j+1)
                   ^~~~~~~~~~~~
/Users/john/Documents/Arduino/sketch_dec01a/sketch_dec01a.ino:22:19: note: suggested alternative: 'numRedBlink'
  for (int j=1; j<=numRedBlinks; j=j+1)
                   ^~~~~~~~~~~~
                   numRedBlink
/Users/john/Documents/Arduino/sketch_dec01a/sketch_dec01a.ino: At global scope:
sketch_dec01a:37:1: error: expected unqualified-id before 'for'
 for (int; j<=numYellowBlink; j=j+1 ) {
 ^~~
sketch_dec01a:37:11: error: 'j' does not name a type
 for (int; j<=numYellowBlink; j=j+1 ) {
           ^
sketch_dec01a:37:30: error: 'j' does not name a type
 for (int; j<=numYellowBlink; j=j+1 ) {
                              ^
exit status 1
'numRedBlinks' was not declared in this scope

With your typos fixed and the code formatted to be readable it compiles just fine:

int redLEDPin = 9;           //declaring red led pin as an int, and set it on pin 9
int yellowLEDPin = 10;      // declaring yellow led pin as an int and set to pin 10
int redOnTime = 1000;        // this is the red led time on
int redOffTime = 100;       // this is red led off time
int yellowOnTime = 1000;     // this is yellow led on time
int yellowOffTime = 100;    // this is yellow led off time
int numRedBlinks = 3;      // this is the number of times red led blinks
int numYellowBlink = 3;      // this is the number of times red led blinks


void setup ( )
{
  Serial.begin(9600);


  pinMode (redLEDPin,  OUTPUT) ;
  pinMode (yellowLEDPin, OUTPUT);
}


void loop( )
{
  for (int j = 1; j <= numRedBlinks; j = j + 1)
  {
    digitalWrite (redLEDPin,  HIGH);    // turn red led on
    delay (redOnTime);  // wait


    digitalWrite (redLEDPin,  LOW);         // turn red on
    delay (redOffTime)  ;                    //  wait
  }


  for (int j=1; j <= numYellowBlink; j = j + 1 )
  {
    digitalWrite (yellowLEDPin,  HIGH );    //turn yellow led on
    delay  (yellowOnTime);                  // wait
    digitalWrite  (yellowLEDPin,   LOW);    //  turn led pin off
    delay (yellowOffTime);                 //wait


  }
}