From d678dd98e4ab9b45e3e941e9002054ef639d1cfb Mon Sep 17 00:00:00 2001 From: Kamal Wickramanayake Date: Sat, 27 Jun 2026 19:30:40 +0530 Subject: Added some JavaScript sample projects --- javascript/01-console-print/index.html | 17 +++++++++++++ javascript/02-button-click/index.html | 25 +++++++++++++++++++ javascript/03-calculator/index.html | 44 ++++++++++++++++++++++++++++++++++ 3 files changed, 86 insertions(+) create mode 100644 javascript/01-console-print/index.html create mode 100644 javascript/02-button-click/index.html create mode 100644 javascript/03-calculator/index.html (limited to 'javascript') diff --git a/javascript/01-console-print/index.html b/javascript/01-console-print/index.html new file mode 100644 index 0000000..2b8156a --- /dev/null +++ b/javascript/01-console-print/index.html @@ -0,0 +1,17 @@ + + + + + Page Title + + + +

Hello world!

+ + + + + diff --git a/javascript/02-button-click/index.html b/javascript/02-button-click/index.html new file mode 100644 index 0000000..335d7d9 --- /dev/null +++ b/javascript/02-button-click/index.html @@ -0,0 +1,25 @@ + + + + + Page Title + + + +

Welcome to my page!

+ + + + + + diff --git a/javascript/03-calculator/index.html b/javascript/03-calculator/index.html new file mode 100644 index 0000000..fc2398b --- /dev/null +++ b/javascript/03-calculator/index.html @@ -0,0 +1,44 @@ + + + + + Calculator + + + +

Calculator

+ + Number 1:
+ Number 2:
+ +
+ + Result: + + + + + -- cgit v1.2.3