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

Basic HTML/CSS, using Flexbox

@min4899

Desktop design screenshot for the 3-column preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


For now when I'm doing these challenges, I just put all the files in the main folder. I'm guessing that's not good practice in the long run. What is the best practice for organizing/naming these files? How should I properly separate these html, css, and media files?

Community feedback

@LeonardoMancilha

Posted

Hello @min4899, the best solution is to divide each file into a folder less the file index.html. For example, if you have the file style.css you can put it in a folder named "css" this is also for other files such as javascript, react etc you put each file in a folder. About the name you put the name what the file means, for example, if you have 4 files about HTML and three are about tables you can create a folder named "table" and you make: table001.html, table002.html, table003.html and index.html. Did you understand?

Marked as helpful

1

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