diff --git a/.idea/Node.js_challenge_dzien_4.iml b/.idea/Node.js_challenge_dzien_4.iml
new file mode 100644
index 0000000..24643cc
--- /dev/null
+++ b/.idea/Node.js_challenge_dzien_4.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..49677f1
--- /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..8b81cb8
--- /dev/null
+++ b/.idea/workspace.xml
@@ -0,0 +1,211 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+ DEFINITION_ORDER
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1517519078370
+
+
+ 1517519078370
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/zadanieDnia1.js b/app/zadanieDnia1.js
index 8c20173..8e9dc15 100644
--- a/app/zadanieDnia1.js
+++ b/app/zadanieDnia1.js
@@ -1 +1,13 @@
-//Twój kod
\ No newline at end of file
+//Twój kod
+
+const http = require('http');
+
+const srv = http.createServer((req, res) => {
+ res.setHeader("Content-Type", "text/html; charset=utf-8");
+ let html = `Hello, World from back-end!`;
+ res.end(html, 'utf-8')
+});
+
+srv.listen(3000, () => {
+ console.log('Serwer uruchomiony na porcie 3000');
+});
\ No newline at end of file
diff --git a/app/zadanieDnia2.js b/app/zadanieDnia2.js
index 8c20173..8a106b3 100644
--- a/app/zadanieDnia2.js
+++ b/app/zadanieDnia2.js
@@ -1 +1,13 @@
-//Twój kod
\ No newline at end of file
+//Twój kod
+
+const http = require('http');
+
+const srv = http.createServer((req, res) => {
+ const userAgent = req.headers['user-agent'];
+ res.setHeader("Content-Type", "text/html; charset=utf-8");
+ res.end(userAgent, 'utf-8')
+});
+
+srv.listen(3000, () => {
+ console.log('Serwer uruchomiony na porcie 3000');
+});
\ No newline at end of file