How to create an ad mock-up preview?

How would I go about displaying text from a text input in real time to display on an ad mock-up on my website? I’m new to velo so any help would be appreciated!

Make sure you change the “yourInputField” and “yourTextBox” with the IDs of your elements.

export function yourInputField_input(event) {
   $w('#yourTextBox').text = $w('#yourInputField').value;
}

We would love to see your website!