diff --git a/js/js_part4/assignment.html b/js/js_part4/assignment.html
new file mode 100644
index 0000000..6c81906
--- /dev/null
+++ b/js/js_part4/assignment.html
@@ -0,0 +1,12 @@
+
+
+
+
+
+ Assignment part 4
+
+
+
+ Assignment
+
+
\ No newline at end of file
diff --git a/js/js_part4/assignment.js b/js/js_part4/assignment.js
new file mode 100644
index 0000000..50c044b
--- /dev/null
+++ b/js/js_part4/assignment.js
@@ -0,0 +1,14 @@
+//Question 1
+let arr = [1,2,3,4,5,6,2,3]
+let num = 2
+let i = 0
+while(i
+
+
+
+
+ Practice
+
+
+
+ Practice
+
+
\ No newline at end of file
diff --git a/js/js_part4/practice.js b/js/js_part4/practice.js
new file mode 100644
index 0000000..68c0911
--- /dev/null
+++ b/js/js_part4/practice.js
@@ -0,0 +1,11 @@
+console.log('List of even numbers upto 20');
+for(let a=2; a<=20; a=a+2 ){
+ console.log(a);
+}
+
+console.log('Printing the 13s table using while loop:')
+let b = 13
+while(b<=130){
+ console.log(b);
+ b=b+13;
+}
\ No newline at end of file
diff --git a/js/js_part5/assignment.html b/js/js_part5/assignment.html
new file mode 100644
index 0000000..df21a9a
--- /dev/null
+++ b/js/js_part5/assignment.html
@@ -0,0 +1,12 @@
+
+
+
+
+
+ Assignment part 5
+
+
+
+ Assignment 5
+
+
\ No newline at end of file
diff --git a/js/js_part5/assignment.js b/js/js_part5/assignment.js
new file mode 100644
index 0000000..7ac90d4
--- /dev/null
+++ b/js/js_part5/assignment.js
@@ -0,0 +1,31 @@
+// Qsl . Create a program that generates a random number representing a dice roll.
+// [The number should be between 1 and 6].
+
+let max_rolled = 6
+let dice = Math.random()
+console.log("The number you got after rolling a dice: ",Math.floor(dice * max_rolled)+1)
+
+
+// Qs2. Create an object representing a car that stores the following properties for the
+// car: name, model, color.
+// Print the car's name.
+
+let car={
+ name:"Nissan Sunny",
+ model:"XL",
+ color:"silver"
+}
+console.log("car name is :",car.name)
+
+// Qs3. Create an object Person with their name, age and city.
+// Edit their city's original value to change it to "New York".
+// Add a new property country and set it to the United States.
+
+let person={
+ name:"helly",
+ age:"21",
+ city:"Godhra"
+}
+console.log("my object:",person.city="New York")
+person.country="United States"
+console.log("new profile",person)
\ No newline at end of file
diff --git a/js/js_part6/assignment.html b/js/js_part6/assignment.html
new file mode 100644
index 0000000..25888aa
--- /dev/null
+++ b/js/js_part6/assignment.html
@@ -0,0 +1,12 @@
+
+
+
+
+
+ Assignment part 6
+
+
+
+ Assignment 6
+
+
\ No newline at end of file
diff --git a/js/js_part6/assignment.js b/js/js_part6/assignment.js
new file mode 100644
index 0000000..096ca1b
--- /dev/null
+++ b/js/js_part6/assignment.js
@@ -0,0 +1,53 @@
+// Qsl. Write a JavaScript function that returns array elements larger than a number.
+
+
+let fungt = function(num){
+ let myArray = [5,6,9,2,0,20,6,33,1,3]
+ for (let i=0;i<=myArray.length;i++){
+ if(num
+
+
+
+
+ Assignment part 7
+
+
+
+ Assignment 7
+
+
\ No newline at end of file
diff --git a/js/js_part7/assignment.js b/js/js_part7/assignment.js
new file mode 100644
index 0000000..e2f9981
--- /dev/null
+++ b/js/js_part7/assignment.js
@@ -0,0 +1,39 @@
+// Qsl . Write an arrow function named arrayAverage that accepts an array of numbers
+// and returns the average of those numbers.
+
+let arrayAverage = (arr) => {
+ let total = 0;
+ for (let number of arr){
+ total += number
+ }
+ return total / arr.length;
+
+}
+arr = [10,20,30,40]
+console.log(arrayAverage(arr))
+
+
+
+// Qs2. Write an arrow function named isEven() that takes a single number as argument
+// and returns if it is even or not.
+
+
+let isEven = (number) => {
+ if(number%2 == 0){
+ console.log("is even number")
+ }else{
+ console.log('Not even number')
+ }
+}
+let number = 51
+isEven(number)
+
+
+// Question 3
+const object={
+ message:'Hello,World!',
+ logMessage(){
+ console.log(this.message);
+ }
+};
+setTimeout(object.logMessage, 1000);
\ No newline at end of file
diff --git a/js/notes.txt b/js/notes.txt
index a3485c3..171fd68 100644
--- a/js/notes.txt
+++ b/js/notes.txt
@@ -1,2 +1,9 @@
16_oct
- completed the javascript learning of part 3
+17-oct
+- completed the javascript learning of part 4
+- learn the for loops and while loops also nested loops
+21_oct
+- completed learning javascript part 5
+- learn some randome and maths functions and how to use it.
+- also learned the objects and arrays
\ No newline at end of file