- Home
- Microsoft Certification
- 70-480 Exam
- Microsoft.70-480.dumpsfiles Dumps
Free Microsoft 70-480 Exam Dumps Questions & Answers
| Exam Code/Number: | 70-480Join the discussion |
| Exam Name: | Programming in HTML5 with JavaScript and CSS3 |
| Certification: | Microsoft |
| Question Number: | 322 |
| Publish Date: | Oct 18, 2026 |
|
Rating
100%
|
|
Total 322 questions
You are developing a web page.
The webpage must display a container. The container must display three colored rectangles near the top of the container. The colored rectangles are, in order, green, red, and yellow. The rectangles are aligned horizontally and evenly spaced across the width of the container.
The layout of the page must resemble the following image:
You need to ensure that the page renders properly.
How should you complete the relevant styles? (To answer, select the appropriate option from each drop-down list in the answer area.)


Explanation

* -ms-flex-align
center: The flexbox item's margin box is centered in the cross axis within the line.
* -ms-flex-pack
The 'flex-pack' property defines the flexibility of these packing spaces.
Reference: CSS property '-ms-flex-align'; CSS property '-ms-flex-pack'
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 H1 element dynamically by using JavaScript.
Which code segment should you use?
You are developing a web application in HTML.
You have the following HTML code.
You need to ensure that the div footer contains the text "All rights reserved".
Which line of code should you use?
You are validating user input by using JavaScript and regular expressions.
A group of predefined regular expressions will validate two input fields:
* An email address in a function named validateEmail (for example, [email protected])
* A nine-digit number that allows optional hyphens after the second and fifth character in a function named validateSSN(for example, 555555555 or 555-55-5555) You need to use the correct expression to validate the input.
Which expression should you insert into each function? (To answer, drag the appropriate regular expression statement to the correct location. Each regular expression statement may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)

Explanation

You develop a webpage.
The webpage must display a grid that contains one row and five columns. Columns one, three, and five are the same width. Columns two and four are the same width, but much wider than columns one, three, and five. The grid resembles the following image:
The grid must meet the following requirements:
* Each row must be tall enough to ensure that images are not cut off.
* Each row must contain five columns.
* The width of the columns must not change when the screen is resized or rotated.
You need to define the style for the grid. Which CSS3 style should you use?