Microsoft 70-480
Get real exam questions for 70-480 Programming in HTML5 with JavaScript and CSS3. 100% Free.
70-480 Premium VCE File
Learn More
100% Pass Guarantee - Dumps Verified - Instant Download
150 Lectures, 20 Hours
Q1. 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!
Q1. 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 View AnswerAnswer: D Q2. You are developing an application tha
Q1. You develop a webpage with a standard input control by using HTML5. The input control must display the text Enter your given name, as shown below: When a user selects the input control, the text must disappear. You need to create the input control. Which input control should you use? A. <input name="GivenName" value=" Enter your given name" /> B. <input name ="GivenName" defaul
Q1. You are developing an HTML5 web application that displays stock information. The application loads information from a web service by using AJAX. The following code defines a Stock object and loads stock data. You need to implement the loadStock function. Which code segment should you use? A. Option A B. Option B C. Option C D. Option D View AnswerAnswer: AQ2. You are developing an H
Q1. You are developing an HTML page that includes the following code. <h1 id="header">A Static Page</hl> You need to modify the content of the HI element dynamically by using JavaScript. Which code segment should you use? A. Option A B. Option B C. Option C D. Option D View AnswerAnswer: DQ2. You are developing an HTML5 web form to collect feedback information from site visi
Q1. You are developing a JavaScript library. You have the following requirements: Custom exceptions must include an error message and custom error number. These exceptions must be thrown when data validation errors occur. Developers must call the library to easily catch the exception and identify the problem. You develop the following code. (Line numbers are included for reference only.) You
Q1. You are developing a web application by using HTML5. You have the following requirements. . The color of a menu item must change when a user hovers over the item. . The color of the menu item must change back to its original color after five seconds. You need to ensure that the animation is applied to all menu items. Which CSS3 code should you use? A. Option A B. Option B C. Option C D.
Q1. You develop an HTML5 webpage. You have the following HTML markup: (Line numbers are for reference only.) You need to determine how the webpage will appear when the CSS styles are applied. Select two. A. The first row of the table will have a red background. B. The second row of the table will have a red background. C. The second cell in the first row of the table will have a blue backgro
Q1. You develop an HTML5 application that interacts with a REST service. The REST service accepts JSON data. A JavaScript object named form Data contains data that is sent to the REST service. You need to convert the JavaScript object named formData into JSON. Which code segment should you use? A. jQuery.ajax.valueOf(formData); B. window.evai(formData); C. JSON.stringify (formData); D. form
Q1. You develop a webpage by using HTML5. You create the following markup: <input type "url" name= "website" required="required" /> You need to ensure that the value that the user enters contains a secure URL. What should you do? A. Add the following attribute to the input tag: value="https://v B. Add the following attribute to the input tag: pattern="https://.+" C. Add the following
Q1. Your company uses a third-party component that generates HTML for a website. The third-party component creates DIV elements that display a yellow background. The third-party component uses inline styles in the DIV elements that are inconsistent with your corporate standards. You must override the DIV elements in the style sheet with the corporate styles. You need to ensure that the website
Q1. You are developing a web application that uses web workers to process images extracted from an HTML5 CANVAS object on a web page. You need to pass messages between the web workers and the web page. Which three types of objects should you use? (Each correct answer presents a complete solution. Choose three.) A. JSON B. Window C. Parent D. String E. JavaScript F. DOM View AnswerAnswer:
Q1. You are creating a JavaScript object that represents a customer. You need to extend the Customer object by adding the GetCommission method. You need to ensure that all future instances of the Customer object implement the GetCommission method. Which code segment should you use? A. Option A B. Option B C. Option C D. Option D View AnswerAnswer: DQ2. You are creating an HTML5 applicat
Q1. You are developing an HTML5 page named main.html. The JavaScript code for the main page is located in a file named myApp.js. You need to create a web worker and instantiate it from main.html. Where should you place the web worker code? A. In the myApp.js file B. In the main.html file C. In a separate .js (JavaScript) file D. In a separate executable file View AnswerAnswer: CQ2. You a
Q1. An HTML page contains no embedded JavaScript or CSS code. The body of the page contains only the following line of code. <p id="test">test</p> A CSS style sheet must be applied dynamically. The style must visibly change the appearance of the paragraph on the page. You need to apply a style the paragraph. Which line of code should you use? A. document.getElementById("test").sty
Q1. You troubleshoot a webpage that contains the following HTML element: <canvas id= "clickCanvas" width-"300"> height= "300">Your browser does not support the HTML5 canvas.</canvas> The following JavaScript code is included in a script tag in the HEAD section of the webpage: (Line numbers are included for reference only.) You need to invoke the clickReporter() JavaScript functi
Q1. You are creating a rotating image of a company logo. The logo must spin on a horizontal axis and on a vertical axis. You need to use the least amount of development effort to meet the requirement. What should you do? A. Create an Image Spinner object, load the image into the spinner, and set the horizontal and vertical rotation properties. B. Create a Canvas Globe transform and set the i
Q1. You are developing a web page that consumes a Windows Communication Foundation (WCF) service. The page includes the following code segment. var xhr = new XMLHttpRequest() ; The page uses the xhrHandler() method to listen for changes to the request status of the WCF service calls. It uses the xmlToJavaScript() method to convert the response from the WCF service to a JavaScript object. The x
Q1. You develop a webpage by using HTML5. You create the following markup: <input type "url" name= "website" required="required" /> You need to ensure that the value that the user enters contains a secure URL. What should you do? A. Add the following attribute to the input tag: value="https://v B. Add the following attribute to the input tag: pattern="https://.+" C. Add the following