diff --git a/course.txt b/course.txt
new file mode 100644
index 0000000..ac538e1
--- /dev/null
+++ b/course.txt
@@ -0,0 +1,13 @@
+Main Headingd;
+*Add "or Pre-Primary school";
+
+Our Courses:
+Computer Course,
+Vocational Course,
+ITI Course,
+Pre-Primary Franchises,
+
+
+Heritage English Medium School
+Mordern Heritage Academy,
+StarLight Academy,
\ No newline at end of file
diff --git a/public/assets/cow.png b/public/assets/cow.png
new file mode 100755
index 0000000..28952af
Binary files /dev/null and b/public/assets/cow.png differ
diff --git a/public/assets/rose.png b/public/assets/rose.png
new file mode 100755
index 0000000..9215ecd
Binary files /dev/null and b/public/assets/rose.png differ
diff --git a/public/assets/svg/canvas1.svg b/public/assets/svg/canvas1.svg
new file mode 100644
index 0000000..0dba669
--- /dev/null
+++ b/public/assets/svg/canvas1.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/public/assets/svg/canvas2.svg b/public/assets/svg/canvas2.svg
new file mode 100644
index 0000000..529a58e
--- /dev/null
+++ b/public/assets/svg/canvas2.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/pages/drawing-game.astro b/src/pages/drawing-game.astro
new file mode 100644
index 0000000..73e6c32
--- /dev/null
+++ b/src/pages/drawing-game.astro
@@ -0,0 +1,97 @@
+---
+import Layout from '../layouts/Layout.astro';
+---
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/drawing/index.astro b/src/pages/drawing/index.astro
new file mode 100644
index 0000000..e4fe25a
--- /dev/null
+++ b/src/pages/drawing/index.astro
@@ -0,0 +1,258 @@
+---
+import Layout from '../../layouts/Layout.astro';
+---
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/drawing/temp.astro b/src/pages/drawing/temp.astro
new file mode 100644
index 0000000..e69de29
diff --git a/src/pages/tick/temp.astro b/src/pages/tick/temp.astro
index 69a3858..7717d49 100644
--- a/src/pages/tick/temp.astro
+++ b/src/pages/tick/temp.astro
@@ -1,25 +1,40 @@
- Checkbox Example
+ Checkbox Array
-
-
-
+
diff --git a/src/pages/tick/index.astro b/src/pages/tick/varient1.astro
similarity index 83%
rename from src/pages/tick/index.astro
rename to src/pages/tick/varient1.astro
index 49ebaac..95fd38b 100644
--- a/src/pages/tick/index.astro
+++ b/src/pages/tick/varient1.astro
@@ -12,26 +12,26 @@
@@ -60,25 +60,39 @@
document.getElementById("image5").src = assetsURL + gameData.image5;
document.getElementById("image6").src = assetsURL + gameData.image6;
});
+ // const saveButton = document.getElementById('saveButton');
+ // saveButton.addEventListener('click', function() {
+ // const checkboxes = document.querySelectorAll('.myCheckbox');
+ // const checkedValues = [];
+ // console.log(checkedValues)
+ // if(checkedValues == gameData.a1){
+ // console.log(gameData.a1)
+ // }
+ // checkboxes.forEach(function(checkbox) {
+ // if (checkbox.checked) {
+ // checkedValues.push(checkbox.value);
+ // // console.log(checkedValues);
+ // // console.log(gameData.a1)
+ // // let value1 = checkedValues = 'a1';
+ // }
+ // });
+ // // if(checkedValues == gameData.a1) {
+ // // console.log("Matched")
+ // // }
+ // // console.log('Checked Values:', checkedValues);
+ // });
+
var checkBoxes = itemForm.querySelectorAll('input[type="checkbox"]');
function getData() { // this function will get called when the save button is clicked
result = [];
- // console.log(result)
+ console.log(result);
checkBoxes.forEach(item => { // loop all the checkbox item
if (item.checked) { //if the check box is checked
let data = { // create an object
- item: item.value,
- selected: item.checked
- }
- console.log(data)
-
- let data1 = gameData.a1 = true;
- let input1 = data.item = 'a1';
- if(input1 = data1){
- console.log("its Matched")
- } else {
- console.log("Its Unmatched")
- }
+ item: item.value,
+ selected: item.checked
+ }
+ console.log(data.selected);
result.push(data); //stored the objects to result array
}
})
diff --git a/src/pages/tick/varient2.astro b/src/pages/tick/varient2.astro
new file mode 100644
index 0000000..9d4d6fc
--- /dev/null
+++ b/src/pages/tick/varient2.astro
@@ -0,0 +1,185 @@
+
+
+
+
+
+
+
Tick
+

+
+
+
+
+
+
+
+
+