Here are some common mistakes that most web developers make, and how identifying and avoiding them can help you write better and more.
1.Use Short...
For further actions, you may consider blocking this person and/or reporting abuse
Not a massive fan of hex codes for all CSS.
They're an easy way to get a desired colour when prototyping once you understand how they work and have a degree of intuition, but if you want
orange
, then actually writing that makes the CSS a lot easier to read for anyone who can't read hex codes, and it's easier to search as well.When named colours aren't enough, there's a very thin margin where hex codes have their place in development, but you very soon cross into "just use LCH" territory. Using RGB Hex for any sort of bigger project these days is almost never a good idea.
Hello ! Cool post about mistakes, always a pleasure to know some tips at beginner dev.
Also don't hesitate to put codeblock like this example for have to have a better understanding of your code 😎
Using markdown headings and subheadings for the different tips would also make things more readable imho
Thanks for your feedback
Theres a slight mistake in the 1st one:
is not the same as this:
which would be
First value is top/bottom, second left/right
Good tips. Thanks for the reminder.
Nice article. Please you made a mistake by saying
border
is the shorthand for margin-right, margin-left and so on. It should be margin and not border.Also, you should use code blocks for your code snippets.
Thanks.
Great insight no doubt.
Nice!
Thanks for sharing
Thanks!