The structure that controls this part of the program is selection.
Selection structures allow the program to make decisions based on user input (e.g., navigating to a shopping cart when the cart icon is clicked, or loading sales items when the dollar sign is clicked).