From c38ffe8db2967e28704c083116856bf553be3e3e Mon Sep 17 00:00:00 2001 From: Chris P Date: Sun, 16 Sep 2018 10:57:53 +0100 Subject: [PATCH 1/7] First commit. Initial news functionality in js --- index.html | 43 ++++++++++++++++++++++++++++++ news.js | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ style.css | 18 +++++++++++++ 3 files changed, 139 insertions(+) create mode 100644 index.html create mode 100644 news.js create mode 100644 style.css diff --git a/index.html b/index.html new file mode 100644 index 0000000..35382a5 --- /dev/null +++ b/index.html @@ -0,0 +1,43 @@ + + + + + + + + End of Days + + +

End Of Days

+
+ + +
+
+ + + + + +
+ + + + + + +
+ + + + + + + + + + \ No newline at end of file diff --git a/news.js b/news.js new file mode 100644 index 0000000..418f7bc --- /dev/null +++ b/news.js @@ -0,0 +1,78 @@ +function displayErrorToUser(message){ + return console.log(message) +} + +const parentNode = document.getElementById("newz"); // find the