JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://github.com/downloads/SteveSanderson/knockout/knockout-2.0.0.js"></script>
<div data-bind="foreach: person">
    <h3>Person</h3>
    <p>First name: <input data-bind="value: firstName" /></p>
    <p>Last name: <input data-bind="value: lastName" /></p>    
</div>

JavaScript

function personModel() {
    this.firstName = ko.observable("Bert");
    this.lastName = ko.observable("Bertington");    
}

function appViewModel() {
    this.person = new personModel();
    };

ko.applyBindings(new appViewModel());