Hi there !
here i'm for ask again your help. I'm gonna to work a one project for my self and mabye for a couple of friends. I use one ESP32 when run the first time start in AP and show to me from a web page all router him found, and that work . My problem is that i create my webpage and i save inside the ESP and i use f=open(nameMyFile.html) . Now i create my css file and i save inside a ESP so how i can say at my html file import css file ?
Thank a lot
Sergio
integrate a css or js file inside HTML with ESP in AP
Re: integrate a css or js file inside HTML with ESP in AP
See any HTML introduction how to reference a CSS from a HTML file.
A few hours of debugging might save you from minutes of reading the documentation!
My repositories: https://github.com/karfas
My repositories: https://github.com/karfas
Re: integrate a css or js file inside HTML with ESP in AP
I did, but the problem is the file is inside ESP32 and use script or link dosen't work. I think i need the give a path but i don't have idea how to do
Re: integrate a css or js file inside HTML with ESP in AP
A "file" is nothing else than any other file served by a webserver. "It does not work" doesn't count as analysis of your problem.
A few hours of debugging might save you from minutes of reading the documentation!
My repositories: https://github.com/karfas
My repositories: https://github.com/karfas