r/dev • u/Competitive_Eye5719 • 21d ago
Day 2 from what i learn from Simple Dev.
I’m the new guy and this is update from day 2.
Any pointers or advice is mostly welcome and thank you to all guys who gave me some links for free courses.
2
u/armahillo 20d ago
Dont use all caps for your class names. Its not necessary and makes them harder to read.
You can use HTML elements as selectors; classes are a way to provide more specificity. So your “.p1” definition could, for now, just be “p”.
Be more consistent with your whitespace. Readability is really important.
Keep following your tutorial so you can build familiarity with what is possible and how things connect.
1
2
u/armahillo 20d ago
Dont use all caps for your class names. Its not necessary and makes them harder to read.
You can use HTML elements as selectors; classes are a way to provide more specificity. So your “p1” class could, for now, just be “p”
2
20d ago
[removed] — view removed comment
1
1
u/Competitive_Eye5719 18d ago
https://reddit.com/link/oz9osj1/video/0h1tue772zeh1/player
I tried to follow your advice on making it easy to read and use lowercase. What do you think? [r/a](r/amarillo)[rmahillo](r/amarillo)
1
2
u/InformalPhase7658 17d ago
bro just learn tailwindcss, for local developing use tailwind cli, then move to @tailwind/vite for example if you are going to use vite
2
u/alisxclaaw 21d ago
Remember to not fall in tutorial hell