I am having trouble displaying an image in the browser. My HTML code is simple and straightforward, but for some reason, the image is not showing up. I placed the image in a folder named "image" and it worked when I tried the same code in a different folder. However, in this particular folder, nothing is being displayed. What could be the issue?
* {
box-sizing: border-box;
margin: 0;
padding: 0;
text-decoration: none;
}
body {
background-image: url("https://via.placeholder.com/150");
background-position: center;
background-size: auto;
background-repeat: no-repeat;
}
.logopic {
width: 4em;
}
#container {
display: flex;
justify-content: space-between;
align-items: center;
width: 80%;
margin: 15px auto;
}
.list-item-ul {
list-style: none;
margin: 0em 2em 0em 0em;
}
.list-item-li {
text-decoration: none;
display: inline-block;
background: rgb(186, 178, 117);
padding: 0.20em 0.50em 0.20em 0.50em;
margin: 0em 1em 0em 1em;
}
li a {
color: white;
}
<!DOCTYPE html>
<html>
<head>
<title>
Responsive Web Three
</title>
<link rel="icon" type="image/png" href="image/logo.png">
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<header id = "container" id="topheader">
<img src="https://via.placeholder.com/150" alt="logo" class="logopic">
<nav class="list-item-nav">
<ul class="list-item-ul">
<li class="list-item-li"><a href="">home</a></li>
<li class="list-item-li"><a href="">About us</a></li>
<li class="list-item-li"><a href="">Services</a></li>
<li class="list-item-li"><a href="">Portofolio</a></li>
</ul>
</nav>
</header>
</body>
</html>