GoodRx Interview Question

Very basic Javascript and HTML question.