diff --git a/.idea/Node.js_challenge_dzien_1.iml b/.idea/Node.js_challenge_dzien_1.iml
new file mode 100644
index 0000000..24643cc
--- /dev/null
+++ b/.idea/Node.js_challenge_dzien_1.iml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..645b052
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..94a25f7
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
new file mode 100644
index 0000000..2f7c474
--- /dev/null
+++ b/.idea/workspace.xml
@@ -0,0 +1,253 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+ DEFINITION_ORDER
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1517251822334
+
+
+ 1517251822334
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/test.js b/app/test.js
index dffc25d..11d00d5 100644
--- a/app/test.js
+++ b/app/test.js
@@ -1 +1,17 @@
-console.log('Wygląda na to, że wszystko działa :)');
\ No newline at end of file
+console.log('Wygląda na to, że wszystko działa :)');
+
+// const text = "Hello, World!";
+// let counter = 0;
+//
+// const intervalId = setInterval(()=>{
+// console.log(text[counter]);
+// ++counter;
+// if(counter == text.length){
+// clearInterval(intervalId)
+// }
+// },100);
+
+process.argv.forEach((val, index) => {
+ console.log(`${index}: ${val}`);
+});
+
diff --git a/app/zadanie01.js b/app/zadanie01.js
index 8c20173..630f55d 100644
--- a/app/zadanie01.js
+++ b/app/zadanie01.js
@@ -1 +1,5 @@
-//Twój kod
\ No newline at end of file
+//Twój kod
+console.log("Kuba Matwiejew");
+const timeoutId = setTimeout(()=>{
+ console.log("wita się z Node.js!")
+},5000);
\ No newline at end of file
diff --git a/app/zadanie02.js b/app/zadanie02.js
index 8c20173..b726fe7 100644
--- a/app/zadanie02.js
+++ b/app/zadanie02.js
@@ -1 +1,38 @@
-//Twój kod
\ No newline at end of file
+//Twój kod
+// const timeout1 = setTimeout(()=>{
+// console.log("Node.js")
+// },4000);
+// const timeout2 = setTimeout(()=>{
+// console.log("się")
+// },1000);
+// const timeout3 = setTimeout(()=>{
+// console.log("Witam")
+// },0);
+// const timeout4 = setTimeout(()=>{
+// console.log("i korzystam")
+// },6000);
+// const timeout5 = setTimeout(()=>{
+// console.log("w konsoli")
+// },5000);
+// const timeout6 = setTimeout(()=>{
+// console.log("z funkcji czasu!")
+// },7000);
+// const timeout7 = setTimeout(()=>{
+// console.log("z")
+// },2000);
+// const timeout8 = setTimeout(()=>{
+// console.log("programem")
+// },3000);
+const text = [`Node.js`, `się`, `Witam`, `i korzystam`, `w konsoli`, `z funkcji czasu!`, `z`, `programem`];
+const timer = [4000, 1000, 0, 6000, 5000, 7000, 2000, 3000];
+if(text.length == timer.length){
+ for(let i=0; i{
+ console.log(text[i])
+ },timer[i])
+ }
+} else {
+ console.log(`Tablice nie są równe`)
+}
+
+
diff --git a/app/zadanie03.js b/app/zadanie03.js
index 8c20173..6fbc97e 100644
--- a/app/zadanie03.js
+++ b/app/zadanie03.js
@@ -1 +1,6 @@
-//Twój kod
\ No newline at end of file
+//Twój kod
+let result = 0;
+for (let i = 2; i < process.argv.length; i++) {
+ result += Number(process.argv[i]);
+}
+console.log(result);
diff --git a/app/zadanieDnia.js b/app/zadanieDnia.js
index 8c20173..90e1354 100644
--- a/app/zadanieDnia.js
+++ b/app/zadanieDnia.js
@@ -1 +1,7 @@
-//Twój kod
\ No newline at end of file
+//Twój kod
+for (let i = 2; i < process.argv.length; i++) {
+ let number = parseInt(process.argv[i]);
+ let timeoutId = setTimeout(()=>{
+ console.log(number)
+ },number*1000);
+}