JSFiddle - React, Tailwind, and code Playground

by rajaadil

HTML

<button id="Button1">Append List</button>
    <ul id="Ul1">
        <li>a1</li>
    </ul>

JavaScript

alert("Button1 is accessed as object without jquery selector and document.getElementById >> Button1.innerText = " + Button1.innerText);
alert("Button1 is accessed as object without jquery selector and document.getElementById >> Button1.id= " + Button1.id);