The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 4 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
I need the solution for all this questions !
the paper attached
ASSIGNMENT2Course Title:Web technologiesCourse code :IT230Deadline :March 06, 2016Marks :4Q1) Fill in the blanks ( 1 Mark)1.Javascript is called client side programming because it runs on the __________________not on the web server.2.Write the script tag that will execute an alert with message “Hello from Javascript!”, no need to include a scriptfile. Just complete the following javascript code<script type=”text/__________________________________________</script>3.Write the script tag that will include a javascript file calledmyname.js4.A valid variable name in javascript is similar to java, you cannot use reserved words, cannot have a space and itcannot start with a _________________________Q2) Give the output of the following code segments (1 Mark)A)<!DOCTYPE html><html><body><h1 id="id1">My Heading 1</h1><button type="button"onclick="document.getElementById('id1').style.color = 'red'">Click Me!</button></body></html>B)<!DOCTYPE html><html><body><p id="demo">Hello World!</p><script>document.getElementById("demo").style.backgroundColor = "yellow";</script></body></html>C)<!DOCTYPE html><html><body><p id="p1">Assignment 1!</p><p id="p2">Hello World!</p><script>document.getElementById("p2").style.color = "blue";document.getElementById("p2").style.fontFamily = "Arial";document.getElementById("p2").style.fontSize = "larger";</script><p>The paragraph above was changed by a script.</p></body></html>
Attachments:
-----------