JSFiddle - React, Tailwind, and code Playground

JavaScript

var anotherListItem = "<div class= 'form-list'>"+ 
                         "<button class= 'done'></button>"+ 
                         "<input type= 'text'>"+ 
                      "</div>"

alert(anotherListItem);