HOTSPOT - You review a webpage that contains the following markup: How does the page render? For each statement in the table, select Yes if the behavior is described. Select No if it is not. Make only one selection in each column. Hot Area:
In chrome, CSS would be something like this:
.container {
display:grid;
grid-template-columns:1fr 1fr 1fr;
grid-template-rows:1fr 1fr 1fr;
}
.bluebox {
grid-row-start: 2;
grid-column-start: 2;
float: none;
background-color: blue;
}
.text{
grid-row-start: 1;
grid-column-start: 1;
grid-row-end: span 3;
grid-column-end: span 3;
background-color: red;
}
As SGT says, you must have content in both divs (bluebox and content), thats because you cant style a grid cell that doesn’t contain any content. It actually didnt work in Chrome for SGT because here.. they are using ms prefix.. which is experimental css for internet explorer.. Im not even sure if it actually works in IE lol i didnt wanna check.
Lets say we do have content in both divs... well, the .text div will fill all the cells in the grid,
So... my guess is No, Yes, Yes , Im mmm just not 100% sure about the second one, its kind of tricky, because bluebox will always be displayed in row 2 column 2.. but you wont see it coz the .text div is over that cell...
The page does not render if you use this code exactly as is. The following div's does not have values:
<div name="blueBox" class="blueBox"></div>
<div name="content" class="text"></div>
If you give it values:
<div name="blueBox" class="blueBox">blueBox</div>
<div name="content" class="text">content</div>
You will get a blue box across the top of the page and the word "content" below that.
Both viewed in Chrome and Internet Explorer.
upvoted 3 times
...
This section is not available anymore. Please use the main Exam Page.70-480 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
piroman
Highly Voted 5 years, 6 months agonootje
Most Recent 3 years, 8 months agocharlzwar
5 years agoJMz123
5 years, 7 months agoSGT
5 years, 9 months ago