Odin project #2 of Foundations css is not getting the right result

I am currently taking the odin projects course, and I am currently working on css. in exercise 2 of the foundations directory here: https://github.com/TheOdinProject/css-exercises/tree/main/, there are no essential differences between mine and the answer, yet backgrounds are not showing

11 points · 6 comments · view on lemmy.world

6 Comments

Lime66@lemmy.world · 3 pts · 2y

Update: It seems like the html file couldn't find style.css. I simply added the css again and it was fixed

Nommer@sh.itjust.works · 2 pts · 2y (4 replies)

Did you remember to give the HTML elements a class or id tag?

I just went over the HTML and css fundamentals about 2 or 3 months ago. But like the other person said, we can't really diagnose the issue without seeing your code. Alternatively chatgpt has been a helpful tool when I get stuck.

Lime66@lemmy.world · 1 pts · 2y

yep

Lime66@lemmy.world · 1 pts · 2y (1 reply)

lemmy has a bug that deletes all html classes and id's

ericjmorey@programming.dev · 1 pts · 2y

You can share your code's git repo or paste it into a code sharing site.

Lime66@lemmy.world · 1 pts · 2y
[ removed ]
Asimovc@lemmy.ml · 2 pts · 2y

Send your code in the discord of the odin project is the recommended for get solution for your problema, otherwise you can send it here because i dont know exatcly your code.

Lime66@lemmy.world · 1 pts · 2y
[ removed ]