Skip to main content

Posts

Showing posts with the label css

Most Popular Technologies of 2019 - Programming, Scripting, and Markup Languages

Most Popular Technologies of 2019 - Programming, Scripting, and Markup Languages 1.       JavaScript - 69.7% 2.       HTML/CSS - 63.1% 3.       SQL - 56.5% 4.       Python - 39.4% 5.       Java - 39.2% 6.       Bash/Shell/PowerShell - 37.9% 7.       C# - 31.9% 8.       PHP - 25.8% 9.       TypeScript - 23.5% 10. C++ - 20.4% 11. C - 17.3% 12. Ruby - 8.9% 13. Go - 8.8% 14. Swift - 6.8% 15. Kotlin - 6.6% 16. R - 5.6% 17. VBA - 5.5% 18. Objective-C 5.2% 19. Assembly - 5.0% 20. Scala - 4.2% 21. Rust - 3.0% 22. Dart - 1.8% 23. Elixir - 1.6% 24. Clojure - 1.5% 25. WebAssembly - 1.1% Most Popular Web Frameworks of 2019 :- 1.       jQuery - 48.3% 2.    ...

Capitalize the first letter of each word of a given string in JavaScript

How do make the first letter of a string uppercase in JavaScript? How to capitalize the first letter of each word of a given string in JavaScript? JavaScript offers different ways to capitalize the first letter of each word of a given string. Let’s see the example for Capitalize the first letter of each word:- //CAPITALIZE THE FIRST LETTER OF EACH WORD OF A GIVEN STRING var capitalize = function ( string ) {   if ( string !== undefined && string . length > 0 ) {       var splitStr = string . split ( " " );       for ( var i = 0 ; i < splitStr . length ; i ++) {           var j = splitStr [ i ]. charAt ( 0 ). toUpperCase ();           splitStr [ i ] = j + splitStr [ i ]. substr ( 1 ). toLowerCase ();       }       return splitStr . join ...

Background Image CSS Properties and Example

The CSS Background Image Properties is used to change the background Image of elements. The elements can be - ü   html ü   body ü   footer ü   H1,H2 and so on ü   div ü   P ü   Your custom elements and so on This property is supported most of browsers like IE, chrome, safari etc. /* For HTML background image*/ html {      background-image : url ( "background.gif" ); } /* For HTML body background image*/ body {       background-image : url ( "background.gif" );     background-repeat : repeat-x ; } /* For HTML body footer image*/ footer {      background-image : url ( "background.gif" ); } /* For HTML H1 tag background color*/ h1 {     background : green ; } /* For HTML div background image*/ div {     background-image : url ( "background.gif" ); } /* For HTML page ...

Background Color CSS Properties and Example

The CSS Background Color Properties is used to change the background color of elements. The elements can be - ü   html ü   body ü   footer ü   H1,H2 and so on ü   div ü   P ü   Your custom elements and so on This property is supported most of browsers like IE, chrome, safari etc. /* For HTML background color*/ html {      background-color : white ; } /* For HTML body background*/ body {       background-color : white ;     background-image : url ( "background.gif" );     background-repeat : repeat-x ; } /* For HTML body footer*/ footer {      background-color : black ; } /* For HTML H1 tag background color*/ h1 {     background-color : green ; } /* For HTML div background color*/ div {     background-color : lightblue ; } /* For HTML page P backgr...