'Cant insert image into CSS, I can only see a little blank square box

I am trying to create a website. And I have a basic knowledge of HTML and CSS. I am using file base from hostinger and directly creating the code and at the same time updating the site so I see the progress. But I'm stuck and it says "expected <bg-image> but found linear-gradient" and RBRACE. Anyone knows how to proceed with this.

enter image description here

enter image description here



Solution 1:[1]

well you have done a typeError i.e you havend given "" in url("").

use

url("filelocation")

it should works

Solution 2:[2]

Please don't share your codes as a image.

expected <bg-image> but found linear-gradient the error says it all, it expects a background image, but it found linear-gradient.

Try this one:

background-image: url('images/kashmir9_cleanup.png');

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Avin
Solution 2 Kip