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

3 points

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

permalink
report
reply
2 points

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.

permalink
report
reply
1 point

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

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
1 point

yep

permalink
report
parent
reply
1 point
Deleted by creator
permalink
report
parent
reply
2 points

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.

permalink
report
reply
1 point
*
Deleted by creator
permalink
report
reply

Programming

!programming@programming.dev

Create post

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



Community stats

  • 3.5K

    Monthly active users

  • 1.6K

    Posts

  • 26K

    Comments