Select color name:

<div sj-app="">
 
<p>Select color name:</p>
<select name="color" sj-model="this.color">
    <option value="blue">Blue</option>
    <option value="red">Red</option>
    <option value="yellow">Yellow</option>
</select>
<h1 sj-bind="this.color" sj-style="{'background-color': this.color}"></h1>

</div>

back to index