hello Sara, Rui and everyone,
I ask about some iusses that I can't solve:
1)
in module 3, at paragraph 2.1 of the course I don't understand some errors,
I copy the HTML file on page 201 but the lamp does not appear on the screen,
I compare html file with that one downloaded at the end of the Module3 and I notice the
difference in this rows below:
"all.css" integrity = "sha384-
fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr "crossorigin =" an
onymous ">"
what is it about?
even if I delete it, and I do a new check of the files with Winmerge and they are the same
but I don't have the result, while if I use the downloaded file everything works.
Why only the first file does't work , it's exactly like that I downloaded.
2)
An error reporting in main.c ++ is the path to the libraries, if I address them:
#include "C: \ Users \ Documents \ PlatformIO \ Projects \ ESP Async WebServer \ src \ ESPAsyncWebServer.h",
maybe I need to remove the lib_dept directive ?
3)
another thing I did not understand well is "workspace". Do I keep all projects under same
workspace? can I make a new one and where to put the libraries?
I have exposed several topics but I want to understand and solve and continue
the course that I really like.
Thanks to everybody
Mario
Hi Mario.
1) If you open your index.html file and take a look at line 8, you’ll see that it is the same line that you are referring to. However, because the line is long, we need to break it to include it in the eBook.
That line is needed to use the fontawesome website icons. You can learn more here: https://fontawesome.com/
2) I’m sorry, but I didn’t understand this question. To include libraries, you just need to add their names to the platformio-ini file. Are you getting any error related with the libraries?
3) You can keep all your projects under the same workspace or use different workspaces. That’s up to you.
A workspace includes a list of the projects that should be loaded on the File Explorer when you open it. You can have different workspaces. For example, one workspace with files from Module 2, and another with files from Module 3.
When you open the first workspace, it will only load the projects from Module 2, and so on.
You can organize workspaces as you wish in a way that’s more convenient for you.
This discussion explains well what a workspace is: https://stackoverflow.com/questions/44629890/what-is-a-workspace-in-visual-studio-code#:~:text=A%20workspace%20is%20a%20virtual,%22multi%2Droot%22%20workspace.
I hope this is clear. Let me know if you need further help.
Regards,
Sara