I'm trying to change the header-nav background color to yellow and it won't change for me, it just stays white/blank.
I'm trying to learn along a html, css, javascript course and i'm following along with the instructor as he makes a website. When he changes the header-nav background color to yellow it changed for him but not for me, and as far as I could see we had the same code. I've tried a couple different hex colors but it didn't make a difference.
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/styles.css">
<link href='https://fonts.googleapis.com/css?family=Oxygen:400,300,700' rel='stylesheet' type='text/css'>
</head>
<body>
<header>
<nav id="header-nav" class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<a href="Index.html" class="">
<div id="logo-img" alt="Logo image"></div>
</a>
</div>
</div>
</nav>
</header>
<!-- jQuery (Bootstrap JS plugins depend on it) -->
<script src="js/jquery-2.1.4.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/script.js"></script>
body {
font-size: 16px;
color: #fff;
background-color: #61122f;
font-family: "Oxegyn" , sans-serif;
}
/** HEADER **/
#header-nav {
background-color: #f6b319;
border-radius: 0;
border: 0;
}
#Logo-img {
background: url(Resteraunt.jpeg) no-repeat;
width: 150px;
height: 150px;
margin: 10px 15px 10px 0;
}
There is no error code. It just shows a clear/white area where the header container is, but no color.