Need Help wiring eyes with NanoPixels

I only started using an Adruino yesterday so I have no clue what I'm doing. I'm trying to make two glowing eyes with Neopixel ring lights. When I run the below simulation everything seems to go good. But when I put it into the real world it does not seem to work. I'm seeking guidance to help fix the problem.

#include <Adafruit_NeoPixel.h>

// Define the number of LEDs in each NeoPixel ring
#define NUM_LEDS_RING_1 16
#define NUM_LEDS_RING_2 16

// Define the digital pins connected to each NeoPixel ring
#define PIN_RING_1 6
#define PIN_RING_2 7

// Create the NeoPixel objects for both rings
Adafruit_NeoPixel ring1 = Adafruit_NeoPixel(NUM_LEDS_RING_1, PIN_RING_1, NEO_GRB + NEO_KHZ800);
Adafruit_NeoPixel ring2 = Adafruit_NeoPixel(NUM_LEDS_RING_2, PIN_RING_2, NEO_GRB + NEO_KHZ800);

void setup() {
  // Initialize both NeoPixel rings
ring1.begin();
  ring1.setBrightness(50); // Set brightness to 50 (out of 255)
  
  ring2.begin();
  ring2.setBrightness(50); // Set brightness to 150 (out of 255)
}

void loop() {
  
  for(int i=0; i<NUM_LEDS_RING_1; i++) {
    ring1.setPixelColor(i, ring1.Color(20, 150, 255)); // Blue color
  }
  ring1.show();

  
  for(int i=0; i<NUM_LEDS_RING_2; i++) {
    ring2.setPixelColor(i, ring2.Color(20, 150, 255)); } // Blue color
  
  ring2.show();
}

Welcome to the forum

Please follow the advice given in the link below when posting code, in particular the section entitled 'Posting code and common code problems'

Use code tags (the < CODE/ > icon above the compose window) to make it easier to read and copy for examination

https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum

In my experience the easiest way to tidy up the code and add the code tags is as follows

Start by tidying up your code by using Tools/Auto Format in the IDE to make it easier to read. Then use Edit/Copy for Forum and paste what was copied in a new reply. Code tags will have been added to the code to make it easy to read in the forum thus making it easier to provide help.

Verify:

  • your wires are making good contact.
  • you are using an external power supply for the Neopixels.
  • your power supply is sharing ground with the Arduino and the neopixels.

What does your simulation look like? What does your live circuit look like?