JSFiddle - React, Tailwind, and code Playground JavaScript $(document.createElement('form')) .append([$(document.createElement('input'))]);