Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Four card featuren section

@imbraian

Desktop design screenshot for the Four card feature section coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

help me, i don't know why my project doesn't loading the styles

Community feedback

@AReactDeveloper

Posted

Hello nice job on this challenge you have a slight problem with the way you included your CSS file you used (/) which will work fine on your machine i recommend using (./) dot slash when deploying to GitHub in order for your styles to appear on screen

this is a brief explanation of the difference between the the two types of slashes

  1. ./ (Dot Slash):

    • Represents the current directory.
    • Used to indicate that a file or directory is located relative to the current working directory.
    • Example: ./images/picture.jpg refers to a file named picture.jpg in the images folder inside the current directory.
  2. / (Forward Slash):

    • Represents the root directory in Unix-like systems (e.g., Linux, macOS).
    • In a web context or when used in URLs, / denotes the root of the domain or the base path of the website.
    • Example: /images/picture.jpg refers to an images directory at the root of the domain.
0

@imbraian

Posted

Your comment was very helpful, thank you brother. Another doubt, how do I solve my problem of design in large devices? like desktop. @AReactDeveloper

1

@AReactDeveloper

Posted

@imbraian, I noticed that your design doesn't work well on very large devices. An easy solution is to set a max-width on your main area, for example, 1445px, to prevent it from expanding infinitely. However, this will cause your main area to float to the right side. You can fix this by centering it using margin: auto. Alternatively, you can use positioning or flexbox to center it.

it will look like this main{ max-width:1440px; margin: auto; }

You can visit my own solution to this problem and read my code to see how I achieved it, but that doesn't mean it's the right or wrong way to do it. Kevin Powell made a very good video tackling this design if you are interested.

Also, I like your hover animation. That's a very stylistic touch.

If you found this helpful, please consider marking my comment as helpful. Happy coding!

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord