Slash Coding moved to New Hosting

Hey Readers! It is an immense pleasure to tell you all that Slash Coding has been finally moved to a new web hosting server. It was required to take this step because of the increase in traffic in the past few weeks. Initially, I had signed up for a hosting plan from Server Villa, which provided me with 1GB of storage space, which I was not even able to fill 20% (trust me, it’s a lot of space!) and with 10GB of Bandwidth. ...

December 4, 2013 · 3 min · Aneesh Bhatnagar

5 Tips to Speed up Website Loading time

Website loading time is a statistic, that measures the amount of visitors you get on your website or your blog. Definitely, a website which loads faster will attract more visitors, as compared to a website which loads slower. Google also ranks you based on your website loading time and the size of the page. There are various ways using which you can figure out these statistics, but the most common tool that I use is the Pingdom Tools. Head over to their website to know more about your website. ...

December 2, 2013 · 4 min · Aneesh Bhatnagar

Why Developers Must Keep Backup of Old Code?

Developers and designers must always keep backup of their old work. For developers, and designers alike, their old work provides them with various things, which we can also classify as the reasons to keep backup of old code (or designs for designers). When I say developer and code, but if you are a designer, read it as designer and old design. It saves me writing additional, and unnecessary words in this article. ...

November 30, 2013 · 4 min · Aneesh Bhatnagar

Bootstrap Framework: Explained and Reasons to Choose

Bootstrap Framework is one of the most common front-end website development frameworks. It has become one of the most common because of various reasons, but I am not here to discuss any such reasons. I am here to explain to you what is the Bootstrap framework and a few reasons to choose this framework over regular, non-framework web designing. Well, if you don’t know what the Bootstrap framework is, let me start by telling you this._Bootstrap is an open-source JavaScript framework **developed by the team at Twitter**. It is a **combination of HTML, CSS, and JavaScript** code designed to help build user interface components. Bootstrap was also **programmed to support both HTML5 and CSS3**._ ...

November 20, 2013 · 3 min · Aneesh Bhatnagar

5 Shortcuts for Completing Programming Task in Time

Shortcuts for completing a lot of tasks is a must. Whenever we are burdened with a lot of work, or when we have to meet a deadline, it is advisable to use shortcut methods to complete the tasks. Though, using shortcut methods does not mean that you can compromise on any requirements of your work. It simply means finding out different ways to help you complete the task easily or in a better way. ...

November 13, 2013 · 4 min · Aneesh Bhatnagar

Compress CSS files to Boost Loading Time

Last week, I discussed with you all how to improve your page loading time by implementing Lazy Loading on your webpage. Well, that’s not the only thing you can do to improve your page loading time. There are various other ways and one of them is to compress your CSS files. Sometimes, compressing of CSS files is called **Minify**, as it decreases the lines of code in the CSS file. In case you missed my earlier article on how to Lazy load images on your webpage, you can go ahead and read it now. ...

November 7, 2013 · 3 min · Aneesh Bhatnagar

Create Custom Toasts in Android

In Android apps, programmers generally like to display a few important messages by making use of a toast. Just like in a webpage, developers make use of JavaScript alert boxes, in a similar way, the toasts work for the Android developers. If you do not know what a toast is, let me show it to you with the help of an example. The image shown below contains a toast at the bottom of the screen. If you wish to read more about toasts, you can do so by heading over to the official Android Developer website. ...

November 4, 2013 · 4 min · Aneesh Bhatnagar

Lazy Load Images to Boost Webpage Load Time

Creating Fast and quick loading web pages are the things a client wants these days. Moreover, the developer themselves want to create such pages. There are various ways to boost up your page loading time, one of them being optimizing your images for a quick page load. Now, to optimize your images, there are two things you can do, either decrease the quality of your image and reduce its size or you can Lazy load your images with this trick to decrease your page loading time greatly. ...

November 1, 2013 · 3 min · Aneesh Bhatnagar

Create an Animated Background using CSS

Creating an animation is sometimes considered vital for various projects. But loading your website with flash animations can make the load time for your webpage quite high! So, to avoid increasing your page load time and the time you spend in creating that flash animation, you can simply use CSS to implement a simple animation on your web page. There are various advantages of using CSS to implement a simple animation, which include reducing the page load time, reducing your development time and various other things. Keeping all these in mind, I thought of sharing this simple tutorial with everyone on my blog. Well, here is the simple tutorial for you. For this tutorial, I would be using a pretty common cloud image, which suits pretty well for our animation. If you want, you can save this image from below and use it for this tutorial. ...

October 29, 2013 · 3 min · Aneesh Bhatnagar

Create a Collapsible element using JavaScript

Sometimes hiding or showing some content to the user is to be decided. For instance, you are writing down the review of a movie and you don’t want the user to know the suspense by default. So, you can tell the user that this is a Spoiler Alert. If the user wants to read it, he or she can read it otherwise it will remain hidden to the user! Making such a thing is pretty easy but requires you to decide if you want the user to see the data by default or it must remain hidden by default. It totally depends on your application of this tip. Well, let’s get started writing down some basic HTML and CSS first. If you already don’t use Notepad++ for writing your codes, I recommend you to go ahead and get that at first. Read more about Notepad++ in my earlier article. ...

October 24, 2013 · 3 min · Aneesh Bhatnagar