13eck
Explore posts from serversKPCKevin Powell - Community
•Created by the_paras on 4/30/2025 in #help
What does this JavaScript do?
https://javascript.info is also good for learning
7 replies
KPCKevin Powell - Community
•Created by CodeMoon07 on 4/30/2025 in #help
CSS => Too Complicated 😡
To go back to the topic as-written. CSS isn’t too complicated. You’re overcomplicating it
64 replies
KPCKevin Powell - Community
•Created by CodeMoon07 on 4/30/2025 in #help
CSS => Too Complicated 😡
Advise the browser, don’t micromanage it
64 replies
KPCKevin Powell - Community
•Created by CodeMoon07 on 4/30/2025 in #help
CSS => Too Complicated 😡
Change things when you need to, ands there is literally no need to nuke padding/maring on everything
64 replies
KPCKevin Powell - Community
•Created by CodeMoon07 on 4/30/2025 in #help
CSS => Too Complicated 😡
Why? What benefit does this provide? Hint: none
64 replies
KPCKevin Powell - Community
•Created by CodeMoon07 on 4/30/2025 in #help
CSS => Too Complicated 😡
The top is BAD. The bottom is good
64 replies
KPCKevin Powell - Community
•Created by CodeMoon07 on 4/30/2025 in #help
CSS => Too Complicated 😡
YES
64 replies
KPCKevin Powell - Community
•Created by CodeMoon07 on 4/30/2025 in #help
CSS => Too Complicated 😡
Use the default styles until you have a good reason to override
64 replies
KPCKevin Powell - Community
•Created by CodeMoon07 on 4/30/2025 in #help
CSS => Too Complicated 😡
The only people who should be doing that are experts in design and the web. And that is a very few number of people indeed
64 replies
KPCKevin Powell - Community
•Created by CodeMoon07 on 4/30/2025 in #help
CSS => Too Complicated 😡
Don’t. That way lies madness
64 replies
KPCKevin Powell - Community
•Created by CodeMoon07 on 4/30/2025 in #help
CSS => Too Complicated 😡
Don’t worry about what the end user does. You can’t stop them from doing anything. Only worry about what you do. Do your best. If the want to need things up that’s their problem
64 replies
KPCKevin Powell - Community
•Created by CodeMoon07 on 4/30/2025 in #help
CSS => Too Complicated 😡
Also, #📝rules 5️⃣ : no pinging Kevin (or mods) with questions
64 replies
KPCKevin Powell - Community
•Created by CodeMoon07 on 4/30/2025 in #help
CSS => Too Complicated 😡
Don’t start your CSS from zero. Most of the defaults are well-thought out and work. There’s no reason to remove them. Indeed, there are many gotcha’s that you’ll run into if you try.
Instead, adopt an additive approach: when you find something you don’t like, add a rule to change it. Use classes and descendant selectors liberally so you don’t run into specificity issues that frequently. And, when you feel like you need to add
!important
it’s time to reevaluate your CSS and find out where the bug is and fix it.64 replies