When you select a new car, a function is triggered which outputs the value of the selected car.