From 4c7c98bba015d4fe7bf4594d050f30baf388b644 Mon Sep 17 00:00:00 2001 From: Chandler Swift Date: Thu, 7 Mar 2024 18:59:06 -0600 Subject: [PATCH] Fix state name in guess message --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 45cc139..00a6a99 100644 --- a/index.html +++ b/index.html @@ -194,7 +194,7 @@ if (!city.guessed) { city.guessed = true; - this.message = `${city.name} (population ${city.pop}) is the ${ordinal_suffix_of(rank + 1)} most populated city in ${this.state}.`; + this.message = `${city.name} (population ${city.pop}) is the ${ordinal_suffix_of(rank + 1)} most populated city in ${this.state_name}.`; this.city_guess = ""; this.draw(); } else {