Question: Topic - HTML and VueJS Question: Please code out the HTML and JS file separately. thanks Activity First name: Last name: Copy the HTML code
Topic - HTML and VueJS
Question:

Please code out the HTML and JS file separately. thanks
Activity
Copy the HTML code above and modify it using the v-on directive with the submit argument and add an event modifier to prevent the form from submitting. Instead of the default behaviour (browser attempts to send the form data to a page called "action_page.php"), when the form is submitted, call a method that will display a message below the button instead. If one of the fields is empty, modify the message accordingly to tell the user. First name: John Last name: Doe Submit Form Submitted. Name is John Doe First name: John Last name: Submit Form not submitted, name incomplete
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
