Here is the code for my header where I am trying to set the background.
<header>
<img src="images/MeMain.jpg" alt="Drawing of Me" class="profile-image">
<h1 class="tag name">Hello, Iām Me.</h1>
<p class="tag location">My home is Blank, Blank.</p>
</header>
Below is the CSS code associated with it:
header {
text-align: center;
background: url('images/portland.jpg') no-repeat top center ;
background-size: cover;
overflow: hidden;
padding-top: 60px;
}
Although the image appears when coded into the HTML page directly, it does not appear when using a URL. I have tried various ways, such as moving the picture or changing the URL format to ('.../images/portland.jpg'), but nothing seems to be working so far.