Web Development Tools To Increase Development Speed Like PRO

Web Development Tools To Increase Development Speed Like PRO

Web development is a very dynamic field new trends come and go and you have to keep up with them else you will be left behind. I agree with your point that creating a website from scratch is not an easy task you have to keep in mind many things like best design principles, code refactorization, and other stuff like that. From browser addon to text editor packages I have coved all the essential tools to sky-rocket your web development process like never before and I am constantly updating the list. So, Let's dive right in.

Development Tools

1. Sublime Text 3


One of the best and most use text editor for frontend development purpose. It is a fast and user-friendly editor, written in Python. You will get a default HTML boilerplate in it no need to install an additional package for that. Additionally, you don't have to necessarily use emmet package on sublime text editor but I recommend to install it why I am saying that because you get most of the features preinstalled in the text editor. In my opinion, it is the best editor if you are a front-end developer. Moreover, you can edit more that one line at the same time. AMAZING!!

2. Visual Studio Code


One of the intelligent text editors out there, If you are working on the backend this text editor can be a boon for you to reduce time not typing the same line of code again and again. It will help you to auto-complete your code line with more accuracy than another text editor can do, there is less editor which will generate a drop-down popup with more accurate code suggestion, You can use C9 as an alternative but its paid. you have to purchase a premium plan. and here you are getting it for free. moreover, they are providing pre-installed git with the editor.It is extensible and customizable too.

3. CodePen


One of my favorite editor to test quick project and test functionality of elements in my website, like the grid system, button, links what not. The main reason for its popularity is that it is fast you don't have to open your browser every time and refresh the page to see the change. It does that instantly for you. You can share your work on the go and show off or help the community may be. If you think CodePen is the only one for this job then let me tell you there are more website like that JSFiddle, CSSDeck, JSBin, LiveWeave.

HTML Resources

1.HTML5 Reference by MDN


I don't have much to say about it. One of the biggest and the oldest HTML Reference by Mozilla. You can search any topic of your need copy it and past it and tweak it as per your requirement. As simple as that.

CSS Tools

1.ColorZilla Addon


CollorZilla addon is a must-have tool for your browser. Sometimes I like a color from a website or from an image I found online like google images. what I use is this CollorZilla color picker tool to copy the hex value of the color and use it in my projects. Very helpful to me.



This is a tool help you create various type of shapes with the clip-path property of CSS. on this website you will have a huge range of shapes to chose from and select your desired one and copy the auto-generated code and use it in your project, You can also tweak the predesigned shape as per your need and change the background color also the size too.

3.UI Gradients


This one is my favorite I often use gradient colors in my projects to create one from scratch it will waste a lot of my time. So this tool helps me the most at that point in time I simply go to their website and select some random color combination and copy the code and BOOM all done. You get the web prefixes with the code too.

4.Color Hunt


If you are not a designer kind of a guy or you are very confused about which color to use in the theme. This could be a heaven for you. You will get a lot of predesigned color combination which you can use them. Just use the color picker tool I suggested above and use it on them and create the custom color pallet of your choice.

Optimization And Testing

1. Optimizilla


If you want to make your blog or website faster and reduce the load time on mobile and desktop. you have to reduce the image size by compressing the image. But it is a risk to compress the image if you reduce the quality of the image, But with optimizing, you will not suffer from that. You can compress an image up to 20mb.

दुनिया के अजब-गजब रहस्य

दुनिया के रहस्य देश-दुनिया के कई सारे रहस्य हैं जो हम आपको आगे बताने जा रहे हैं।
देश-दुनिया के कई सारे रहस्य हैं जो हम आपको आगे बताने जा रहे हैं।
आइसलैंड सबसे खुशहाल 
आइसलैंड सबसे खुशहाल राष्ट्र है। एक मात्र ऐसा देश है जिसके पास आर्मी नहीं।

पेड़ पर सोते भालू
क्या आप जानते हैं कि काले भालू कभी-कभी पेड़ पर भी जाकर सो जाते हैं।
टोकेलाऊ में बिजली 
टोकेलाऊ एक मात्र ऐसा द्वीप है, जहां बिजली सिर्फ सौर्य ऊर्जा से आती है।

अगर बिल्ली की हत्या की
प्राचीन मिस्र में बिल्ली की हत्या करने वाले को सजा-ए-मौत दी जाती थी।
समुद्री डाकू 
समुद्री डाकुओं के जहाज का झंडा काला नहीं लाल हुआ करता था।
अंटार्कटिका में 400 झीलें
अंटार्कटिक में बर्फीली जमीन के अंदर 400 से ज्यादा झीलें हैं।

आवाज़ से आग
एक ऐसी डिवाइस भी है, जो आवाज से आग पैदा कर देती है।

पृथ्वी का आकार
अगर अर्थ धूल के कण के बराबर है तो सूर्य संतरे के बराबर होगा।

सबसे ज्यादा बिकने वाले पिज्जा पर फंगस की टॉपिंग होती है। वो है मशरूम।
यूरेनस पर दो मौसम
यूरेनस ग्रह पर सिर्फ दो मौसम होते हैं, सर्दी-गर्मी। प्रत्येक मौसम 42 साल तक रहता है।
मनुष्य का दिल
 मनुष्य का दिल 30 फीट की ऊंचाई तक रक्त को फेंक सकता है।

प्लूटो का नाम 
1930 में प्लूटो का नाम इंग्लैंड की 11 साल की बच्ची के नाम पर पड़ा था।
प्राीचन काल में ग्रीस में मान्यता थी कि मानव मांस खाने से इंसान भेड़‍ियां बन जाता है।

केंचुआ का भोजन
एक केंचुआ हर रोज अपने शरीर के वजन के बराबर भोजन करता है।
दिमाग में बिजली 
हमारे दिमाग में इतनी बिजली होती है, कि उससे एक बल्ब जल सकता है।

If you liked it please, SHARE it with others.
all credit gose to oneindia.com

How To Display MongoDB Data In Reverse In EJS

How To Display MongoDB Data In Reverse In EJS

Hopefully, you tried everything to fetch MongoDB data and display it in reverse order in EJS (Embedded JavaScript). The problem you are facing is when you create new data and try to fetch it in your EJS file, the new one showing down below the old data, Am I right? If that is the problem you are at the right place. In this Web Development tutorial, I will help you overcome this issue.So not wasting Much time lets get started.

Recently I was working on a MEAN Stack project creating a Social Media to collaborate students and teachers in college or school. Where Student can post a new question like status we do a status update on facebook where the new update is shown on top of the old one when we refresh the page. I wanted to achieve that functionality in my Web App. I struggled a lot solving that issue. But it is not a big problem all you have to do is to use one javaScript function. As simple as that.

 Below is the Snapshot of the Problem I was facing.

Writing the New Post.

new post crankyview

New post display at the bottom of old posts after the update.

mondodb error

And a screenshot of the desired result wants I wanted.

mongodb error fixed

And this is how I achieved it.

reverse function javascript

Just use JavaScript reverse( ) function with a forEach loop to reverse the order.

Let me explain you.
ForEach loop in JacaScript is actually an updated version of basic for loop where you don't control the way of iteration with our custom iteration algorithm like we use to do with for loop

for(var i=0;i <=n; i++)
 //your content here...

As we don't have the ability to alter the predefined forEach loop algorithm. What we can do is using other javaScript functions with the loop. and thankfully we have one to reverse the order that is reverse() function.
I am fetching the post from Post schema from my models' directory and iterating over the data with a forEach loop in a reverse order with reverse() function.

That`s it. Hope this helps. If you have any problem give me a chance to help you. Thanks for reading.

BCA 3rd Semester 2018 Question Paper All Subject

wbut img
All subjects Question Papers of Stream BCA 201 3 Semester exclusively on Cranky View.

Graphics And Internet

Data Structures With C

[must read]- How to pass Wbut Exam.

Management And Accounting

[must read]- How to pass Wbut Exam.

Operating System

Mathematics For Computing

BCA 2nd Sem Question paper 2017.

Never miss any updates just subscribe us. 
Thank You.

How To Insert Code Box In Blogger Post In Just Easy 8 Steps.

cranky view leonardo meme

How To Insert Code Box In Blogger Post In Just Easy 8 Steps.

If you have a coding blog where you add web development or machine learning codes one like mine, and you don't have a plugin to add code snippet in your blogging platform like in the case of blogger. I personally struggled for that but later I came to know about Hilite, I wish I knew about it earlier. But now I am aware of, it made my life very easy. Follow me until the end I will tell you how it will work.

Hilite is a free open source web application created by Alexander Kojevnikov made on python on Flask framework. blah blah and all those stuff. You don't have to read all these. Let me tell you how it can make your life easy and how to implement hilite in your blog. Trust me its simple.


1. Go to Hilite.me

2. Enter Your code in the Source code Box on the page.
enter code

3. Select the language of your code from language dropdown list.
select lang

4.Select color of your choice. it will change the background color of the code box.

5. Now if you want to add line numbers make sure you checked that box beside select color option.

6. Finally Highlight button at the bottom.
hilite hilight

You will get the preview of the code that is how the code will look like on your blog.
hitite sample

7.Now copy the content inside the box called HTML and paste it into your blog post HTML section where ever you want. You are done.
hilite html

8. Go to HTML tab in your post and add the copied code there.

html tab

Tell me how it is looking in the comment section. I will definitely read your comment.
Thank you.

How To Customize Your Browser To Save Time Like Pro.

I know it is a bit hard when you are reading an article on Wikipedia and then suddenly you want to copy one URL on that page and use it somewhere else. what would you do? As simple, you would hit your right mouse button and click the copy the URL option with your left button. Now what I would do, simply press "yy" on my keyboard, done. that`s all on how to copy the URL on a page of your desire. 

now talking

Impressed? Then stay with me.

Here is another situation, you are reading one article or some web development HTML or CSS or maybe javascript code.What you would you do, using the arrow keys on the keyboard to scroll down here is one alternative use "J" to scroll Down and use "K" to scroll up.

I want something more impressive!

Now if you directly want to go to the end of one page then what would you do 
1. Scroll with the mouse until the page ends.
2. Press and hold the arrow key until the scroll bar ignores you.
Here is a PRO way to achieve it. 
Simply press "G" if capslock is on else "Shift+g" BOOM! you did it.
Isn't cool? Yes indeed.

toy story meme

Another worst situation,

Imagine you are browsing a webpage which has a hideous design, suppose you are scrolling down and suddenly there is a section which has content displaying horizontally, then you have to move your cursor to that scroll bar and drag it to right or left. But I have one button alternative I will press "l" to scroll right and "h " to scroll left as simple as that.

What about finding something on a page?

What will you do to find something on a web page you would definitely press "CTRL+ F" to find I would press "/" to search and to find a next match I would press "n" that's all.

gramdma meme

An alternative for reloading any page.

What will you do to reload a page you will definitely press "F5" or "CTRL+ R" I will press "r" that's all.

Open bookmarked pages like searching the web.

What will you do to open a page bookmark I will press "o" and search the bookmarked site on your browser.

Here`s the Big Question?


Now the question arises how I am doing that? Its called Vimium magic "Vimium" a simple addon for chrome and firefox. One of the useful addon everyone must use. If you are not using it, you are wasting your time doing the old stuff.

What if you forgot those shortcut. 

Simply press "SHIFT+ /" button or "?" on your keyboard and the shortcut help box will pop up like this.

Can I create my own Shortcuts?

Yes, you can by pressing "SHIFT + ?" pop up window will open now click option.

New window tab will open and go to the second TextArea on the page.

key binding
remove all the text from that box and suppose you want to make "e" to scroll down that type.
unmap jmap e scrollDown

The first line is to unmap the previous key and the second one is to assign a new key.
And then press "CTRL + Enter" to save the change. 

hard part meme

Who is it for?

1.If you are a developer and want to save time on searching your queries around the web you should have this.
2.If you love to read articles on your favorite website that is Crankyview.in maybe! the Vimium is must for you.

Now you can think like a HACKER MAN.


What are Progressive Web Apps? Explained.

What are Progressive Web Apps? Explained.


As we know progressive we apps are here and there is a huge buzz about it. What is the reason behind? The web is the largest software platform ever created that works on any device, anywhere.
That is the thinking behind Progressive Web Apps (PWA), these are the mobile-friendly websites that can do anything not less than native mobile apps. You might have come across to prompts popping up asking you, Make Shortcut to Home Screen. If you have ever visited twitter on the browser, not with its native mobile app. You might have encountered this situation.

Why It`s for you.


Mobile apps can take a lot of storage space on your device. If you had installed Twitter App from Play store before you might have noticed it is of 48 to 49 MB app, but PWA version of Twitter is merely some KB`s. You can see the difference, and most importantly it has most of the features the native app has.You don't need to download an app to get all the killer features like push notifications, location service etc. Your browser can itself become a hub of everything you do on your mobile phone.

How PWA work.

progressive web apps

Its quite simple, progressive web app builds on web standards called service workers, HTTPS and web app manifests. The service workers let developers build websites that can work when there’s no network. The Web App Manifest lets users do things like pin the app to their home screens, or interact with web apps as if they were native.The main motive is to make something that will work without internet and can be launched right from your mobile home screen.

What PWA can do.

disaster girl meme

Companies are looking for websites that can do everything what a native can.  according to 2017 US mobile app report by comSource that, people use mobile apps more than the browser to access the service of a website that has both website and a native app for their service. Agreed that apps are fast robust. They offer push notification, location service, background services and many more. So it is as simple as that if you want more customer, want to reach more people you should make a mobile app,  and its a hell lot of work. That the reason why companies are focusing on progressive web apps, a website that can do everything a native app does. Progressive web apps can use GPS, motion sensor, face detection, gyro sensor and more. it can pave the way for Augmented reality and Virtual reality experience. right on the web. Remember the app Lenskart, Ditto Feature. Ditto is a company which provides its service to its partners like lenskart. So to use that feature we need the native app which will consume more space so here is an alternative, build a PWA version of that app. 

How to use Progressive web app.

Hopes this will help to understand the concept of Progressive web apps.