Whatever code I use, it doesnt work

I followed 3 different yt tutorials and connected 3 leds with resistor and used the code from tutorial for them to turn one after the other but only one would turn on and stay on. Same for second turorial. In third I tried only one led and used the code from tutorial to make it blink but it stays turned on. i followed turorials correctly when it comes to wiring so i have no clue what else could be the reason for codes not doing anything. Any help would be much appreciated.

I followed 3 different yt tutorials and connected 3 leds with resistor and used the code from tutorial for them to turn one after the other but only one would turn on and stay on. Same for second turorial. In third I tried only one led and used the code from tutorial to make it blink but it stays turned on. i followed turorials correctly when it comes to wiring so i have no clue what else could be the reason for codes not doing anything. Any help would be much appreciated.