From 95c147b237ffd8a4195c1998ecc693e71ad655f9 Mon Sep 17 00:00:00 2001 From: Arjun Satarkar Date: Wed, 1 Jan 2025 18:37:38 +0530 Subject: Refactor, add link to source, add license --- src/routes/+page.svelte | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'src/routes/+page.svelte') diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 093347f..3bdd11d 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,5 +1,7 @@ -
+

Is the year a perfect square?

{#if isPerfectSquare}
Yes.
- {sqrt}2 = {year}. + {sqrt} = {year}. {:else}
No.
{/if} The last was - {last} ({lastSqrt}2), and - the next is - {next} ({nextSqrt}2), {nextRelative}! + and the next is + , {nextRelative}! +
+ + -- cgit v1.2.3-57-g22cb