GoodRx interview question

Very basic Javascript and HTML question.