kuuhana
  • Communities
  • Multi-communities
  • Support Lemmy
  • Search
  • Login
  • Sign Up
Programming@programming.devbyLime66@lemmy.world
2 years

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

6
    You must log in or register to comment.

    • Lime66@lemmy.world
      2 years

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

      • Asimovc@lemmy.ml
        2 years

        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.

        • Nommer@sh.itjust.works
          2 years

          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
              2 years

              yep

              • Lime66@lemmy.world
                2 years

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

                  • ericjmorey@programming.dev
                    2 years

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

                Programming@programming.dev

                programming@programming.dev

                Subscribe from remote instance

                Create post

                Report community

                Modlog
                You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programming@programming.dev

                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



                Visibility: Public

                This community is visible to everyone.

                • 3 users / Day
                • 186 users / Week
                • 192 users / Month
                • 6.97K users / 6 months
                • 3.16K posts
                • 46.1K comments
                • 1 local subscriber
                • 27.4K subscribers
                • UI: 1.0.0-beta.0
                • BE: 1.0.0-alpha.20
                • Modlog
                • Instances
                • Docs
                • Code
                • join-lemmy.org