@seanred360
Posted
Your javascript was very organized. I referenced it a bunch for my solution. I found that const specificButtons = { button1: "#bamboo", button2: "#black", button3: "#mahogany" };
on line 17 was not needed. It is a complicated way to get an href from a button. You can replace const inputID = specificButtons[b.id];
on line 148 with const inputID = b.getAttribute("href");
and get the same result.