Microsoft 70-480 Programming in HTML5 with JavaScript and CSS3 Exam Practice Test

Page: 1 / 14
Total 292 questions
Question 1

You have the following CSS markup that renders a red rectangle on a webpage.

How large will the red rectangle appear when it renders on the page?



Answer : A

References:

https://www.w3schools.com/CSSref/css3_pr_box-sizing.asp


Question 2

You have the following markup.

You need to change the markup programmatically to display as follows:

Which line of code should you use?



Answer : A


Question 3

You have a web API that responds to a GET request and returns an image as an array of bytes.

You need to create a page that contains a button to requests the image. The response must be displayed as an image on the page.

Which two code segments can you use to achieve the goal? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.



Answer : B, C


Question 4

NOTE: This question is a part of series of questions that presents the same scenario. Each question in the series contains unique solution that might meet the started goals. Some questions sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section. you will not be able to return to it. As a result, these questions will not appear in the review screen.

You have the following HTML5 and CSS3 markup within a webpage.

You need to set the background color of the Home link to yellow. The solution can affect the color of the other elements.

Solution: You use the following style:

Does this meet the goal?



Answer : A


Question 5

NOTE: This question is a part of series of questions that presents the same scenario. Each question in the series contains unique solution that might meet the started goals. Some questions sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section. you will not be able to return to it. As a result, these questions will not appear in the review screen.

You have the following HTML5 and CSS3 markup within a webpage.

You need to set the background color of the Home link to yellow. The solution can affect the color of the other elements.

Solution: You use the following style:

Does this meet the goal?



Answer : B


Question 6

NOTE: This question is a part of series of questions that presents the same scenario. Each question in the series contains unique solution that might meet the started goals. Some questions sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section. you will not be able to return to it. As a result, these questions will not appear in the review screen.

You have the following HTML5 and CSS3 markup within a webpage.

You need to set the background color of the Home link to yellow. The solution can affect the color of the other elements.

Solution: You use the following style:

Does this meet the goal?



Answer : B


Question 7

You have the following code.

You discover that the displayGlobalProduct function displays a value of boat.

You need to change the function to display a value of car.

Which line of code can you use to replace the alert?



Answer : C

References:

http://www.endmemo.com/js/eval.php


Page:    1 / 14   
Total 292 questions