title: I need a way to display an image conditionally based on text input
body: <p>I would like a way to capture text from multiple input fields and then display images next to the text field based on what text is in the text field. </p>
  
  <p>So imagine a user types into the text fields:</p>
  
  <p>tomatoes
  cabbage
  chocolate</p>
  
  <p>an image appears next to the tomatoes field
  another image appears next to the cabbage field etc. </p>
  
  <p>I have the text fields, I have a case statement, but I don't know how to combine the components together or how to display the image.</p>