product page variants wont show after adding code to product title in product editor

My product variant images won’t show on the product page and part of the code is situated on the product page. I think I need tags to close the code I wrote in the product title box.