Auto brightness adjustment code help for arduino clock.

I want to make the clock on the link with Arduino.
I need to add code for auto brightness.
I want the leds to adjust the brightness according to the light intensity.
At night darker at day brighther.
I have an arduino ldr module.

https://cdn.instructables.com/ORIG/FDO/9H48/IOOXLB6Y/FDO9H48IOOXLB6Y.ino

What have you tried ?

Have you got a sensor to read the light intensity and if so can you read a value from it ? Do you know how to vary the brightness of the LEDs and what type of LEDs are they ?

I am using Ws2812b led strip.

Vurushlee:
I am using Ws2812b led strip.

And the sensor ?

I want to use this.

I want it to be darker in the dark (at night) and brighter in the light (at day )

UKHeliBob:
What have you tried ?

I want to use this.

For a start, buy the sensor and learn how to use it. Plenty of tutorials on line.