6 Most Effective Methods to Code HTML and CSS

6 Most Effective Methods to Code HTML and CSS

Given Edward

JF-Expert Member
Joined
Jan 11, 2011
Posts
850
Reaction score
203
1. Dynamic CSS
1.jpg

Kama unataka kuongeza uwezo wako wa CSS coding, you need to learn to write dynamic CSS. Most of the dynamic CSS adds nested riles, variables, mixins, selector inheritance feature into CSS, which no doubt will reduce code redundancy, introduce code reuse and hence - increase in productivity. There are many out there, famous one are Sass and Less
Angalia na hapa: 8 Fast and Furious Tools to speed up your CSS and HTML Coding Time

2. HTML snippets
2.jpg

Vile nile ningependa ku encourage watu watumie Code Snippet kama njia ya haraka ya kuandika HTML code. Powerful code abbreviation expander such as Zen Coding and HAML. They eliminate the needs of writing full html tags, just use abbreviation codes and expand it into full HTML markup. I have been using it for a few months now, I really like it because it does speed up the process. Also, it reduces human mistakes as well because all the code are tested and correctly generated.

3. CSS reset
3.jpg

The advantage of CSS reset is to avoid browser inconsistencies. For example, UL list in firefox and Internet Explorer, they have different margin and padding values, without resetting it, you will have a nightmare making a consistence pixel perfect layout. Most famous CSS reset would be the Eric Meyer's CSS reset and YUI.

4. CSS Grid layout
4.jpg


Honestly, I don't use CSS Grid Layout..... not yet. It's in the list because I heard many people giving compliments about it and it's proven to be one of the effective methods to increase productivity as well. Grid layout concept in web design is inspired by traditional print publishing. In web, Grid layout is very famous in magazine style themes/websites.
CSS Grid layout has great cross platform support, uniformity and consistency in HTML element placement and a lot more. You can read more details about it from the link below:

5. HTML/CSS editor
5.jpg

Ndio, unahitaji code editor nzuri because notepad just won't do it. Ilianza na notepad 10 years ago, plain black and white won't do any good to your career and your eyes. Syntax highlighting is extremely useful in debugging, auto indent saves time, auto code suggestion speed up development times. I have been using coda, in term of code editing, it's not the best but it has a really stable built in ftp engine which I really like.


6. Some extras online tools
6.jpg

Baadhi ya tools zinakazo kusaidia kusave muda hizi hapa: 🙂

Conclusion: Njia nyingi nilizozitaja hapa hakika zinaweza kuongeza your productivity to the max. Hata hivyo,kama ndio umeanza web development career, inashauriwa sana ujenge msingi mzuri kwenye HTML na CSS kabla haujaanza kuzitumia tools nilizoelezea hapo juu because most of these techniques use syntaxes and abbreviation codes. Without a strong foundation, and used to those syntaxes and abbreaviation code, you might find yourself unable to debug other people raw HTML and CSS codes and having difficulties to develop when those tools aren't with you; If you confident with your RAW HTML and CSS skills, yes, this tools will save heaps of your times!!!
Enjoy coding 🙂
By Givenality.
 
what are these? 4real sina idea hata vinafanya nini. Just help and for the benefit of others najua tupo wengi mayb wanaogopa kuuliza kuonekana hawajui
 
Hizo ni njia na tools za kuongeza ufanisi kwenye html na web development in general. Clear?
 
for html i only trust w3schools.com hawa ndo creator. Kwa ushahidi view source code za website yoyote duniani inayotumia html au css utaona jina lao first. Better ushauri watu watumie ways zao
 
for html i only trust w3schools.com hawa ndo creator. Kwa ushahidi view source code za website yoyote duniani inayotumia html au css utaona jina lao first. Better ushauri watu watumie ways zao

ofcourse, wao ndo wanoeka hizo standards! lakini kuna vitu extra huvipati kwenye web yao! just vi2 alioeka mshikaji hapo juu!
 
for html i only trust w3schools.com hawa ndo creator. Kwa ushahidi view source code za website yoyote duniani inayotumia html au css utaona jina lao first. Better ushauri watu watumie ways zao

Una maana gani unaposema hao ndo creator? Mi nadhani hiyo tovuti jina lake linajileza ni Worl Wide web schools. Wao sio creator. Wanaoamua standard za web ni organisation kama World Wide Web Consortium (W3C)
 

Similar Discussions

Back
Top Bottom