diff --git a/home.js b/home.js index 28483d7..bfc80de 100644 --- a/home.js +++ b/home.js @@ -1,19 +1,10 @@ -let featuredItems = document.querySelector("#announcements .carousel-item"); +let featuredItems = document.querySelectorAll("#announcements .carousel-item"); let loginLink = document.querySelector(".navbar a.log-in"); let accountOptions = document.querySelector(".navbar .account-options"); let welcomeText = document.querySelector(".dropdown-item.welcome-text"); let amenitiesHas = document.querySelectorAll(".amenities .has"); let amenitiesLacks = document.querySelectorAll(".amenities .lacks"); -const price = document.querySelector("#priceRange"); -const output = document.querySelector(".price-output"); - -output.textContent = price.value; - -price.addEventListener("input", () => { - output.textContent = price.value; -}); - for (const amenity of amenitiesHas) { amenity.innerHTML += ` diff --git a/search.html b/search.html index 136d583..d05638d 100644 --- a/search.html +++ b/search.html @@ -598,7 +598,7 @@
111 Maple Street | Hamilton