JSFiddle - React, Tailwind, and code Playground

HTML

<select id="newuserSelect" >
    <option>1</option>
</select>

JavaScript

$('<option>', { value: "0", title: "hello" })
.appendTo('#newuserSelect')
.text('my text')
.css({color:'red'});