diff --git a/Day 1/Arithmetic Operators.js b/Day 1/Arithmetic Operators.js
index 6ecb3e2..f0b42d2 100644
--- a/Day 1/Arithmetic Operators.js
+++ b/Day 1/Arithmetic Operators.js
@@ -1,11 +1,16 @@
-/**
+/*
+ * Author: Pavith Bambaravanage
+ * URL: https://github.com/Pavith19
+*/
+
+/*
* Calculate the area of a rectangle.
*
* length: The length of the rectangle.
* width: The width of the rectangle.
*
* Return a number denoting the rectangle's area.
-**/
+*/
function getArea(length, width) {
let area;
// Write your code here
@@ -26,4 +31,4 @@ function getPerimeter(length, width) {
// Write your code here
perimeter = 2 * (length + width);
return perimeter;
-}
\ No newline at end of file
+}
diff --git a/Day 2/Conditional Statements If Else.js b/Day 2/Conditional Statements If Else.js
index 1fe51b6..02c68e3 100644
--- a/Day 2/Conditional Statements If Else.js
+++ b/Day 2/Conditional Statements If Else.js
@@ -1,3 +1,8 @@
+/*
+ * Author: Pavith Bambaravanage
+ * URL: https://github.com/Pavith19
+*/
+
function getGrade(score)
{
let grade;
@@ -34,4 +39,4 @@ function getGrade(score)
}
return grade;
-}
\ No newline at end of file
+}
diff --git a/Day 8/Buttons Container/buttonsGrid.js b/Day 8/Buttons Container/buttonsGrid.js
index 2475fd8..09787e5 100644
--- a/Day 8/Buttons Container/buttonsGrid.js
+++ b/Day 8/Buttons Container/buttonsGrid.js
@@ -1,3 +1,8 @@
+/*
+ * Author: Pavith Bambaravanage
+ * URL: https://github.com/Pavith19
+*/
+
var b=document.getElementById('btn5');
var arr=[1,2,3,6,9,8,7,4];
b.onclick=function()
@@ -12,4 +17,4 @@ arr.unshift(arr.pop());
document.getElementById('btn7').innerHTML =arr[6];
document.getElementById('btn4').innerHTML =arr[7];
-}
\ No newline at end of file
+}
diff --git a/README.md b/README.md
index 182e9c9..babb90b 100644
--- a/README.md
+++ b/README.md
@@ -5,8 +5,8 @@
[](https://shields.io/)
[](https://github.com/Pavith19/10-Days-Of-JavaScript-HackerRank/commits/main)
-[](https://github.com/Pavith19/10-Days-Of-JavaScript-HackerRank/archive/main.zip)
-
+
+[](https://buymeacoffee.com/pavith_db)
# 10 Days of JavaScript - HackerRank Solutions
@@ -31,7 +31,7 @@ Welcome to the 10 Days of JavaScript - HackerRank Solutions repository! This rep
## [HackerRank 10 Days of JavaScript Badge]()
-
+
## [🚀 Challenges]()
@@ -54,7 +54,7 @@ These solutions are my own work and were created for educational purposes on Hac
## [🤝 Contributing]()
-We welcome contributions to enhance this collection of HackerRank 30 Days of Code solutions:
+I welcome contributions to enhance this collection of HackerRank 30 Days of Code solutions:
- **Improve Existing Solutions**: Optimize or clarify current solutions.
- **Add Explanations**: Provide detailed explanations of code and problem-solving approaches.