Exercise

Statuses and completing the UI

One of the principles of good UI states that we ought to use colors intuitively. Luckily for us, shinydashboard has an option to set statuses in some shinydashboard elements. This is done by adding a status argument to those appropriate elements, like box(), notificationItem(), dropdownMenu(), although the latter two functions will not be covered in this course.

Setting status = "success" results in a green coloration, status = "danger" results in a red coloration, status = "warning" is orange, and so on.

Instructions 1/3

undefined XP
    1
    2
    3
  • Change the status of the first box in the third row to "success".