Q1) Fill in the blanks ( 1 Mark) 1. Javascript is called client side programming
ID: 3674624 • Letter: Q
Question
Q1) 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 script file. Just complete the following javascript code
<script type=”text/__________________________________________</script>
3. Write the script tag that will include a javascript file called myname.js
4. A valid variable name in javascript is similar to java, you cannot use reserved words, cannot have a space and it cannot start with a _________________________
Explanation / Answer
1. web browser on client side
2.
<script type="text/javascript">
alert("Hello from Javascript!");
</script>
3. <script src="myname.js"></script>
4. number
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.