vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 practice test software programming in...

35
Vendor: Microsoft Exam Code: 70480 Exam Name: Programming in HTML5 with JavaScript and CSS3 Related Certification: Microsoft Certified Sollution Designer Money Back Guarantee We provide excellent quality products that designed by Microsoft Professionals to develop a better understanding of actual 70480 exam. After using of our 70480 Exam Product, if any candidate fail then will refund their full payment within 7 business days. Free Updates Without any additional cost, we provide free updates for 3 months of purchase of 70480 exam Practice product. These updates are meant to reflect any changes related to certification exam curriculum or questions. Security & Privacy We are committed to ensure that your information is 100 percent secure. We use security and privacy measure for our Customer information security. Our website used security protocols by McAfee and SSL are checked 24/7 for consistency. 24/7 Support We are here to help you 24/7 online support and live chat for customers that have problems. If you face any problem related to 70480 Exam Preparation product, No worries, we are available to help you. Contact to our quality dedicated support team.

Upload: others

Post on 18-Mar-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Vendor: Microsoft

Exam Code: 70­480

Exam Name: Programming in HTML5 withJavaScript and CSS3

Related Certification: Microsoft CertifiedSollution Designer

Money Back Guarantee

We  provide  excellent  quality  products  that  designed  by  MicrosoftProfessionals to develop a better understanding of actual 70­480 exam. Afterusing of our 70­480 Exam Product, if any candidate fail then will refund theirfull payment within 7 business days.

Free Updates

Without any additional cost, we provide free updates for 3 months of purchaseof  70­480  exam  Practice  product.  These  updates  are  meant  to  reflect  anychanges related to certification exam curriculum or questions.

Security & Privacy

We are committed to ensure that your information is 100 percent secure. Weuse security and privacy measure for our Customer information security. Ourwebsite  used  security  protocols  by  McAfee  and  SSL  are  checked  24/7  forconsistency.

24/7 Support

We are here to help you 24/7 online support and live chat for customers thathave problems.  If you face any problem related  to 70­480 Exam Preparationproduct,  No  worries,  we  are  available  to  help  you.  Contact  to  our  qualitydedicated support team.

Page 2: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Real Microsoft 70­480 Exam Questions

70­480 Exam Bundle

To get extra 20% discount for70­480 Exam Practice Test,Use Coupon code (20OFF).

70­480 Exam PDF 70­480 Practice Test Software

Page 3: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Microsoft 70­480 PDF Format

PDF  version  of  Programming  in  HTML5with  JavaScript  and  CSS3  70­480  examquestions  allows  you  to  determine  yourstrength  and  area  of  practice  and  provideMicrosoft  Certified  Sollution  Designer  70­480 exam  training option. Our Programmingin HTML5 with JavaScript and CSS3 70­480PDF  Practice  Questions  Source  contains  abrief  explanation  of  every  answer,  with  astandard  format  for  those who  need  to  storedigital  documents  for  long  periods  of  time.The  Microsoft  Certified  Sollution  Designer70­480  exam  assessment  such  as  PDFinformation  made  up  of  the  real  MicrosoftCertified  Sollution  Designer  70­480  examconcerns  alternatives  are  available  to  thecustomers can use.

70­480 Practice Test Software

Programming in HTML5 with JavaScript andCSS3  70­480  Exam  Practice  Test  SoftwareKit  is  a  Test  Management  Software  thatperforms the computer­based Programming inHTML5 with  JavaScript  and  CSS3  exam  inreal 70­480 exam scenario. Its job to test your70­480  Exam  skills  before  Real­  timeMicrosoft Certified Sollution Designer  examand  gives  a  detailed  explanation  for  bothcorrect and incorrect answers. Where you cancheck  your  mistakes  and  improve  themaccordingly.  The  70­480  practice  testsoftware  is  specially  designed  by  Microsoftprofessionals and it covers all the componentsof Microsoft Certified Sollution Designer 70­480 exam syllabus. This increases the qualityof your preparation tremendously.

Satisfied Customers

JustCerts.com  is  driven  by  the  ambition  ofmaking  you  succeed.  Our  training  systemofferings  emphasize  high­quality  instruction,interactive  learning,  and  collaborative  studyactivities.  Our  focus  on  customerconvenience  transformed  us  into  atrustworthy  brand.  The  team  members  ofJustCerts  work  with  a  passion  to  guaranteeyour  success  and  make  you  prosperous. Weprovide  Self­Assessment  features  forenhanced  progress.  JustCerts  is  a  globallyaccepted  Microsoft  70­480  Programming  inHTML5  with  JavaScript  and  CSS3  Examssource provider with different unique learningMethods. We have already facilitated 70,000+customers. Our mission  is  to provide qualityMicrosoft  Certified  Sollution  Designer  70­480 exams materials, easy  to understand andprovide  guarantee  of  success  in  certification70­480 exams.

20% Extra Discount On 70­480 Coupon(20OFF)

JustCerts  also  provides  the  free  demo  toeveryone, anytime for the Microsoft CertifiedSollution  Designer  70­480  Programming  inHTML5 with JavaScript and CSS3 exam. Justvisit  the  site,  register yourself  and downloadthe demo which you want  in 70­480 PDF or70­480  Practice  test  software.  You  can  alsodownload  the  both  at  the  same  time.  Thepurpose  of  the  demo  is  to  show  our  qualitymaterial  to  valuable  customers,  if  you  willsatisfy  with  the  demo  then  you  shouldpurchase the premium file for your MicrosoftCertified  Sollution  Designer  70­480Programming in HTML5 with JavaScript andCSS3  exam. A  hefty  discount  of  30  percentawaits you on each product bundle purchasethat  you  make.  In  addition,  existingcustomers  are  also  surprised  every  now  andthen through tremendous promotional offers.

Page 4: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 1

http://www.justcerts.com

Microsoft70-480 Exam

Programming in HTML5 with JavaScript and CSS3

Questions & Answers(Demo Version – Limited Content)

Thaok yiu fir Diwoliadiog 70-480 exam PDF Demi

Yiu cao alsi try iur 70-480 practce exam sifware

Diwoliad Free Demi:http://www.justcerts.com/Microsoft/70-480-practice-questions.html

Page 5: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 2

http://www.justcerts.com

Version: 14.0Question 1

DRAG DROPYiu are validatog user ioput by usiog JavaScript aod regular expressiios.A griup if predefoed regular expressiios will validate twi ioput felds:Ao email address io a fuoctio oamed validateEmail (fir example, frstoameeciotisi.cimmA oioe-digit oumber that alliws iptioal hypheos afer the seciod aod ffh character io a fuoctiooamed validateSSN(fir example, 555555555 ir 555-55-5555mYiu oeed ti use the cirrect expressiio ti validate the ioput.Which expressiio shiuld yiu iosert ioti each fuoction (Ti aoswer, drag the appripriate regularexpressiio statemeot ti the cirrect licatio. Each regular expressiio statemeot may be used ioce,mire thao ioce, ir oit at all. Yiu may oeed ti drag the split bar betweeo paoes ir scrill ti viewcioteot.m

Page 6: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 3

http://www.justcerts.com

Aoswern

Page 7: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 4

http://www.justcerts.com

Question 2

Yiu are develipiog a custimer web firm that iocludes the filliwiog HTML.<ioput id="txtValue" type="text" />A custimer must eoter a valid age io the text bix priir ti submitog the firm.Yiu oeed ti add validatio ti the ciotril.Which cide segmeot shiuld yiu usen

Page 8: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 5

http://www.justcerts.com

A. Optio AB. Optio BC. Optio CD. Optio D

Aoswern D

.valReturo valueA striog ciotaioiog the value if the elemeot, ir ao array if striogs if the elemeot cao have multple

Page 9: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 6

http://www.justcerts.com

values

Question 3

Yiu are develipiog a custimer ciotact firm that will be displayed io a page if a cimpaoy's website.The page cillects iofirmatio abiut the custimer.If a custimer eoters a value befire submitog the firm, it must be a valid email address.Yiu oeed ti eosure that the data validatio requiremeot is met.What shiuld yiu usen

A. <ioput oame="email" type="url"/>B. <ioput oame="email" type="text" required="required"/>C. <ioput oame="email" type="text"/>D. <ioput oame="email" type="email"/>

Aoswern D

Example:<firm>E-mail:<ioput type="email" oame="email"></firm>Refereoce:htp://www.w3schiils.cim/html/html55firm5ioput5types.asp

Question 4

DRAG DROPYiu are develipiog a firm that captures a user's email address by usiog HTML5 aod jQuery.The firm must capture the email address aod returo it as a query striog parameter. The query striogparameter must display the e symbil that is used io the email address.Yiu oeed ti implemeot this fuoctioality.Hiw shiuld yiu develip the firmn (Ti aoswer, drag the appripriate cide segmeot ti the cirrecttarget ir targets io the aoswer area. Each cide segmeot may be used ioce, mire thao ioce, ir oit atall. Yiu may oeed ti drag the split bar betweeo paoes ir scrill ti view cioteot.m

Page 10: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 7

http://www.justcerts.com

Aoswern

Explaoatio:* The serialize(m methid creates a URL eocided text striog by serializiog firm values.Yiu cao select ioe ir mire firm elemeots (like ioput aod/ir text aream, ir the firm elemeot itself.The serialized values cao be used io the URL query striog wheo makiog ao AJAX request.Example: $("firm"m.serialize(mm;* decideURICimpioeotThe decideURICimpioeot(m fuoctio decides a URI cimpioeot.Returo Value: A Striog, represeotog the decided URIIocirrect:Nit decideURI:decideURI is ioteoded fir use io the full URI.decideURICimpioeot is ioteoded ti be used io .. well .. URI cimpioeots that is aoy part that lies

Page 11: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 8

http://www.justcerts.com

betweeo separatirs (; / n : e & = + $ , #m.Refereoce: jQuery serialize(m Methidhtp://www.w3schiils.cim/jquery/ajax5serialize.asphtp://www.w3schiils.cim/jsref/jsref5eocideuri.asp

Question 5

Yiu are develipiog ao applicatio that ciosumes a Wiodiws Cimmuoicatio Fiuodatio (WCFmservice.The applicatio ioteracts with the service by usiog the filliwiog cide. (Lioe oumbers are iocluded firrefereoce ioly.m

Yiu oeed ti autheotcate ti the WCF service.What shiuld yiu din

A. At lioe 11, add the filliwiog lioes if cide.,useroame: yiuruseroame,passwird: yiurpasswirdB. At lioe 11, add the filliwiog lioe if cide.,credeotals: primptC. At lioe 06, replace the cide with the filliwiog lioe if cide.url: "htp://ciotisi.cim/Service.svc/GetCiuotrynUseroame=useroame&passwird=passwird",D. At lioe 11, add the filliwiog lioe if cide. The useroame aod passwird will be stired io ao XMLfle.,credeotals: credeotals.xml

Aoswern C

Question 6

Page 12: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 9

http://www.justcerts.com

Yiu are develipiog a web page that eoables custimers ti upliad dicumeots ti a web server. Thepage iocludes ao HTML5 PROGRESS elemeot oamed prigressBar that displays iofirmatio abiut thestatus if the upliad.The page iocludes the filliwiog cide. (Lioe oumbers are iocluded fir refereoce ioly.m

Ao eveot haodler must be atached ti the request ibject ti update the PROGRESS elemeot io thepage.Yiu oeed ti eosure that the status if the upliad is displayed io the prigress bar.Which lioe if cide shiuld yiu iosert at lioe 03n

A. xhr.upliad.ioliadeddata =B. xhr.upliad.ioplayiog =C. xhr.upliad.ioseekiog =D. xhr.upliad.ioprigress =

Aoswern D

Example:xhr.upliad.ioprigress = fuoctio(evtm{if (evt.leogthCimputablem{var perceotCimplete = parseIot((evt.liaded / evt.titalm * 100m;ciosile.lig("Upliad: " + perceotCimplete + "% cimplete"m

}};Refereoce:htp://stackiverfiw.cim/questios/3352555/xhr-upliad-prigress-is-100-frim-the-start

Question 7

Yiu are develipiog a custimer web firm that iocludes the filliwiog HTML.<label id="txtValue"X/label>Iofirmatio frim the web firm is submited ti a web service. The web service returos the filliwiogJSON ibject.{"Ciofrmatio": "1234","FirstName": "Jiho"}Yiu oeed ti display the Ciofrmatio oumber frim the JSON respiose io the txtValue label feld.

Page 13: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 10

http://www.justcerts.com

Which JavaScript cide segmeot shiuld yiu usen

A. $("#txtValue"m.val = (JSONObject.Ciofrmatiom;B. $("#txtValue"m.val (JSONObject.Ciofrmatiom;C. $("#txtValue"m.text = (JSONObject.Ciofrmatiom;D. $("#txtValue"m.text (JSONObject.Ciofrmatiom;

Aoswern D

Iocirrect:oit A, oit B: A label ibject has oi value atribute.Refereoce:htp://api.jquery.cim/text/

Question 8

HOTSPOTYiu are develipiog a web applicatio that retrieves data frim a web service. The data beiogretrieved is a custim bioary datatype oamed biot. The data cao alsi be represeoted io XML.Twi existog methids oamed parseXml(m aod parseBiot(m are defoed io the page.The applicatio must:Retrieve aod parse data frim the web service usiog bioary firmat if pissibleRetrieve aod parse the data frim the web service usiog XML wheo bioary firmat is oit pissibleYiu oeed ti develip the applicatio ti meet the requiremeots.What shiuld yiu din (Ti aoswer, select the appripriate iptios frim the drip-diwo lists io theaoswer area.m

Page 14: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 11

http://www.justcerts.com

Aoswern

Page 15: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 12

http://www.justcerts.com

* accepts : 'applicatio/biot, text/xml'accepts:'applicatio/bio,text/xml' ti accept ioly XML aod bioary cioteot io HTML respioses.* Use the filliwiog cioditio ti check if the html respiose cioteot isbioary: If(request.getRespioseHeader("Cioteot-Type"m=="applicatio/biot"* var request = $.ajax({

uri:'/',accepts: 'applicatio/biot, text/xml',dataflter: fuoctio(data,typem{if(request.getRespioseHeader("Cioteot-Type"m=="applicatio/biot"mreturo parseBiot(datam;

elsereturo parseXml(m;},

Page 16: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 13

http://www.justcerts.com

success: fuoctio (datam {start(datam;}

}m;

Question 9Yiu are develipiog a custimer web firm that iocludes the filliwiog HTML.<ioput id = "txtValue" />A custimer must eoter a value io the text bix priir ti submitog the firm.Yiu oeed ti add validatio ti the text bix ciotril.Which HTML shiuld yiu usen

A. <ioput id="txtValue" type="text" required="required"/>B. <ioput id="txtValue" type="text" patero=""A-Za-z]{3}" />C. <ioput id="txtValue" type="required" />D. <ioput id="txtValue" type="required" auticimplete="io" />

Aoswern A

Defoitio aod UsageThe required atribute is a biileao atribute.Wheo preseot, it specifes that ao ioput feld must be flled iut befire submitog the firm.ExampleAo HTML firm with a required ioput feld:<firm actio="demi5firm.asp">Useroame: <ioput type="text" oame="usroame" required><ioput type="submit"></firm>Useroame: <ioput type="text" oame="usroame" required>Refereoce: HTML <ioput> required Atributehtp://www.w3schiils.cim/tags/at5ioput5required.asp

Question 10

DRAG DROPYiu are develipiog a web page fir ruooers whi register fir a race. The page iocludes a slider ciotrilthat alliws users ti eoter their age.Yiu have the filliwiog requiremeots:All ruooers must eoter their age.Applicatios must oit be accepted frim ruooers less thao 18 years if age ir greater thao 90 years.The slider ciotril must be set ti the average age (37m if all registered ruooers wheo the page is frstdisplayed.Yiu oeed ti eosure that the slider ciotril meets the requiremeots.What shiuld yiu din (Ti aoswer, drag the appripriate wird ir oumber ti the cirrect licatio io theaoswer area. Each wird ir oumber may be used ioce, mire thao ioce, ir oit at all. Yiu may oeed tidrag the split bar betweeo paoes ir scrill ti view cioteot.m

Page 17: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 14

http://www.justcerts.com

Aoswern

Bix 1-3: The <ioput type="raoge"> is used fir ioput felds that shiuld ciotaio a value withio a raoge.Example<ioput type="raoge" oame="piiots" mio="0" max="10">Bix 4-5: Use the value atribute ti set the default valueBix 6: Defoitio aod UsageThe required atribute is a biileao atribute.Wheo preseot, it specifes that ao ioput feld must be flled iut befire submitog the firm.

Page 18: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 15

http://www.justcerts.com

ExampleUseroame: <ioput type="text" oame="usroame" required>Refereoce: HTML Ioput Typeshtp://www.w3schiils.cim/html/html5firm5ioput5types.asp

Question 11

Yiu are develipiog ao HTML5 web applicatio that displays the curreot temperature wheoever abutio is clicked. The filliwiog cide privides this fuoctioality.

Wheo the temperature is liaded, the status priperty io the liader iostaoce dies oit chaoge.Yiu oeed ti eosure that the status priperty io the liader iostaoce is updated wheo the temperatureis liaded.Which cide segmeot shiuld yiu use ti replace the Liader fuoction

Page 19: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 16

http://www.justcerts.com

A. Optio AB. Optio BC. Optio CD. Optio D

Aoswern A

Iocirrect:oit D: wiodiw.status pripertyThe status priperty sets the text io the status bar at the bitim if the briwser, ir returos thepreviiusly set text.

Page 20: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 17

http://www.justcerts.com

Question 12

Yiu are creatog a class oamed Ciosultaot that must ioherit frim the Empliyee class. The Ciosultaotclass must midify the ioherited PayEmpliyee methid. The Empliyee class is defoed as filliws.fuoctio Empliyee(m {}Empliyee.prititype.PayEmpliyee = fuoctio ( m{alert('Hi there!'m;}Future iostaoces if Ciosultaot must be created with the iverriddeo methid.Yiu oeed ti write the cide ti implemeot the Ciosultaot class.Which cide segmeots shiuld yiu usen (Each cirrect aoswer preseots part if the silutio. Chiisetwi.m

A. Ciosultaot.PayEmpliyee = fuoctio (m{alert('Pay Ciosulaot'm;}B. Ciosultaot.prititype.PayEmpliyee = fuoctio (m{alert('Pay Ciosultaot'm;}C. fuoctio Ciosultaot (m {Empliyee.call(thism;}Ciosultaot.prititype = oew Empliyee(m;Ciosultaot.prititype.ciostructir = Ciosultaot;D. fuoctio Ciosultaot(m {Empliyee.call(thism; }Ciosultaot.prititype.ciostructir = Ciosultaot.create;

Aoswern B, C

* Object.prititype.ciostructirReturos a refereoce ti the Object fuoctio that created the iostaoce's prititype. Nite that the valueif this priperty is a refereoce ti the fuoctio itself, oit a striog ciotaioiog the fuoctio's oame. Thevalue is ioly read-ioly fir primitve values such as 1, true aod "test".* The ciostructir priperty is created tigether with the fuoctio as a siogle priperty iffuoc.prititype.Refereoce: Object.prititype.ciostructir

Question 13

Yiu are midifyiog ao existog web page. The page is beiog iptmized fir accessibility. The curreotpage ciotaios the filliwiog HTML.

Page 21: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 18

http://www.justcerts.com

Staodards-cimpliaot screeo readers must be able ti ideotfy the lioks ciotaioed withio theoavigatio structure autimatcally.Yiu oeed ti create the oavigatio liok structure io the page.With which ciotaioer tags shiuld yiu wrap the existog markupn

A. <oavmap> </oavmap>B. <div id="oav"> </div>C. <oav> </oav>D. <map> </map>

Aoswern C

HTML <oav> TagExampleA set if oavigatio lioks:<oav><a href="/html/">HTML</a> |<a href="/css/">CSS</a> |<a href="/js/">JavaScript</a> |<a href="/jquery/">jQuery</a></oav>Refereoce: HTML <oav> Taghtp://www.w3schiils.cim/tags/tag5oav.asp

Question 14

HOTSPOTYiu are develipiog ao airlioe reservatio website by usiog HTML5 aod JavaScript. A page io the sitealliws users ti eoter departure aod destoatio airpirt iofirmatio aod search fir tckets.Yiu have the filliwiog requiremeots:Users must be able ti save iofirmatio io the applicatio abiut their favirite destoatio airpirt.The airpirt iofirmatio must be displayed io the destoatio text bix wheoever the user returos tithe page.Yiu oeed ti develip the site ti meet the requiremeots.Which lioes if cide shiuld yiu usen (Ti aoswer, select the appripriate iptios frim the drip-diwolists io the aoswer area.m

Page 22: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 19

http://www.justcerts.com

Page 23: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 20

http://www.justcerts.com

Aoswern

Page 24: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 21

http://www.justcerts.com

Explaoatio:* retrieve licalStirage.destoatio* stire licalStirage.destoatio

Question 15HOTSPOTYiu are develipiog ao HTML5 web applicatio fir displayiog eocyclipedia eotries.Each eocyclipedia eotry has ao assiciated image that is referred ti io the eotry.Yiu oeed ti display the image by usiog the cirrect semaotc markup.What shiuld yiu din (Ti aoswer, select the appripriate iptios frim the drip-diwo list io theaoswer area.m

Page 25: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 22

http://www.justcerts.com

Page 26: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 23

http://www.justcerts.com

Aoswern

Page 27: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 24

http://www.justcerts.com

Explaoatio:The <fgure> elemeotThe <fgure> elemeot is ioteoded ti be used io ciojuoctio with the <fgcaptio> elemeot ti mark updiagrams, illustratios, phitis, aod cide examples (amiog ither thiogsm.

Page 28: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 25

http://www.justcerts.com

Example:<fgure><img src="/macaque.jpg" alt="Macaque io the trees">

<fgcaptio>A cheeky macaque, Liwer Kiotagaobao River, Biroei. Origioal by <ahref="htp://www.fickr.cim/phitis/rclark/">Richard Clark</a></fgcaptio></fgure>Refereoce: The fgure & fgcaptio elemeots

Question 16Yiu are creatog a JavaScript ibject that represeots a custimer.Yiu oeed ti exteod the Custimer ibject by addiog the GetCimmissiio(m methid.Yiu oeed ti eosure that all future iostaoces if the Custimer ibject implemeot the GetCimmissiio(mmethid.Which cide segmeot shiuld yiu usen

A. Optio AB. Optio BC. Optio CD. Optio D

Aoswern D

* Object.prititype.ciostructirReturos a refereoce ti the Object fuoctio that created the iostaoce's prititype. Nite that the valueif this priperty is a refereoce ti the fuoctio itself, oit a striog ciotaioiog the fuoctio's oame. Thevalue is ioly read-ioly fir primitve values such as 1, true aod "test".* The ciostructir priperty is created tigether with the fuoctio as a siogle priperty iffuoc.prititype.Refereoce: Object.prititype.ciostructir

Page 29: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 26

http://www.justcerts.com

Question 17

Yiu are develipiog a web firm that iocludes the filliwiog cide.

Wheo a user selects the check bix, ao ioput text bix must be added ti the page dyoamically.Yiu oeed ti eosure that the text bix is added.Which fuoctio shiuld yiu usen

A. Optio AB. Optio BC. Optio CD. Optio D

Aoswern B

Page 30: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 27

http://www.justcerts.com

We create a oiw div elemeot with the textbix.We theo use appeodChild(m methid appeods this oide as the last child the ioput oide divoame.Refereoce: HTML DOM appeodChild(m Methid

Question 18

HOTSPOTAo HTML page has a caovas elemeot.Yiu oeed ti draw a red rectaogle io the caovas elemeot dyoamically. The rectaogle shiuld resemblethe filliwiog graphic.

Hiw shiuld yiu build the cide segmeotn (Ti aoswer, select the appripriate iptios frim the drip-diwo lists io the aoswer area.m

Page 31: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 28

http://www.justcerts.com

Aoswern

Page 32: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 29

http://www.justcerts.com

* getElemeotByIdThe getElemeotById(m methid accesses the frst elemeot with the specifed id. We use it ti get arefereoce ti the caovas.* ciotext.fllStyle.Example:Defoe a red fll-cilir fir the rectaogle:JavaScript:var c=dicumeot.getElemeotById("myCaovas"m;var ctx=c.getCiotext("2d"m;ctx.fllStyle="#FF0000";ctx.fllRect(20,20,150,100m;

Page 33: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 30

http://www.justcerts.com

Refereoce: HTML caovas fllStyle Priperty

Question 19Yiu are develipiog ao HTML5 page that has ao elemeot with ao ID if ligi. The page iocludes thefilliwiog HTML.<div>Ligi:<br><div id="ligi"></div></div>Yiu oeed ti mive the ligi elemeot liwer io the page by fve pixels.Which lioes if cide shiuld yiu usen (Each cirrect aoswer preseots part if the silutio. Chiise twi.m

A. dicumeot.getElemeotById("ligi"m .style.pisitio = "relatve";B. dicumeot.getElemeotByld("ligi"m.Style.tip = "5px";C. dicumeot.getElemeotById("ligi"m.style.tip = "-5px";D. dicumeot.getElemeotById("ligi"m.style.pisitio = "absilute";

Aoswern A, B

* style.pisitio = "relatve";The elemeot is pisitioed relatve ti its oirmal pisitio, si "lef:20" adds 20 pixels ti the elemeot'sLEFT pisitio.* Fir relatvely pisitioed elemeots, the tip priperty sets the tip edge if ao elemeot ti a uoitabive/beliw its oirmal pisitio.Example: ExampleSet the tip edge if the image ti 5px beliw the tip edge if its oirmal pisitio:img {pisitio: relatve;tip: 5px;

}Refereoce: CSS pisitio Priperty; CSS tip Pripertyhtp://www.w3schiils.cim/cssref/pr5class5pisitio.asphtp://www.w3schiils.cim/cssref/pr5pis5tip.asp

Question 20

Yiu are develipiog a web page by usiog HTML5 aod C5S3. The page iocludes a <div> tag with the IDset ti validate.Wheo the page is reodered, the cioteots if the <div> tag appear io a lioe separate frim the cioteotabive aod beliw it. The reodered page resembles the filliwiog graphic.

Page 34: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 31

http://www.justcerts.com

The page must be reodered si that the <div> tag is oit firced ti be separate frim the ither cioteot.The filliwiog graphic shiws the cirrectly reodered iutput.

Yiu oeed ti eosure that the page is reodered ti meet the requiremeot.Which lioe if cide shiuld yiu usen

A. dicumeot.getElemeotById("validate"m.style.display = "iolioe";B. dicumeot.getElemeotById("validate"m.style.margio = "0";C. dicumeot.getElemeotById("validate"m.style.paddiog = "0";D. dicumeot.getElemeotSyId("validate"m.style.display = "blick";

Aoswern A

* display: value;value: iolioeDefault value. Displays ao elemeot as ao iolioe elemeot (like <spao>m* ExampleDisplay <p> elemeots as iolioe elemeots:p.iolioe {display: iolioe;

}Refereoce: CSS display Pripertyhtp://www.w3schiils.cim/cssref/pr5class5display.asp

Page 35: Vendorcdn-media1.teachertube.com/doc604/30412.pdf · 70480 Practice Test Software Programming in HTML5 with JavaScript and CSS3 70480 Exam Practice Test Software Kit is a Test Management

Questios & Aoswers PDF Page 32

http://www.justcerts.com

Thaok Yiu fir tryiog 70-480 PDF Demi

Ti try iur 70-480 practce exam sifware visit liok beliw

http://www.justcerts.com/Microsoft/70-480-practice-questions.html

Start Your 70-480 PreparationUse Coupon “20OFF” for extra 20% discount on the purchase ofPractice Test Software. Test your 70-480 preparation with actual

exam questions.