this post was submitted on 03 Jan 2024
11 points (100.0% liked)

Programming

17366 readers
398 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

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

all 8 comments
sorted by: hot top controversial new old
[–] Lime66@lemmy.world 3 points 10 months ago

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 points 10 months ago (3 children)

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 points 10 months ago (1 children)

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

[–] ericjmorey@programming.dev 1 points 10 months ago

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

[–] Lime66@lemmy.world 1 points 10 months ago
[–] Asimovc@lemmy.ml 2 points 10 months ago

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.