From bef3d2fc94ff449d24c868c19aeb761a8d6b4310 Mon Sep 17 00:00:00 2001 From: kirill Date: Fri, 2 Jun 2023 18:55:22 +0300 Subject: [PATCH] add a link to new page --- demo/templates/index.html | 76 +++++++++++++++++++++------------------ 1 file changed, 42 insertions(+), 34 deletions(-) diff --git a/demo/templates/index.html b/demo/templates/index.html index b0613b1..2ea710e 100644 --- a/demo/templates/index.html +++ b/demo/templates/index.html @@ -10,31 +10,35 @@ body { min-height: 100vh; - background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%) + background: linear-gradient( + 90deg, + rgba(2, 0, 36, 1) 0%, + rgba(9, 9, 121, 1) 35%, + rgba(0, 212, 255, 1) 100% + ); } - h1{ + h1 { color: white; - } - p{ - color:white; + p { + color: white; } - .container{ + .container { margin-left: 20vw; } - #submit{ + #submit { margin-top: 20px; border-radius: 10px; height: 50px; - width:50vw; - color:black; + width: 50vw; + color: black; } - #inputText{ + #inputText { border-radius: 10px; height: 30px; width: 49.5vw; } - .container_result{ + .container_result { margin-top: 20px; min-height: 50px; text-align: center; @@ -43,8 +47,6 @@ border-radius: 5px; background-color: grey; } - - @@ -53,35 +55,41 @@
- -
- + +
+ +

+
+ Перейти на страницу 2 +
-
+ - + + const responseText = await response.text(); + document.getElementById("response").innerText = responseText; + }); +