My background image for the div won't load in even thou everything is correct, it'll only load when I type something on it.
HTML Code ~
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="Index.css">
<link href="https://fonts.googleapis.com/css2?family=Montserrat&family=Oswald&family=Roboto:wght@300&family=Ubuntu:wght@300&display=swap" rel="stylesheet">
</head>
<body>
<div id="Header">
</div>
</body>
</html>
CSS Code
body {
background-color: #FEF991;
margin: 0px;
paddng: 0px;
}
#Header {
background-image: url("A.png");
}
The files are correct and everything but it'll only load in when I write something I have no idea why or how to fix it.
A.pnglocated within an image folder or main project directory? Also you may want to give some width and height dimensions to#header