getcertified4sure.com

[Sep 2021] microsoft 70 480




Proper study guides for Regenerate Microsoft Programming in HTML5 with JavaScript and CSS3 certified begins with Microsoft 70 480 certification preparation products which designed to deliver the Refined microsoft exam 70 480 questions by making you pass the 70 480 vce test at your first time. Try the free 70 480 dumps demo right now.

Q21. You are developing a web application that consumes services from a third-party application. A web worker processes the third-party application requests in the background. A page in the application instantiates the web worker process. 

You need to establish two-way communications between the web worker process and the page. 

Which two actions will achieve this goal? (Each correct answer presents a complete solution. Choose two.) 

A. From the web worker, use the onconnect event handler of the main page to capture events. 

B. From the main page, use the onmessage event handler of the web worker to capture events. 

C. From the web worker, use the onmessage event handler of the main page to capture events. 

D. From the main page, use the onconnect event handler of the web worker to capture events. 

Answer: BC 


Q22. You are developing an HTML5 web application and are styling text. 

You need to use the text-transform CSS property. 

Which value is valid for the text-transform property? 

A. lowercase 

B. 20px 

C. line-through 

D. italic 

Answer:


Q23. You are developing an application that uses a third-party JavaScript library named doWork(). 

The library occasionally throws an "object is null or undefined" error with an error code of -2146823281. 

The application must: 

. Extract and handle the exceptions thrown by doWork() 

. Continue normal program execution if other exceptions occur You need to implement the requirements. 

Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Q24. You are creating a class named Sedan that must inherit from the Car class. The Sedan class must modify the inherited fourDoor () method. The Car class is defined as follows. 

Future instances of Sedan must be created with the overridden method. 

You need to write the code to implement the Sedan class. 

Which two code segments should you use? (Each correct answer presents part of the solution. Choose two.) 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: BC 


Q25. You are developing a web page that has a group of HI and H2 elements. The page also includes a CSS class named underlineMe. 

You have the following requirements: 

The font color of all H1 and H2 elements must be changed to red. 

The CSS class underlineMe must be applied to all H1 and H2 elements. 

You need to update the web page to meet the requirements. Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Q26. You develop an HTML5 chat application. 

You need to provide real-time updates to the messages that users post in the chat application. 

What should you do? 

A. Use get o to obtain data updates. 

B. Use a RESTful web service. 

C. Use WebSockets. 

D. Use ajaxo to obtain data updates. 

Answer: C


Q27. You develop an HTML5 webpage. You have the following HTML markup: 

You need to change the background color for all of the elements whose name attribute ends with the word name. 

Which code segment should you add to the webpage? 

A. $ ('input [name!="name"]’) .ess ({ 'background-color' : ' #E0ECF8'}) ; 

B. ${'input [name~="name"] ') .ess ({ 'background-color' : ' #E0ECF8' }) ; 

C. ${'input[name*="name"]').ess({'background=color': #E0ECF8'}); 

D. $( 'input [name$="name"] ') .ess ({ 'background-color' : '#E0ECF8'}); 

Answer: D


Q28. You need to test the value of the following variable in JavaScript. 

var length = "75"; 

A block of code must execute if the length equals 75 regardless of the data type. 

You need to use the statement that meets this requirement. 

Which lines of code should you use? (Each correct answer presents a complete solution. Choose two.) 

A. if (length = = = 75) 

B. if (length = = 75) 

C. if (length! = 75) 

D. if (length = = "75") 

Answer: BD 


Q29. You are developing a customer web form that includes the following HTML. 

<input id="txtValue" type="text" /> 

A customer must enter a valid age in the text box prior to submitting the form. 

You need to add validation to the control. 

Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Q30. You are creating a JavaScript function that displays the name of a web application. 

You declare the following button element. 

<input type="button" id= "About" value="About" /> 

When a user clicks the button, a JavaScript function named About must be called. 

You need to create an event handler that calls the About function when the button is clicked. 

Which two code segments can you use? (Each correct answer presents a complete solution. Choose two.) 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: CD