aboutsummaryrefslogtreecommitdiff
path: root/Javascript
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2020-10-24 15:36:46 +0300
committerSyndamia <kamen.d.mladenov@protonmail.com>2020-10-24 15:36:46 +0300
commit2d9481dd9772008f0b402b6d1379b1165b7c7e28 (patch)
tree3fce5495b97b0bac76ea8a2f5f1e8ccf253659b4 /Javascript
parentbd760b5c51351e787297ceb54422beb8ce00a1ec (diff)
downloadSelf-learning-2d9481dd9772008f0b402b6d1379b1165b7c7e28.tar
Self-learning-2d9481dd9772008f0b402b6d1379b1165b7c7e28.tar.gz
Self-learning-2d9481dd9772008f0b402b6d1379b1165b7c7e28.zip
Modified php, javascript and html file tree
Diffstat (limited to 'Javascript')
-rw-r--r--Javascript/FileRead/index.html13
-rw-r--r--Javascript/FileRead/script.js3
-rw-r--r--Javascript/FileRead/stuff.html5
3 files changed, 21 insertions, 0 deletions
diff --git a/Javascript/FileRead/index.html b/Javascript/FileRead/index.html
new file mode 100644
index 0000000..81c5531
--- /dev/null
+++ b/Javascript/FileRead/index.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html lang="en" dir="ltr">
+ <head>
+ <meta charset="utf-8">
+ <title></title>
+ </head>
+ <body>
+ <div id="content">
+
+ </div>
+ </body>
+ <script type="text/javascript" src="script.js"></script>
+</html>
diff --git a/Javascript/FileRead/script.js b/Javascript/FileRead/script.js
new file mode 100644
index 0000000..934b00a
--- /dev/null
+++ b/Javascript/FileRead/script.js
@@ -0,0 +1,3 @@
+const content = document.getElementById('content');
+
+content.innerHTML = stuff.html;
diff --git a/Javascript/FileRead/stuff.html b/Javascript/FileRead/stuff.html
new file mode 100644
index 0000000..8130563
--- /dev/null
+++ b/Javascript/FileRead/stuff.html
@@ -0,0 +1,5 @@
+<div id="all">
+ <p>
+ Hello there!
+ </p>
+</div>