Use Gmail to Create account on WOKWI
Learn basic operation
https://docs.wokwi.com/
Draw: Change Analog from A0 to A1
Diagram Jason, Debug, Run Code, Sensor Simulate
Modify
Refer https://wokwi.com/projects/305193592908939842
add digital read pin to indicate the light measurement
if (digitalRead(LDR_PIN) == HIGH)
{
Serial.println("turn on light");
}