Tock Interview Question

Using javascript, HTML, and CSS create a modal/dialog that can be opened by a button.