Top Reasons To Use Grunt - A Leading JavaScript Task Runner

Top Reasons To Use Grunt - A Leading JavaScript Task Runner

Though web development has evolved into one of the most promising fields of career, the majority of mundane work associated with the same has often refrained students from choosing the same. Fortunately, we can rely on a good task runner which can automate the tasks(for eg: compilation, liniting, minification, unit testing etc.) which need to be performed on a repetitive basis. So, if you're a JavaScript developer who's in a fuss about the effective execution of multiple tasks which need to be performed repetitively, then using the popular Javascript task runner called Grunt can work for you. Keep on reading the paragraphs that follow in this post to get a bigger picture of Grunt and reasons behind using the same as an individual and/or a team.

Convert Strings to Upper Case in JavaScript

Convert Strings to Upper Case in JavaScript

This will teach you the way to convert strings to upper case in javascript. we will use these if we've a text field needs to capitalized all inputted text or simply the 1st letter of the word.

Source :



Hope you learn from this

How to Validate Email in JavaScript with Regular Expression

JavaScript Email Validate
We have seen many Regular Expression tutorials in VB.NET and C-sharp, this is our first JavaScript tutorial on Regular Expressions. So today we’ll see how to validate an email address that's being entered to a textbox. We have a textbox and a button, when you enter something into the textbox and click on the “validate”  button it’ll tell if It’s an email address or not(being noob GRRR!).

Add our JavaScript first(make sure you add it to the head) :

Next add the input box and the validate button :


That’s all. You can use this for some kind of subscription button or register/login forms. I hope this little snippet is helpful for you.

Snippet : Javascript onmouseover and onmouseout

This snippet helps you to make buttons etc.. I have been using this for Download Buttons.

Widget to share photos,text & page

media

The best way to get traffic for your blog is from search engines and social media. Today I found a social media sharing service very impressive and attractive. Let me introduce to the service, there's a website called markely.com that promotes your blog visitors to share your blog articles in three ways.




1 : Page Sharing
page share
2 : Image Sharing
image share

3 : Text Sharing
text sharing


To install this service on your blog go to http://www.markerly.com/onboarding

Choose Social Media services + Sharing Types + Icon Color
social media
Sign up
sign up
Get your code
codes scripts
Put the code at </body> or somewhere in your template
</body tags
Verify your installation
verify install
They have a dashboard where you can see the sharing stats & etc, I hope this is helpful. Have a great day.

How To Add A Top Bar To Blogger

logo
We are going to use a service a popular one it's called AddThis . AddThis provide many services such as sharing widgets and recommended posts widget etc and we are going to use Welcome Bar . Go to addthis.com and create a new account or if you already have an account log on to your account.

Now go to https://www.addthis.com/get/welcome#.UemQQ9JgdeY and create your Welcome Bar . Design the bar as well
Design Welcome Bar AddThis
Finally get the code right after that designing place , this is my code(don't use this code)




Place that javascript below head or between body tags then as you have settled your Welcome Bar , it will appear. Thanks For Reading .

How To Put HTML,CSS,JAVASCRIPT Codes In Your Blogger Articles

covert
Yes this is my second blogger tutorial , actually this is something i had to do to solve a problem . i use alexgorbatchev.com/SyntaxHighlighter but it seems that if i use anything similar to class in any language then some span tags cover them so the code goes wrong so i was looking for something that will fix my big problem then i found prism.js so i tried it and it's really great those span tags were not there so i wanted to share this with you .

Details of the script

/**
 * prism.js default theme for JavaScript, CSS and HTML
 * Based on dabblet (http://dabblet.com)
 * @author Lea Verou
 */

So to use it in your blogger blog or normal website , just add these under your head tag

Usage :


replace markup with your language name :).

by the way they also provide themes and plugins also you can select the languages , just go to prismjs.com and then go to download there you will be able to select the languages and plugins finally download the css and js.

Hope you like this tutorial , peace.

How To Make A Simple Digital Clock Using Javascript

digital clock javascript !!!!!

i remember i have written a tutorial on making a clock using javascript before but i know that it was not explained and that codes were not clean so i thought make it again with nice codes . first we need to create a html document to make a the javascript codes work or make the javascript functions work so go ahead and create a new html document and type the regular html tags and under head tag add these codes




now close the head tag and start the body tag now put these codes there




now close the body tag and check your html page boom ! a small digital clock in javascript ! you can also use some awesome css and some other things to make this beautiful !

How To Count Number Of Characters Using html and Javascript

hello guys , i have had an idea to make something what the title says so on i am here with a small tutorial on making what the title says . we will be using html and javascript by the waythe whole code is just 20 lines including html tags ok now open your favorite text editor and create the html tags (html,head,body) after that  go under head tag and we will use a function so put these



alright now go under body tag and put these

Insert text to You want to count:
ok now save it as you want dont forget to give the extension to php or html , i recommend php

here is a preview of what you created



How To Display Time In Javascript

ok this is a simple clock i mean its a digital one but its real time , the javascript is down here

How To Display Date In Javascript

i am making this as very small because i have many things to post oj here is the code



you can place any where in your html page easily

How To Make A Simple Stopwatch In Javascript

this is the look of the stopwatch

the script add it below head
this is the form code

thanks for reading

Javascript Popup Message Box

this is something very simple and it seems like this


just add this somewhere else in you html