I am currently working on a form utilizing bootstrap. I encountered an error where the styles are not loading when I open my HTML file from the folder. You can see the error image here.
However, everything works fine when I use Live Server in Visual Studio Code to open the HTML file. You can check it out using the following link: live server.
Could someone please explain why this is happening and how I can resolve it? Below is a snippet of my code:
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="/practica bootstrap-copia/css/bootstrap.min.css">
<link rel="stylesheet" href="/practica bootstrap-copia/form.css">
<link href="https://fonts.googleapis.com/css2?family=Bodoni+Moda:wght@400;800&display=swap" rel="stylesheet">
<title>Arma tu cv</title>
<!-- BOOTSTRAP AND JS -->
<script src="/practica bootstrap-copia/js/bootstrap.min.js"></script>
<script src="/scripts.js"></script>
Thank you for your attention.