Create a script that replaces the svg in this element: <span class="weight-normal…
- User
Create a script that replaces the svg in this element:
with this svg instead:
- Assistant
Certainly! Below is a JavaScript code snippet that replaces the existing SVG inside the specified
<span>element with a new SVG:javascript - User
This one only replaces the first element, can you create an index that lets me change multiple elements? but i pick how many instances of it, like 1, 2, 3, e tc.
- Assistant