Hello people, I just started to learn to code html and css and I’m facing an issue while trying to reproduce one thing after one of your tutorials, and the problem is that , i m trying to put an image in header background, but it does not appear in the background, i tried all the solutions i think.
.main-header {
background-image: url("images/andromeda-galaxy.jpg");
bacground-size: cover;
}
I even tried with height:50vh;
but the same…maybe I do something wrong…but i checked at least 30 times the exact commands that are in the tutorial and still the same, if i put a picture in html like:
<img src="images/andromeda-galaxy.jpg" width="200" height="300" alt="Picture of the Andromeda Galaxy">
with " to both ends, but if i write it il will try to show the picture it’s working, then is working flawless…any idea ?
only the background image problem, btw i use notepad++.
Thank you in advance!