Showing posts from 2021

3 Easy Tips To Keep Your Blog Up To Date, Even Though You Are Very Busy

Photo by Jan BaborĂ¡k on Unsplash After a few years stick with the blog you have, you have been promised to create a daily content to your blog so your blog won’t sink from the internet, but it doesn’t happen, your blog lacks contents. And then its visitors start to decline. But don’t worry, you're not alone in this case, it not just happened to you, it probably happened to the majority of bloggers. Yes the only thing to keep your blog growing or at least stay and not losing any visitors is just to maintain your blog up to date by giving your time to write and publish at least one single post everyday. But then life turns out to be very complex and messy, it rarely, or worst it never goes according to our plans, it's just the way life is, full of surprise and chaos. Our life requires us to take care of other things in our life other than just writing some article for your blog, that’s why your blog is sinking from the internet search. If you need some motivation on how to keep y

How To Create An HTML Input Date & Time In React

html datetime in react The thing about HTML 5 is that it does have some features that work from different browsers and the other doesn't, the obvious element that is really useful is the HTML input type datetime-local. It works perfectly on Chrome, but unfortunately doesn’t work on Firefox and Safari, if this happened only on an internet explorer or something older, i wouldn’t bother, but Firefox or safari is a major browser with a huge amount of users, so it is something that we need to support in other for our app to be function. So here’s what I came up with using a combination of HTML type date and html type time to create a single react component as a replacement of datetime-local. Here's the full example code on Code Sandbox so you can play with: FULL CODES & DEMO . The idea is just to create a combination of input date and input type which is supported by All major browsers, so there’s nothing fancy here. There’s already a react-datetime library but it doesn’t wo

How to Create Javascript Countdown App

Countdown Timer If you need to create a countdown app in Javascript, this is the solution I am going to reveal. It's very easy to do anything in Javascript, especially because of the abundance of libraries out there. You don’t have to experience the pain process developing stuff from scratch. It’s generally not easy to make a countdown app because the nature of our calendar system which is very mess up and not well structured, so sometimes 1 year is 12 months, or  365 days sometimes less, sometimes more, and then a month can have between 28-31 days, a day is 24 hour, 1 hour is not 1/10 minutes but  it’s 1/60 and so on. Real mess, so very difficult to crush those numbers because it’s nothing like base 10 which is the number we are familiar with. Luckily in Javascript there’s tons of libraries to deal with Calendar or Date stuff, there’s one that stands out is MomentJS. So here’s a Javascript code on how you create a countdown app using javascript, in this example we are gonna do a c

Popular posts from this blog

Flutter Button With Left Align Text and Icon

How To Create Flutter Card With Example Code

ASUS Battery Health Charging Software To Make Your Battery Life Longer

How To Uninstall Angular CLI, The Angular Framework

Flutter AppBar, With Icon, Title and Actions Link