diff --git a/example.js b/example.js deleted file mode 100644 index 196058f..0000000 --- a/example.js +++ /dev/null @@ -1,20 +0,0 @@ -const teresa = { - role: "teacher", - profession: "programmer", - interests: "psychology and neuroscience", - hobbies: ["sports", "football", "reading", "travelling"], - sisters: 2, - brothers: false -} - -const carmen = { - role: "teacher", - profession: "programmer", - interests: "data visualization and creative coding", - hobbies: ["art", "trekking", "travelling", "cinema"], - sisters: 1, - brothers: 2 -} - -console.log(teresa) -console.log(carmen) \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..0034f6e --- /dev/null +++ b/index.html @@ -0,0 +1,14 @@ + + + + + + + Javascript example + + + + + + + \ No newline at end of file diff --git a/main.js b/main.js new file mode 100644 index 0000000..965ff25 --- /dev/null +++ b/main.js @@ -0,0 +1,73 @@ +console.log("heyyy"); + +const teresa = { + role: "teacher", + profession: "programmer", + interests: "psychology and neuroscience", + hobbies: ["sports", "football", "reading", "travelling"], + sisters: 2, + brothers: false +} + +const carmen = { + role: "teacher", + profession: "programmer", + interests: "data visualization and creative coding", + hobbies: ["art", "trekking", "travelling", "cinema"], + sisters: 1, + brothers: 2 +} + +const ali = { + role: "student", + profession: "programmer", + interests: "bussiness", + hobbies: "football" +} + +let user = { + name: "arman" +}; + +const hujjat = { + role: "student", + profession: "dentistry", + interests: "programming and web development", + hobbies: ["sports", "hiking"], + sisters: 3, + brothers: 2 +} + +let mani = {Name:'Mani', lastName:'Shidfar', age:30}; + +let mikhail = { + name: "Mikhail", + country: "Russia", + age: 21, + role: "student" +} + +const andres = { + role: "", + profession: "accounting", + interests: "web developer", + hobbies: ["soprts", "travel", "eat"], + sisters: "1", + brothers: "1" +} + +const Carl = { + role: "Student", + profession: "IT", + interests: "FULL STACK DEV", + hobbies: ["FOREX TRADING", "Basket", "Real estate", "travelling"], + sisters: 1, + brothers: 3 +} + +const jasmin = { + role: "student", + profession: "psychology", + interests: "wellness, art, history", + brother: 1, +} \ No newline at end of file