3_Computer science grade 10Using Scripts_did mat 2_2 variant

  • docx
  • 09.05.2020
Публикация на сайте для учителей

Публикация педагогических разработок

Бесплатное участие. Свидетельство автора сразу.
Мгновенные 10 документов в портфолио.

Иконка файла материала 3_Computer science grade 10Using Scripts_did mat 2_2 variant.docx

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";

}


 

Посмотрите также