diff options
| author | Syndamia <kamen.d.mladenov@protonmail.com> | 2020-10-24 15:36:46 +0300 |
|---|---|---|
| committer | Syndamia <kamen.d.mladenov@protonmail.com> | 2020-10-24 15:36:46 +0300 |
| commit | 2d9481dd9772008f0b402b6d1379b1165b7c7e28 (patch) | |
| tree | 3fce5495b97b0bac76ea8a2f5f1e8ccf253659b4 /Javascript | |
| parent | bd760b5c51351e787297ceb54422beb8ce00a1ec (diff) | |
| download | Self-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.html | 13 | ||||
| -rw-r--r-- | Javascript/FileRead/script.js | 3 | ||||
| -rw-r--r-- | Javascript/FileRead/stuff.html | 5 |
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> |
