Category Archives: JavaScript

How to Use JavaScript

JavaScript Buttons onClick Event getElementById

JavaScript Buttons onClick Event getElementById

In this tutorial we are going to use JavaScript Buttons onClick Event getElementById. First thing to know is that we can give any HTML element an id. Here are some examples, we are giving every one of the HTML elements an id of test. We can target any kind of html element that has an Read More

Cool People Share:

JavaScript document.getElementById Edit Background Color

JavaScript document.getElementById Edit Background Color

JavaScript document.getElementById Edit Background Color We can use JavaScript like CSS to style a div element on a page to edit the background color. Lets say that you have a div id on a page called “topright” and you wanted to change the color to red with JavaScript. Use the code below to change the Read More

Cool People Share:

How to Use JavaScript Alerts Functions Variables

How to Use JavaScript

Q. What is JavaScript? A. JavaScript was created in 1995 by Netscape Communications Corp by a man named Brendan Eich and is designed to bring interactivity to webpages and creating web applications. Originally called LiveScript, it is an object oriented language, meaning it can use and support objects. While it may be known to be Read More

Cool People Share:

How to redirect to mobile site

MOBILE FRIENDLY WEBSITES

How to redirect to mobile site Redirect to mobile site because its easy! So you have your website set up and a mobile friendly site but you still need to redirect to mobile site. What we can do is use java script to figure out what size screen the user is using. If they surfer Read More

Cool People Share: