Skip to content

Commit 66451db

Browse files
author
Dronca Raul
committed
Functions
1 parent 90cb414 commit 66451db

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

JavaScript/06_Functions.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title></title>
5+
</head>
6+
<body>
7+
<script type="text/javascript">
8+
// Declaring the function
9+
function funky() {
10+
alert("Ouch!!!!");
11+
}
12+
</script>
13+
14+
<form>
15+
<input type="button" value="Touch Me" onclick="funky()">
16+
</form>
17+
</body>
18+
</html>

0 commit comments

Comments
 (0)