Web Programming with html5, css, and JavaScript



Download 18,68 Mb.
Pdf ko'rish
bet78/98
Sana28.10.2022
Hajmi18,68 Mb.
#857632
1   ...   74   75   76   77   78   79   80   81   ...   98
Bog'liq
Web Programming with HTML5, CSS, and JavaScript

for
 Loop
13. 
What are the three components in a standard 
for
loop’s heading?
14. 
When should you use a standard 
for
loop?
10.11 Manipulating CSS with JavaScript
15. 
What is the name of the JavaScript property associated with the HTML 
class
attribute?
16. 
What is the name of the JavaScript property associated with the HTML 
style
attribute?
491
Review Questions


17. 
Both of the 
display: none
and 
visibility: hidden
property-value pairs cause their 
matched elements to not display. What’s the functionality difference between the property-
value pairs?
10.12 Using 
z-index
 to Stack Elements on top of Each Other
18. 
If two elements overlap and one element has a 
z-index
value of 0 and the other element 
has a 
z-index
value of -1, what happens in terms of how they’re displayed?
19. 
What is a variable’s persistence?
20. 
Suppose a function is called, and it updates a global variable. If the function is called a 
second time, will the updated variable’s value be remembered, or will it be reset to its 
original undefined value?
10.13 textarea Controls
21. 
Suppose you have a variable named 
recommendation
that holds a textarea object. What 
code can you use to clear the textarea’s box so it’s empty?
10.14 Dormitory Blog Web page
22. 
Where does the Chesnut Hall bass player live?
10.16 List Boxes
23. 
What does it mean if a list box object’s 
selectedIndex
property is -1?
Exercises
1. 
[after Section 10.2] Assume the following code is part of a working web page. What message 
will the 
alert
dialog display?
var msg = "Usie:";
var x = 3;
while (x > 0) {
msg += " " + x
x--;
}
alert(msg);
2. 
[after Section 10.2] Assume the following code is part of a working web page. The following 
code is supposed to display the sum of 1 through 4 (with a dialog that says “Sum = 10”) and the 
product of 1 through 4 (with a dialog that says “Product = 24”). Find the errors and fix them.
var count = 1;
var sum = 0;

Download 18,68 Mb.

Do'stlaringiz bilan baham:
1   ...   74   75   76   77   78   79   80   81   ...   98




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish