HTML / CSS Reminders For Amateur Web Designers / Developers

floris

Habitué
Joined
Jan 17, 2004
Messages
1,342
vB Floris submitted a new Article:

HTML / CSS Reminders For Amateur Web Designers / Developers

This article is just a friendly reminder for beginning web designers writing html and css, to get their standards right, and the tips from the get go, to learn a behavior to take and keep control over the code they write.

Source: Originally posted on wetalk.network @ HTML / CSS Reminders for amateur web designers / developers - thenewtech.com

If you design a site you will run into the most annoying issue of them all: Browser compatibility. And that's the one I start with: Check your design in various browsers, on various platforms. And be clear to the person you're working for which top5 browsers you guarantee to support, and which top5 you will not. A do could be firefox 3.5 and above, with legacy support for 3.0, but a don't could be any firefox below 3.0. If you understand which browsers can do what (or not), you can spend less time fixing what you code.

But it's important to check what you're working on, frequently! on linux/windows/mac and with various versions - and various screen resolutions. Don't wait until the end of your task, do it while you're working on it, and I strongly recommend to not move forward to the next task until you've resolved the matter at hand. Nobody likes sloppy code. Because it's harder to go and rewrite / fix everything afterwards, than addressing it from the get go.

Talking about poorly written code, I think the second point I want to make is to take what you do very seriously. No need to nitpick, but if you should properly comment your code, order it, list it proper, and if you feel a class needs a name change, do it. Address it while you're working on it, rather than having to schedule in time in the future to go back and having to figure the clutter out. And with sloppy code, it gets cluttered quite quickly.

Considering and respecting, but also deciding on (your) code standards is not a luxury, I would like to think it's almost mandatory. Remember, maybe you start small. But future releases, versions and including other developers .. it's not impossible .. and then it takes more time and headaches to figure it all out again (for everybody involved). Write your code in a comfortable to read and tidy manner, don't be lazy. It's easier to re-use and come back to, and for others to use, and saves time in the long run.

Besides not being lazy-, or not being willing to crosscheck your work, while you code,...

Read more about this article here...
 
Last edited by a moderator:
Top