From 292806498e1adb71ede3c77ea32c5167d4f19929 Mon Sep 17 00:00:00 2001 From: Arjun Satarkar Date: Tue, 31 Dec 2024 21:21:00 +0530 Subject: Add title, reset README --- src/app.html | 1 + src/routes/+page.svelte | 6 ++++++ 2 files changed, 7 insertions(+) (limited to 'src') diff --git a/src/app.html b/src/app.html index 77a5ff5..ffc7b4c 100644 --- a/src/app.html +++ b/src/app.html @@ -5,6 +5,7 @@ %sveltekit.head% + Is the year a perfect square?
%sveltekit.body%
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 3519725..3b2ef88 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -21,6 +21,7 @@
+

Is the year a perfect square?

{#if isPerfectSquare}
Yes.
{sqrt}2 = {year}. @@ -38,6 +39,11 @@ text-align: center; font-size: 2rem; } + h1 { + font-size: inherit; + margin: 0; + font-weight: normal; + } #answer { font-size: 5em; margin: 0; -- cgit v1.2.3-57-g22cb