const newSpan = document.createElement('span');
const price = document.createTextNode('but');
newSpan.appendChild(price);
const addedSpan = document.querySelector(".price_varies");
addedSpan.appendChild(newSpan);
newSpan.classList.add(0, 'money');
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter