From 8a97b1ef11a9f094cc121e8ddd6f2d6417fbcca8 Mon Sep 17 00:00:00 2001 From: Aryan Agarwal Date: Wed, 12 Jul 2023 16:49:16 +0530 Subject: [PATCH] some basic UI changes --- static/index.html | 2 +- static/script.js | 2 +- static/style.css | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/static/index.html b/static/index.html index 76846e80..baf915ec 100644 --- a/static/index.html +++ b/static/index.html @@ -11,7 +11,7 @@
-

URL Shortener

+

URL Shortener


diff --git a/static/script.js b/static/script.js index 94f6d587..bcf88083 100644 --- a/static/script.js +++ b/static/script.js @@ -7,7 +7,7 @@ $(function () { $.post('/api/v1/shorten', { url:url },function (data) { - $('#shortcode').html("Short URL: " + ''+window.location.href+data + ''); + $('#shortcode').html("Shorty URL: " + ''+window.location.href+data + ''); }) }) }) \ No newline at end of file diff --git a/static/style.css b/static/style.css index 2aa1df43..06dc7fb0 100644 --- a/static/style.css +++ b/static/style.css @@ -1,6 +1,9 @@ *{ align: center; } +body{ + background-color: antiquewhite; +} #url{ align: center; size: 100px;