Need help with led code

so hi im trying to set my leds to only one color but i can't find any codes that can do that i want to know if someone has a code for it

ZeroTwo02:
so hi im trying to set my leds to only one color but i can't find any codes that can do that i want to know if someone has a code for it

You're kidding, right?

no im not kidding im learning to code so i don't know most of the times what to do

Stop.
Think

Q. What do we know about your LEDs?
A. Nothing.

Now, back to you.

so my led strip is ws2812b and my Arduino is arduino nano

Have you researched the Adafruit tutorials on NeoPixels?

Have you looked at the example code that comes with the libiary you are using?

no i don't know most of the stuff they say

Why don't you try the simplest example there is, see what it does, and if it lights your LEDs?

That way, hopefully, you'll start to see what does what, and you'll learn something.

ZeroTwo02:
no i don't know most of the stuff they say

I am not sure what sort of help you are expecting then.
For sure there is no point in doing something for you because what ever we do you won’t be able to understand it.

So your choices seem to be either start to try and understand stuff, and we can help you to do that, or give up on this hobby because it is not for you.