JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html>
<html lang="en">
    
    <head>
        <script type="text/javascript">
            function ChangeInnerHTML() {
                $('button').each(function() {
                    if ($.trim($(this).html()) == "Clicked")   $(this).html('Click me');
                });
            }
        </script>
    </head>
    
    <body>
        <button type="button" id="myButton1">Click me</button>
        <button type="button" id="myButton2">Clicked</button>
        <button type="button" id="myButton3">Click me</button>
        <button type="button" id="myButton4">Clicked</button>
        <button type="button" id="myButton5">Click me</button>
        <button type="button" id="btnChangeInnerHTML" onclick="ChangeInnerHTML()">Change InnerHTML</button>
    </body>

</html>