Skip to main content

Posts

Showing posts from December, 2016

JavaScript (Event Handler)

JavaScript Event Handler Welcome back.... Now, we're going deep in JavaScript. Let's learn JavaScript EventHandler . What is EventHandler in JavaScript? JavaScript Handler is a set of code that will run when user do something in the web pages, for example 'clicking' the windows or closing the windows. There a few common EventHandler Rather being too confused on that, let's practice it! 1. Alert Type 2. Input Data Input Data NB : More content will be updated... stay tuned.

Javascript Introduction

Hello guys, i'm gonna teach you something important that you all must understand. It's javascript!. JavaScript is a script language in HTML codes and processed in client(browser). What are the advantage of using Javascript ? : Javascript can validate all input from user Javascript is dyanamic and interactive for web Javascript don't need a compiler to run Javascript is used in HTML,web,Computer application,laptop and so on Javascript can be run even offline.     Let's write a simple script using JS :  It will print "Hello world" in HTML.. , that's just a simple JS codes. Location of JavaScript in HTML Document. 1. Internal   <script> tag is written between <head> and </head> elements. To call JavaScript function, put the caller in the body of HTML documents between <body> and </body> elements. 2. External  If you wanted to seperate your HTML documents and JS, you can use this method by: <script language="java...