Mar 05, 2022

Date comparison in Javascript

In this post we are going to learn how to compare two date in javascript. The most simplest way of javascript date comparison is to convert them to time. Lets us take below example.Javascript Date Comparisonvar date1 = new Date(); var date2 = new Date(); if (date1.getTime() === date2.getTime()) { // 1605815698393 === 1605815698393     console.log("Dates are equal"); } else {     console.log("Dates are Not equal"); } Here we have used... more

Mar 05, 2022

Useful Css Shorthand Properties

In this post we are going to check the most useful and commonly used Css Shorthand Properties which will help us in our productivity.Shorthand properties are CSS properties that let you set the values of multiple other CSS properties simultaneously. Using a shorthand property, you can write more concise (and often more readable) style sheets, saving time and energy.The CSS specification defines shorthand properties to group the definition of common properties acting on the same theme. For... more

Mar 05, 2022

Capitalize First Letter Javascript

In this post we are going to learn how to capitalize first letter of string in Javascript. In Javascript it provides String.toUpperCase() method which capitalizes all letters of a string.But what if we want to capitalize only first Letter of the String. So we will write our custom function to capitalize only first letter of the string provided.function capitalize(str) {     if (str && typeof(str) == 'string') {      ... more

Mar 05, 2022

Share your Code Online in RealTime for Free

We all are going through this pandemic and found out our own ways of working from home. In this post we checkout this website which allows us to share out code online in Real-Time and for free.So the name of the website is Codeshare.io. Codeshare enables developers to share code in real-time. Write or paste code in your browser, share the URL, code in real-time with friends and team mates.It provides a full screen text editor for writing code and we can share this code to anyone we like by just... more

Mar 05, 2022

ThemesRain for Building a Perfect Website for your Business

What is ThemesRain? ThemesRain is a marketplace where you can purchase both, premium and free versions of WordPress themes to design a website that is both professional and simple to create. Each website designed using the ThemesRain template is retina-ready and designed to reach out to larger audiences with enhanced search engine optimization, responsive design, and innovative designing. If you are wondering whether it is perfect for your business, then keep on reading. Below... more

POPULAR
ThemesRain for Building a Perfect Website for your Business
1
Share your Code Online in RealTime for Free
1
Capitalize First Letter Javascript
1
Useful Css Shorthand Properties
1
Date comparison in Javascript
1