Not every DIY project needs a Raspberry Pi ...
R1 (Optional) 1k Ω 0805 (Mandatory if D1 populated) Series resistor for D1 LED, adjust R-value to your type of LED and preferred brightness R2 (Optional) 1k Ω 0805 (Mandatory if D2 populated) Series ...
The tiny Pico has some niche advantages over full-fledged Raspberry Pi boards ...
WebServer library for AVR, Portenta_H7, Teensy, SAM DUE, SAMD, STM32, RP2040-based, etc. boards running WiFi modules/shields (WiFiNINA, CYW43439, U-Blox W101, W102, etc.). The functions are similar ...