プログラミング初心者でエラーの対処がわかりません。
youtubeを見ながら模写をしていて同じコードを書いているのにエラーが出ました。
丸投げする形で申し訳ないのですが、以下のエラーの対処の仕方を教えてください。
<!doctype html> <html class="no-js" lang=""> <head> <meta charset="utf-8"> <title></title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="manifest" href="site.webmanifest"> <link rel="apple-touch-icon" href="icon.png"> <!-- Place favicon.ico in the root directory --> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.3/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous"> <meta name="theme-color" content="#fafafa"> </head> <body> <div class="container"> <div id="js-question" class="alert alert-primary" role="alert"> A simple primary alert—check it out! </div> <div class="d-flex justify-content-center"> <button type="button" class="btn btn-primary">Primary</button> <button type="button" class="ml-1 btn btn-primary">Primary</button> <button type="button" class="ml-1 btn btn-primary">Primary</button> <button type="button" class="ml-1 btn btn-primary">Primary</button> </div> </div> <script src="app.js"></script> </body> </html>・Refused to apply style from index html:1'https://stackpath.bootstrapcdn.com/bootstrap/4.5.3/css/bootstrap.min.css' because its MIME type ('application/xml') is not a supported stylesheet MIME type, and strict MIME checking is enabled
・Uncaught SyntaxError: Invalid or unexpected app.js:1 token
・Access to manifest at 'file:///Users//Documents/%E3%82%AF%E3%82%A4%E3%82%BA/site.webmanifest' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, chrome-untrusted, https.
・Failed to load resource: net::ERR_FAILED
・Access to manifest at 'file:///Users//Documents/%E3%82%AF%E3%82%A4%E3%82%BA/site.webmanifest' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, chrome-untrusted, https.
・Access to internal resource at 'file:///Users//Documents/%E3%82%AF%E3%82%A4%E3%82%BA/site.webmanifest' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, chrome-untrusted, https.
・Failed to load resource: the server responded with a status of 403 ()