In this tutorial to Learn and uses of JavaScripts, CSS and HTML. Here we are using LDR reading analog value of ADC and display it on HTML web page, which is served by ESP8266 Web server.
And also SPIFFS lets you access the flash chip memory like you would do in a normal filesystem in your computer, but simpler and more limited.
https://www.dofbot.com/post/iot-analo...