background image not loaded.! | SoloLearn: Learn to code for FREE!

+1

background image not loaded.!

why background-image of div element is not loaded? line 27. if you browse its url the image opens. And why isn't the sound played automatically? last line of body. https://code.sololearn.com/W7EQ0NW1r5Xq/?ref=app

2/1/2021 1:27:39 PM

Mehran Raeesi

21 Answers

New Answer

+2

The image is loaded but because the height of div is zero, it not visible. just add html, body { height: 100%; } https://code.sololearn.com/Wa13A19A1A4a

+2

U need js to autoplay it

+2

کدوم تصویر

+2

اها

+2

add img src in your div tag

+2

꧁Ýąqůb꧂(New) this is persian not arabic😂😂

+2

You, don't need is to auto play you use the auto play keyword within the audio tag

+2

ali is correct

+2

Hey Russian man(woman) , Persian is one of the best languages in terms of beauty in the poems I do not say this but english linguists say this.

+1

https://code.sololearn.com/WPE7c10j8w9N/?ref=app

+1

U forgot quotation

+1

دارم برسی میکنم

+1

همه چی درسته نمیدونم چرا نشون نمیده

+1

and also remove bg-image

+1

img src is worked but what's wrong when add it to css? please delete other messages.

+1

🤷‍♀️

+1

سلام عليكوم يا شباب وفتيات، أنا لا أفهم العربية. يرجى قول باللغة الإنجليزية. أنا أعرف فقط أن الناس العرب يكتبون من اليمين إلى اليسار. من فضلك تحدث الإنجليزية.

+1

︻╦̵̵͇̿̿̿̿ Nila╤─── 😂 😂 😂 I was thinking that Persian is old deaded language

+1

Hi, I'm from Afghanistan close to iran nice to meet you guys, so why doesn't your photo appear in the background within the div with I'd of .bg

0