Using Variables in HTML Markup - JavaScript

Thank you. Here’s is what I’m trying to do. Somehow it wasn’t included in my original post.