JSFiddle - React, Tailwind, and code Playground

HTML

hjello

JavaScript

$("*").html(["SELECT ANY TWO","FAST","GOOD","CHEAP"].join("<input type=checkbox onclick=(a=$('input:not(:checked)')).prop('disabled',!a[1])>"))