I’m having a problem loading a css sheet in an ejs file. I specified exactly where the css file is and it is still not working
تبليغيرجى شرح بإيجاز لمإذا تشعر أنك ينبغي الإبلاغ عن هذا السؤال.
<!DOCTYPE html>
<html lang=”en”>
<head>
<meta charset=”UTF-8″>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
<title>CRUD Application</title>
<link rel=”stylesheet” href=”https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css” integrity=”sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g==” crossorigin=”anonymous” referrerpolicy=”no-referrer” />
<link rel=”stylesheet” href=”/crud_app/asset/css/style.css”>
</head>
<body>
<!– Header –>
<header id=”header”>
<nav>
<div class=”container”>
<div class=”text-center”>
<a href=”/” class=”nav-brand text-dark”>User Management system</a>
</div>
</div>
</nav>
</header>
<!– /Header –>
This is the code that is used and note that I also tried the static method using express. When that didn’t work I tried this method. Any help is appreciated. Thanks
أضف إجابة