When a button is clicked, I want to insert some HTML code onto my page. Here's the code that I wish to add:
<form action="#" id="Reactie_form">
<input id="Form_voornaam" type="text" placeholder="Voornaam" style="width: 50%"> <br>
<input id="Form_achternaam" type="text" placeholder="Achternaam" style="width: 50%"><br>
<input id="Form_email" type="email" placeholder="E-mail" style="width: 50%">
<textarea id="Form_bericht" style="width: 100%"></textarea>
<input id="files" type="file" @change="fileSelected" multiple accept=".png, .jpg, .webp, jpeg, .gif">
<input type="button" class="sendButt" value="Verstuur" @click="submitReactie">
</form>
<span v-if="!files || !files.length"></span>
<ul v-else>
<li v-for="files in files" :key="files.name">{{ files.name }}</li>
</ul>
I appreciate your help.