diff --git a/static/preview.html b/static/preview.html
index 8c0555e..470ac53 100644
--- a/static/preview.html
+++ b/static/preview.html
@@ -31,11 +31,13 @@
const formData = new FormData(form);
const moving = formData.get("moving");
const username = formData.get("username");
+ const width = formData.get("width");
+ const height = formData.get("height");
if (username !== "") {
preview.classList.remove("hidden");
- const svgUrl = `https://gitpokecol.org/pokemons/${username}?face=${moving}`;
+ const svgUrl = `https://gitpokecol.org/pokemons/${username}?face=${moving}&width=${width}&height=${height}`;
previewImg.src = svgUrl;
previewUrl.textContent = `
@@ -61,7 +63,30 @@ Github Pokemon Collection Preivew
-
+
+ Width:
+
+
+
+ Height:
+
+
+
+ Username:
+
+