Question
Hello, I need help getting my code right for this assignment. Below are the instructions and the code I used, which isn't correct. My code
Hello, I need help getting my code right for this assignment. Below are the instructions and the code I used, which isn't correct. My code below is wrong and needs to be able: Declare variables to store the input field data; Store the input field data into the variables on form submit; Manipulate the DOM to replace placeholder data with the variables;
Expectations
The JavaScript that you use in the course assessments should:
Render and function properly in at least two of the following browsers: Chrome, Firefox, Edge, or Safari.
Be verified to be error-free, well-documented with comments, and appropriately constructed.
Overview
In this assessment, use the Web page called invitation.html found in the Required Resources to add functionality to an interactive form that generates an invitation to volunteers for an event. The file will have the following invitation message placeholder and a form below it. You will add JavaScript to the form that will allow a user to dynamically fill out the invitation.
Hello __recipientName_____!
You have been invited to volunteer for an event held by __organizationName_____ on ___eventDate_____. Please come to the following website: to sign up as a volunteer.
Thanks!
__hostName__
Write JavaScript that enables the invitation to be dynamically completed using the form. Make sure to do each of the following:
Declare variables to store the input field data.
Store the input field data into the variables on form submit.
Manipulate the DOM to replace placeholder data with the variables.
Write developer comments to describe the variables being declared and explain the functions and logical blocks of JavaScript code.
BELOW IS THE CODE FOR THE INVITATION PAGE THAT NEEDS TO BE CORRECTED
You have been invited to volunteer for an event held by organizationName on eventDate. Please come to the following website: websiteURL to sign up as a volunteer.
Thanks!
hostName
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started