Skip to content

Instantly share code, notes, and snippets.

View npras's full-sized avatar
😃
Coding all the time

Prasanna Natarajan npras

😃
Coding all the time
View GitHub Profile
@npras
npras / Unselectable-Text.markdown
Created April 2, 2014 11:48
A Pen by Prasanna N.
@npras
npras / Placeholder-color.markdown
Created April 2, 2014 11:53
A Pen by Prasanna N.
p {
font-size: 14px;
text-align: center;
color: orange;
}
@npras
npras / js_fn_def_and_calling.js
Created March 17, 2016 07:47
javascript function definition and calling syntax
// this is function definition.
// you can make a function take zero or more arguments (also called as parameters)
// This Dog fn takes one argument: 'name'
function Dog(name){
return "hello, my name is: " + name;
}
// calling the Dog function
Dog('tommy'); // this will return "hello, my name is: tommy"