Open ivang7 opened 5 years ago
When looking the served HTML in the browser the opening <html>
tag (after removing the slash) is marked as an error because of the missing doctype before the <html>
tag:
<!DOCTYPE html>
But after inserting the doctype the CSS no longer works (loading failed for /js/bootstrap.min.js
) because of:
AsyncWebServerResponse *response = request->beginResponse_P(200, F("text/plain"), bootstrap_css, bootstrap_css_len);
The MIME type has to be "text/css"
, then everything works even with the doctype.
BTW, what version of Bootstrap is used? It is 50% smaller than the current version. Is that some old version or was it stripped down manually?
Исправление #5
</html>
на<html>
) и добавил загрузку jquery скрипта