JSFiddle - React, Tailwind, and code Playground

HTML

<header>
    <svg class='svg-one' width='100' height='100' viewbox='0 0 100 100'>
        <circle cx='50' cy='50' r='25' fill='black'/>
    </svg>
    <svg class='svg-two' width='100' height='100'>
        <circle cx='50' cy='50' r='25' fill='black'/>
    </svg>
</header>

<a href='#'>Resize Circles</a>

JavaScript

document.querySelector('a').addEventListener('click', function(e) {
    var svgone = document.querySelector('svg.svg-one');
    var svgtwo = document.querySelector('svg.svg-two');
    
    svgone.setAttribute('height', 50);
    svgtwo.setAttribute('height', 50);
    
    e.preventDefault();
})