(This is my first post) (EDIT: I forgot to add the picture) https://i.stack.imgur.com/VQhrP.png
I literally just started a website and I found this annoying white space between the edge of the page and the div. How do I get rid of it?
This is my code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Home</title>
<style>
#navbar{
background-color: #ff5e5e;
height: 3rem;
top: 0px;
margin:0;
padding:0;
}
</style>
</head>
<body>
<div id="navbar">dddas</div>
<script src="index.js"></script>
</body>
</html>