Ask coding questions

← Back to all posts
um, why is my background purple?
Xenity (9)

So, im working on a website.. and the background suddenly turned purple:

and i don't have anything in my style.css to make it purple either

the texture for the background i was using was this:

so what is going on here.. could anyone help?

Answered by IntellectualGuy (823) [earned 5 cycles]
View Answer
Comments
hotnewtop
IntellectualGuy (823)

Maybe put the semicolon after 'Montserrat', because that might make it misinterpreted. (and can you attach the repl)

Xenity (9)

@IntellectualGuy oops i must have missed that, but it did not change anything..

IntellectualGuy (823)

@Xenity It isn't purple for me, probably try again, or report to bugs

Coder100 (18187)

Maybe fix ur html first too? @Xenity

Xenity (9)

@Coder100 my html isnt broken, the website is a Work in progress

Coder100 (18187)

Ur css is slightly incorrect. The syntax is this:

background: url(images/big.png) repeat 0 0;

Also, you don't need the public folder, that is already included!

Xenity (9)

@Coder100 ok, i did that.. but for some reason, its still purple