Question
In JavaScript we often use functions to create games or develop website. Learning how to read functions as well as code functions is an essential
In JavaScript we often use functions to create games or develop website. Learning how to read functions as well as code functions is an essential part of being a developer. For this assignment you will need to create functions that will give an output on the HTML page, I want to see results from your functions.
Assignment Obligations:
Create Functions that will give an output on the HTML document.
Functions need to be declared properly.
For Example:
//create a function var person = { firstName: "John", lastName: "Doe", age: 50, eyeColor: "blue"
}; myFunction();
function myFunction() {
document.getElementById("demo").innerHTML = "Hello" + "" + person.firstName + "" person.lastName + "" person.age + person.eyeColor; }
Remember declare your functions as a variable. Reference & Exercising to use for this project can be found W3schools.com, your videos on Canvas, and JavaScript MDN (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/FunctionsLinks to an external site.) JavaScript MDN has the previous example.
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