Welcome to awslagi.com – Sharing AWS, Anthropic, Google Cloud, Microsoft Azure IT Exams. It's free for all!

MCSD Programming in HTML5 with JavaScript and CSS3

Build interactive web apps with HTML5, JavaScript, and CSS3.

4.8★★★★★(252 ratings)
16,664 studentsIntermediate
Learn to create modern web applications using the core front-end technologies that power today’s browser experiences. The exam covers scripting, styling, document structure, and client-side logic, making it a practical foundation for web development. These skills are valuable for developers starting in front-end or full-stack roles. They help you build responsive, engaging interfaces that support real user needs across devices and browsers.

What you'll learn

  • Write JavaScript logic- Style pages with CSS3- Build HTML5 interfaces- Handle browser events- Create responsive web experiences

70-480

Lectures1
Questions15
Duration30 week
Students16,664

$20.00

Full Free Question Bank (15 Questions)

MCSD Programming in HTML5 with JavaScript and CSS3 (70-480) Practice Questions & Verified Answers

Click any option to test your knowledge, or reveal the verified answer and detailed explanation below each question.

Question #1Part 1

You are developing a customer web form that includes the following HTML. 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?

AOption A
BOption B
COption C
DOption D
Question #2Part 1

You are developing an application that consumes an external web service that returns the latest stock rate. The application has two methods: ✑ The getResults() method makes an AJAX web service request ✑ The ShowRate() method displays the stock rate from the web service response You need to ensure that the ShowRate() method always displays the latest stock rate. Which code segment should you use?

AOption A
BOption B
COption C
DOption D
Question #3Part 1

You are developing an application that consumes a Windows Communication Foundation (WCF) service. The application interacts with the service by using the following code. (Line numbers are included for reference only.) You need to authenticate to the WCF service. What should you do?

AAt line 11, add the following lines of code. ,username: yourusername ,password: yourpassword
BAt line 11, add the following line of code. ,credentials: prompt
CAt line 06, replace the code with the following line of code. url: "http://contoso.com/Service.svc/GetCountry? Username=username&password=password",
DAt line 11, add the following line of code. The username and password will be stored in an XML file.
Question #4Part 1

You are developing a customer web form that includes the following HTML. Information from the web form is submitted to a web service. The web service returns the following JSON object. { "Confirmation": "1234", "FirstName": "John" } You need to display the Confirmation number from the JSON response in the txtValue label field. Which JavaScript code segment should you use?

A$("#txtValue").val = (JSONObject.Confirmation);
B$("#txtValue").val (JSONObject.Confirmation);
C$("#txtValue").text = (JSONObject.Confirmation);
D$("#txtValue").text (JSONObject.Confirmation);
Question #5Part 1

You are testing the value of the following variable in JavaScript. var height = "300"; A block of code must execute if the following conditions are true: ✑ The height variable is set to 300 ✑ The height variable is of type string You need to implement the code to run the test. Which line of code should you use?

Aif (height = = 300)
Bif (height = = "300")
Cif (height ! "300")
Dif (height ! = 300)
Question #6Part 1

You are developing a customer web form that includes the following HTML. A customer must enter a value in the text box prior to submitting the form. You need to add validation to the text box control. Which HTML should you use?

AB.
CD.
Question #7Part 1

You are developing an HTML5 web application that displays the current temperature whenever a button is clicked. The following code provides this functionality. When the temperature is loaded, the status property on the loader instance does not change. You need to ensure that the status property on the loader instance is updated when the temperature is loaded. Which code segment should you use to replace the Loader function?

AOption A
BOption B
COption C
DOption D
Question #8Part 1

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.)

AOption A
BOption B
COption C
DOption D
Question #9Part 1

You are creating a class named Consultant that must inherit from the Employee class. The Consultant class must modify the inherited PayEmployee method. The Employee class is defined as follows. function Employee() {} Employee.prototype.PayEmployee = function ( ){ alert('Hi there!'); } Future instances of Consultant must be created with the overridden method. You need to write the code to implement the Consultant class. Which code segments should you use? (Each correct answer presents part of the solution. Choose two.)

AConsultant.PayEmployee = function () { alert('Pay Consulant'); }
BConsultant.prototype.PayEmployee = function () { alert('Pay Consultant'); }
Cfunction Consultant () { Employee.call(this); } Consultant.prototype = new Employee(); Consultant.prototype.constructor = Consultant;
Dfunction Consultant() { Employee.call(this); }
Question #10Part 1

You are modifying an existing web page. The page is being optimized for accessibility. The current page contains the following HTML. Standards-compliant screen readers must be able to identify the links contained within the navigation structure automatically. You need to create the navigation link structure in the page. With which container tags should you wrap the existing markup?

AB.
CD.
Question #11Part 1

You develop an HTML5 web application. The web application contains a form that allows users to enter only their month of birth. The value that the users enter must be numbers between 1 and 12, inclusive. You need to implement the form element for the month of birth. Which element should you use?

AB.
CD.
Question #12Part 1

You are developing an HTML5 page that has an element with an ID of logo. The page includes the following HTML. Logo: You need to move the logo element lower on the page by five pixels. Which lines of code should you use? (Each correct answer presents part of the solution. Choose two.)

Adocument.getElementById("logo") .style.position = "relative";
Bdocument.getElementByld("logo").Style.top = "5px";
Cdocument.getElementById("logo").style.top = "-5px";
Ddocument.getElementById("logo").style.position = "absolute";
Question #13Part 1

You develop an HTML5 application that allows users to upload files from their local computers. The user interface must remain responsive during the upload. You need to implement the file upload functionality for the application. Which two actions should you perform? (Each correct answer presents a complete solution. Choose two.)

AUse an HTML form with a file type INPUT element that targets a hidden IFRAME element.
BUse a file type INPUT element, and then use the Web Storage API to upload the file.
CUse a FormData object and upload the file by using XMLHttpRequest.
DRegister the file protocol by using protocol handler registration API and then upload the file by using XMLHttpRequest.
EUse the FileSystem API to load the file, and then use the jQuery post method to upload the file to the server.
Question #14Part 1

You are creating a JavaScript function that displays the name of a web application. You declare the following button element. 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.)

AOption A
BOption B
COption C
DOption D
Question #15Part 1

You are developing an HTML5 page that includes several paragraph elements. You have the following requirements: ✑ Add a drop shadow that is one inch below the text in the paragraph ✑ Set the radius of the drop shadow to five pixels You need to style the paragraphs to meet the requirements. Which CSS style should you use?

AText-shadow: 72pt 0pt 5pt
BText-shadow: 5px lin 0px;
CText-shadow: 72pt 0em 5px;
DText-shadow: 100px 0px 5px;

📢 Unlock Full Access to Success!

"The content displayed here is a promotional preview and contains only 50% of the actual exam database. To access the complete set of updated questions, please upgrade to the Full Version."

👉 Click the button and follow the instructions to secure your full access immediately!