Professional Documents
Culture Documents
In this lesson, we will study how to program using Javascript. We will cover how to
use variables, data types, and conditions in Javascript. We will create a simple
transaction and dynamic webpage that has Javascript.
• Ice breaker
• Discussion
• Programming Demo
• Assessment Task
HTML/JavaScript Events
Event Description
onchange An HTML element has been changed
onclick The user clicks an HTML element
onmouseover The user moves the mouse over an HTML element
onmouseout The user moves the mouse away from an HTML
element
onkeydown The user pushes a keyboard key
onload The browser has finished loading the page
Intended Learning Outcomes (ILO)
Programming Terminologies
Example :
100
int a =100 ;
String StudentName;
a
Intended Learning Outcomes (ILO)
Programming Terminologies
Transaction
Mathematical operation
SAMPLE OUTPUT OF THE JAVASCRIPT PROGRAM
Source Code of the HTML and JAVASCRIPT
<!DOCTYPE html>
<html>
<head><title>Javascript Sample </title>
<script language=javascript>
function acceptInput()
{ var studName=frmsample.txtname.value;
var program= frmsample.txtprogram.value;
var laboratory=frmsample.txtlab.value;
var library=frmsample.txtlibrary.value;
var registration=frmsample.txtregister.value;
continuation
</head>
<body><center>
<h1>Student Records</h1>
<table width=500 border=1>
<form name=frmsample>
<tr><td>Full Name</td>
<td><input type=text name=txtname size=35></td>
</tr>
<tr><td>Program</td>
<td><select name=txtprogram>
<option value=" ">
<option value=BSIT>BSIT
<option value=BSCS>BSCS
<option value=BSIS>BSIS
</td>
</tr>
continuation
In this lesson, we were able to describe the internet as the global system of
interconnected computer networks. We have discussed some important dates
pertaining to the historical overview of the internet and we have mentioned some
important persons who made the internet possible. They are Leonard Kleinrock,
Larry Roberts, Vint Cerf, and Robert Kahn, Raymond Tomlinson, Sir Tim Berners-Lee,
Barry Shein, Tim Berners lee, and lastly Marc Andersen and Eric Bina who created the
first web browser.
4) Persons who made the Internet Possible, (2020) Retrieved from
https://home.bt.com/tech-gadgets/internet/11-people-who-made-the-internet-possible-11363996346738