From cef463d0849be40b1fab078eccf3a111a7dd5084 Mon Sep 17 00:00:00 2001 From: Katerina881 Date: Mon, 6 Feb 2023 16:08:47 +0400 Subject: [PATCH] first loose --- src/main/resources/static/styles.css | 3 +++ src/main/resources/static/test.js | 7 +++++++ src/main/resources/templates/index.html | 11 +++++++++++ 3 files changed, 21 insertions(+) create mode 100644 src/main/resources/static/styles.css create mode 100644 src/main/resources/static/test.js create mode 100644 src/main/resources/templates/index.html diff --git a/src/main/resources/static/styles.css b/src/main/resources/static/styles.css new file mode 100644 index 0000000..b8b619f --- /dev/null +++ b/src/main/resources/static/styles.css @@ -0,0 +1,3 @@ +h1 { +color: red; +} \ No newline at end of file diff --git a/src/main/resources/static/test.js b/src/main/resources/static/test.js new file mode 100644 index 0000000..6933143 --- /dev/null +++ b/src/main/resources/static/test.js @@ -0,0 +1,7 @@ +function test() { + fetch("http://localhost:8080/hello", { + mode: + } +} + +test(); \ No newline at end of file diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html new file mode 100644 index 0000000..eb314d5 --- /dev/null +++ b/src/main/resources/templates/index.html @@ -0,0 +1,11 @@ + + + + + + + +

IA WORK!

+ + + \ No newline at end of file