Didactical material
Name __________________ Class ______________________
Objective: 10.4.2.3 use ready-made scripts in web-development
1. Use the correct assignment operator that will result in x being 50 (same as x = x * y).
x = 10;
y = 5;
x _____ y;
2. Execute the function named myFunction.
function myFunction() {
alert("Hello World!");
}
__________;
3. Create a function called "myFunction".
__________________
alert("Hello World!");
______
4. Make the function display "Hello" in the inner HTML of an element with the ID "demo".
function myFunction() {
document._______________("demo")._____________ = "Hello";
}
Материалы на данной страницы взяты из открытых источников либо размещены пользователем в соответствии с договором-офертой сайта. Вы можете сообщить о нарушении.