Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
7918ed9
Remove unused HTML files and assets from various days of the project,…
AdityaChauhan-star Sep 13, 2025
d941cc9
Refactor CSS comments and clean up unused styles for better readability
AdityaChauhan-star Sep 14, 2025
ab72af7
Remove unnecessary whitespace in CSS for cleaner code
AdityaChauhan-star Sep 14, 2025
88255f3
Merge branch 'coderarmy-notes:main' into main
AdityaChauhan-star Sep 22, 2025
fb79901
add initial HTML and CSS files for layout structure
AdityaChauhan-star Sep 22, 2025
26dd6bd
Merge branch 'coderarmy-notes:main' into main
AdityaChauhan-star Sep 29, 2025
6fae941
Merge branch 'coderarmy-notes:main' into main
AdityaChauhan-star Oct 5, 2025
09456f4
Update container styles and adjust animation properties
AdityaChauhan-star Oct 5, 2025
6ff0371
Merge branch 'coderarmy-notes:main' into main
AdityaChauhan-star Oct 20, 2025
2c2acb8
Refactor string manipulation examples and comment out unused code
AdityaChauhan-star Oct 20, 2025
85198f5
Practice
AdityaChauhan-star Oct 20, 2025
38df851
practice
AdityaChauhan-star Oct 20, 2025
7daf78f
Uncomment date and timestamp code examples for clarity
AdityaChauhan-star Oct 20, 2025
f905c92
update
AdityaChauhan-star Oct 21, 2025
bc25c78
Merge branch 'coderarmy-notes:main' into main
AdityaChauhan-star Oct 21, 2025
dbcee48
Refactor comments for clarity and consistency in array operations
AdityaChauhan-star Oct 21, 2025
fde6ab1
Comment out console.log statement for unused symbol reference
AdityaChauhan-star Oct 21, 2025
fd5dc67
Comment out order placement and payment functions for future reference
AdityaChauhan-star Oct 22, 2025
14a5508
Merge branch 'coderarmy-notes:main' into main
AdityaChauhan-star Oct 24, 2025
1f0b38f
Merge branch 'main' of https://github.com/AdityaChauhan-star/mern-sta…
AdityaChauhan-star Oct 24, 2025
57f4f00
Merge branch 'coderarmy-notes:main' into main
AdityaChauhan-star Oct 28, 2025
2d57196
Update list structure in index.html and adjust lister position in fir…
AdityaChauhan-star Oct 28, 2025
5f2e55c
Merge branch 'coderarmy-notes:main' into main
AdityaChauhan-star Nov 15, 2025
3703695
Add additional color buttons to index.html
AdityaChauhan-star Nov 15, 2025
6ea612a
Merge branch 'main' of https://github.com/AdityaChauhan-star/mern-sta…
AdityaChauhan-star Nov 15, 2025
5581f09
Add comment for Promise Chaining section in index.js
AdityaChauhan-star Nov 16, 2025
0de64e0
Merge branch 'coderarmy-notes:main' into main
AdityaChauhan-star Dec 27, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
17 changes: 8 additions & 9 deletions 02CSS/Day01/styler.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

/* Tag Elment selector */
/* h1{
h1{
background-color: pink;
}

Expand All @@ -12,26 +12,26 @@ h2{
background-color: blue;
} */

/* id base selection # based selection */
/* id base selection # based selection */

/* #first{
#first{
background-color: blue;
}

#second{
background-color: pink;
} */
}


/* class based selection */

/* .third{
.third{
background-color: green;
}

.fourth{
background-color:blueviolet
} */
}

/* group based selection */
/*
Expand All @@ -52,7 +52,7 @@ h2{
background-color: #639747;
} */

/* font */
/* font
h1{
font-size: 80px;
}
Expand All @@ -63,8 +63,7 @@ ul{

/* li{
font-size: 2em;
} */

}
html{
font-size: 40px;
}
Expand Down
16 changes: 16 additions & 0 deletions 02CSS/Day03/homework.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="hw.css">
</head>
<body style="background-color: black;">
<div class="box1">
<div class="box2">
<div class="box3"></div>
</div>
</div>
</body>
</html>
25 changes: 25 additions & 0 deletions 02CSS/Day03/hw.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
.box1{
height: 200px;
width: 300px;
background-color: red;
position: relative;
}

.box2{
height: 100px;
width: 300px;
background-color: rgb(33, 33, 104);
top: 50px;
position: absolute;
}

.box3{
height: 90px;
width: 90px;
background-color: white;
border-radius: 50%;
left: 100px;
top: 5px;
bottom: 5px;
position: absolute;
}
10 changes: 5 additions & 5 deletions 02CSS/Day07/project1a.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ body{
.container{
background-color: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.129);
font-size: 40px;
font-size: 50px;
padding: 10px;
color: white;
width: 70%;
border-radius: 5px;
color: red;
width: 80%;
border-radius: 40px;
white-space: nowrap;
overflow: hidden;
}
Expand All @@ -34,6 +34,6 @@ p{
margin-left: 100%;
}
to{
margin-left: -70%;
margin-left: -100%;
}
}
2 changes: 1 addition & 1 deletion 02CSS/Day07/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
animation-duration: 5s;
animation-iteration-count: infinite;
animation-timing-function: linear;
animation-direction: alternate;
/* animation-direction: alternate; */
animation-delay: 2s;
/* animation-fill-mode: backwards; */
position: absolute;
Expand Down
2 changes: 1 addition & 1 deletion 03JS/Day05/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// let a = 10;
// let b = 345.6821;
// let c = b.toFixed(1);
// console.log(typeof c);
// console.log( c);

// console.log(b.toPrecision(4));
// console.log(b.toString());
Expand Down
14 changes: 7 additions & 7 deletions 03JS/Day06/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// const b = str.toLowerCase();
// console.log(b);

// const str = `Hello Coder Army Coder`;
// const str = `Hello Coder Army Coder`;

// console.log(str.indexOf('Cod'));
// console.log(str.lastIndexOf('Cod'));
Expand All @@ -40,7 +40,7 @@
// console.log(c);

// console.log(24+"Rohit");
// console.log(24+"Rohit"+10);
// console.log(24+" "+"Rohit"+" "+10);
// console.log(24+30+"Rohit");

// const str = `Hello Coder Army Coder`;
Expand All @@ -52,8 +52,8 @@

// const names = "Rohit Mohit Suraj Rohan Anjali";

// console.log(names.split(" "))
// console.log(names.split(","))
// console.log(names.split(" ")) // on basis of Space
// console.log(names.split(",")) // on basis of Comma

// const now = new Date();

Expand Down Expand Up @@ -84,8 +84,8 @@
// Timestamp
const now = Date.now();
const dates = new Date(1759275037293);
// console.log(dates.toString());
console.log(dates.toString());

console.log(dates);
console.log(now);
// console.log(dates);
// console.log(now);
// 1759272851288: TimeStamp
36 changes: 20 additions & 16 deletions 03JS/Day07/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@

// let arr = [100,30,"Rohit",true];

// // console.log(arr[2]);
// // console.log(typeof arr);
// console.log(arr[2]);
// console.log(typeof arr);

// // arr[1] = 90;
// // console.log(arr);
// arr[1] = 90;
// console.log(arr);

// // push : Insert element at end

Expand All @@ -32,21 +32,21 @@
// console.log(arr);


// Starting add kar sakta hu, delete the element at first place
// Add at starting index

// arr.unshift(10);
// arr.unshift(50);
// console.log(arr);

// // delete kar sakta hu
// // delete the element from starting index

// arr.shift();
// console.log(arr);


// let arr = [10,30,50,90,11];

// for(let i=0;i<arr.length;i++){
// for(let i=0; i<arr.length; i++){
// console.log(arr[i]);
// }

Expand All @@ -60,8 +60,9 @@
// arr2.push(30);

// console.log(arr);
// Object(non primitive): Copy by reference hote hai
// Primitive: Copy by value

// Object(non primitive) data type: Copy by reference hote hai / call by refrence
// Primitive data type: Copy by value / call by value

// const arr = [10,30,50,90,11];
// arr[2] = 30;
Expand All @@ -73,7 +74,7 @@

// const arr = [10,30,50,90,11];
// const arr2 = arr.slice(2,4);
// console.log(arr);
// console.log(arr2);
// const arr3 = arr.splice(1,3,"Rohit",19);
// console.log(arr3);

Expand All @@ -83,6 +84,7 @@

// arr.push(arr2);
// const arr3 = arr.concat(arr2,arr4);

// const arr3 = [arr,arr2,arr4];

// spread operator
Expand All @@ -94,7 +96,7 @@
// const names = ["Alice", "Rohit","Bob","Mohit", "Charlie",];

// console.log(names.toString());
// console.log(names.join("-"));
// console.log(names.join("/"));
// console.log(names.lastIndexOf("Bob"));
// console.log(names.includes("Bobs"));

Expand All @@ -106,7 +108,9 @@
// const a = ["101","90","80","32","91"];
// const arr = [10,"Rohit","Mohan",true];

// a.sort();
// arr.sort();
// console.log(a);
// console.log(arr);

// const arr = [10,40,31,71,5,11];
Expand All @@ -123,8 +127,8 @@
// a = 10
// b = 31

// -ve : pehle a aayega fr aayega
// +ve: b aayega fr a aayge
// -ve : pehle a aayega fr b aayega
// +ve: b aayega fr a aayega

// console.log(arr);

Expand All @@ -136,6 +140,6 @@
// console.log(arr[3][2][1]);


const a = [10,309,"Rohit",9.3, true];
a.name = "Moahn";
console.log(a);
// const a = [10,309,"Rohit",9.3, true];
// a.name = "Moahn";
// console.log(a);
2 changes: 1 addition & 1 deletion 03JS/Day08/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,4 +176,4 @@
// 3: 40
// }

console.log(user[sym]);
// console.log(user[sym]);
34 changes: 17 additions & 17 deletions 03JS/Day09/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
// const [first,second, ...num] = arr;
// console.log(first,second, num);

// const ans = [arr,arr2];
// const ans = [...arr,...arr2];
// console.log(ans);


Expand Down Expand Up @@ -141,23 +141,23 @@

// blinkit

function blinkitOrderPlaced(){
console.log("We have started packing your Order");
}
// function blinkitOrderPlaced(){
// console.log("We have started packing your Order");
// }

function zomatoOrderPlaced(){
console.log("We have started preparing your food");
}
// function zomatoOrderPlaced(){
// console.log("We have started preparing your food");
// }

function payment(amount,callback){
console.log(`${amount} payment has initilized`)
console.log("Payment is received");
callback();
// function payment(amount,callback){
// console.log(`${amount} payment has initilized`)
// console.log("Payment is received");
// callback();

// GST: Government
// Rider ko kitna payment dena
// company ko kitna
}
// // GST: Government
// // Rider ko kitna payment dena
// // company ko kitna
// }

payment(500,zomatoOrderPlaced);
payment(300,blinkitOrderPlaced);
// payment(500,zomatoOrderPlaced);
// payment(300,blinkitOrderPlaced);
2 changes: 1 addition & 1 deletion 03JS/Day14/first.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,5 @@ lister.textContent = "<img src='https://plus.unsplash.com/premium_photo-16895307

// lister.innerHTML = "<img src='https://plus.unsplash.com/premium_photo-1689530775582-83b8abdb5020?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MXx8cmFuZG9tJTIwcGVyc29ufGVufDB8fDB8fHww&fm=jpg&q=60&w=3000'>"

month.prepend(lister);
month.append(lister);
// month.insertAdjacentElement("afterend",lister)
11 changes: 11 additions & 0 deletions 03JS/Day14/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,18 @@ <h1 id="first">Hello Coder Army</h1>
<li>Jan</li>
<li>Feb</li>
<li>Mar</li>
Aditya Chauhan
<li>Apr</li>
<li>May</li>
<li>June</li>
<li>July</li>
<li>August</li>
<li>September</li>
<li>October</li>
<li>November</li>
<li>December</li>
<li></li>
<li><li><li>Ach</li></li></li>
</ul>

</body>
Expand Down
2 changes: 2 additions & 0 deletions 03JS/Day16/02/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
<button id="orange" style="background-color: orange;">Orange</button>
<button id="pink" style="background-color: pink;">Pink</button>
<button id="green" style="background-color: green;">green</button>
<button id="brown" style="background-color: brown;">Brown</button>
<button id="violet" style="background-color: violet;">Violet</button>
</div>

</body>
Expand Down
2 changes: 2 additions & 0 deletions 03JS/Day19/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
// })


//Promise Chaining

// fetch("https://api.github.com/users")
// .then((response)=>{

Expand Down