QR Code Component with Flexbox and LESS

Solution retrospective
Hello, This is my first attempt at HTML/CSS (Using LESS pre-processor) since not touching anything web related for about 5/6 years. Getting started in this I found I had forgotten almost everything, and it was interesting discovering the flexbox features.
My question to the community is how do you decide what frameworks you are going to use for a particular project? and do you pre-plan or dive straight in and figure it out as you go?
Thanks, Joe
Please log in to post a comment
Log in with GitHubCommunity feedback
- @SatellitePeace
Hello @Joe-Whitehead and congrats on your return to web dev
As for your questions I am assuming the frameworks you are talking about are css frameworks like scss, less, bootstrap, tailwind etc
The framework you use all depends on how large the project is, how many pages, the project will have and how many sections the project will have
Personally when dealing with large project I usually recommend a css preprocessor like scss or less
Then if you are building a medium project or a prototype for a big project you can use a framework like bootstrap to speed things up
But in all it is always best to use vanilla css and preprocessors like scss and less
As for your second question, it is always best to visualise the project in your head try to build it in your head by so doing you will be able to figure out the key structures and how to organize your elements and which element to give a classname
As you code there is always going to be a point where you will have to figure things out as you go, but thinking about the strategies to use before diving in makes your work easier and reduces the chances of you having to figure things out as you code
I hope this helps
Marked as helpful
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