From 98d6a06a02388515e0b49eca996f7fb0d0387e08 Mon Sep 17 00:00:00 2001 From: saksham3100 Date: Sat, 15 Nov 2025 19:46:56 +0530 Subject: [PATCH 1/2] Commit msg --- README.md => LIT2025055/README.md | 0 LIT2025055/index.html | 50 +++++++++++++++++++++++++++++++ script.js | 35 ++++++++++++++++++++++ 3 files changed, 85 insertions(+) rename README.md => LIT2025055/README.md (100%) create mode 100644 LIT2025055/index.html create mode 100644 script.js diff --git a/README.md b/LIT2025055/README.md similarity index 100% rename from README.md rename to LIT2025055/README.md diff --git a/LIT2025055/index.html b/LIT2025055/index.html new file mode 100644 index 0000000..df6e655 --- /dev/null +++ b/LIT2025055/index.html @@ -0,0 +1,50 @@ + + + + + + + Aj Hogi Js Bhenkrr Wali + + + + + + +

Heading

+

+ Lorem ipsum dolor sit amet consectetur adipisicing elit. Animi possimus ipsam modi error quaerat dolorum + mollitia corrupti rerum reprehenderit vero eos iure saepe accusantium consequatur, tenetur ratione odio adipisci + corporis deserunt magni! Repellat, sequi nihil officia nobis nam ex! Temporibus quam perspiciatis ullam nam ea + reiciendis, numquam commodi ipsum delectus. +

+

Heading2

+
+

something

+
+ + + + + \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..a049fae --- /dev/null +++ b/script.js @@ -0,0 +1,35 @@ + + + +class Tree { + + constructor(type, age) { + this.age = age; + this.type = type; + + } + + + getFruit() { + if (this.type == "mango" || this.type == "apple") { + console.log(this.type + " fruit"); + } else { + console.log("No Fruit"); + } + } +} + +let mangoTree1 = new Tree("mango", 10); +mangoTree1.getFruit(); +let anotherTree1 = new Tree("idontknowman", 1); +anotherTree1.getFruit(); + + + +function color(){ + let element = document.getElementById('body') + if(element.style.backgroundColor == "pink"){ + element.style.backgroundColor ="white"; + }else{element.style.backgroundColor = "pink"}; +} + From a4ac244615bd90743b1a65be50a3d49f82fea54e Mon Sep 17 00:00:00 2001 From: saksham3100 Date: Sat, 15 Nov 2025 19:50:31 +0530 Subject: [PATCH 2/2] Commit msg --- LIT2025055/README.md | 9 --------- script.js => LIT2025055/script.js | 0 2 files changed, 9 deletions(-) delete mode 100644 LIT2025055/README.md rename script.js => LIT2025055/script.js (100%) diff --git a/LIT2025055/README.md b/LIT2025055/README.md deleted file mode 100644 index eb55627..0000000 --- a/LIT2025055/README.md +++ /dev/null @@ -1,9 +0,0 @@ -## SUBMIT YOUR PR IN A FOLDER NAMED WITH YOUR ROLL NUMBER - -### FORK THE REPO -### CLONE YOUR OWN FORK -### CREATE A FOLDER NAMED WITH YOUR ROLL NUMBER -### ADD YOUR CODE FILES IN THE FOLDER (git add .) -### COMMIT YOUR CHANGES (git commit -m "Your message") -### PUSH YOUR CHANGES (git push origin main) -### CREATE A PULL REQUEST FROM YOUR FORK TO THE ORIGINAL REPO diff --git a/script.js b/LIT2025055/script.js similarity index 100% rename from script.js rename to LIT2025055/script.js