Html – localStorage.setItem doesn't work with <img> tag
I got a JS function that reads from specific field of my dict and set the read values on new page to the tags they are related to. const good_render = id => { localStorage.setItem("name", (goods[id].name)); localStorage.setItem("price", (goods[id].price)); localStorage.setItem("img", (goods[id].img))};…