position unavailable; enter manually");
					}
				},
				{ enableHighAccuracy: false }
			);
		});

		document.querySelector(
			"#hDate"
		).innerText = `Today is ${new Date().toLocaleDateString()} & ${new HDate().toString()}`;

		const locationElements = [
			document.querySelector("#lat"),
			document.querySelector("#lon"),
		];

		function getLatLonFromForm() {
			const latLon = locationElements.map((el) => el.value);
			if (locationElements.every((x) => x.checkValidity())) {
				return latLon;
			} el