From 58d0af9dfa8dbbd0731bdafc4c1c36f5067b4ee1 Mon Sep 17 00:00:00 2001 From: Tucan444 Date: Mon, 28 Dec 2020 14:36:47 +0100 Subject: [PATCH] fix i guess --- assets/texts/main_desc.txt | 8 +++++++- backend.js | 2 +- index.html | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/assets/texts/main_desc.txt b/assets/texts/main_desc.txt index b33b119..eeb318e 100644 --- a/assets/texts/main_desc.txt +++ b/assets/texts/main_desc.txt @@ -1 +1,7 @@ -Are you bored ?

If yes you can find many simple games on this webpage.
In section GAMES you have list of all the games.
There are also many different suprises hidden everywhere.

Here is very, very simple game below.

- click on the rectangle 100 times \ No newline at end of file +Are you bored ?

+If yes you can find many simple games on this webpage.
+In section GAMES you have list of all the games.
+There are also many different suprises hidden everywhere.
+
Here is very, very simple game below.
+
+- click on the rectangle 100 times \ No newline at end of file diff --git a/backend.js b/backend.js index bb987c7..eb55f09 100644 --- a/backend.js +++ b/backend.js @@ -26,7 +26,7 @@ $(document).ready(function(){ }); // main_desc - $("#main_desc").html("Are you bored ?

If yes you can find many simple games on this webpage.
In section GAMES you have list of all the games.
There are also many different suprises hidden everywhere.

Here is very, very simple game below.

- click on the rectangle 100 times"); + $("#main_desc").load("assets/texts/main_desc.txt"); $("#main_desc").click(function(){ $(this).css("color", "#000539"); diff --git a/index.html b/index.html index 7c3d582..a03a13a 100644 --- a/index.html +++ b/index.html @@ -37,6 +37,6 @@ - \ No newline at end of file