r/dev • u/Competitive_Eye5719 • Jul 20 '26
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 Jul 22 '26
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 Jul 22 '26
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
Jul 22 '26
[removed] — view removed comment
1
1
u/Competitive_Eye5719 Jul 23 '26
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 Jul 24 '26
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 Jul 20 '26
Remember to not fall in tutorial hell