• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 83 pages
Exam (elaborations)

D276 Web Development Foundations Exam 3 2026/2027 - CSS Fundamentals Styling Layout Review - 210 Q&A; - A+ Graded - Latest Update This Year - Just Released - Verified Solutions - Pass Guaranteed

Document preview thumbnail
Preview 4 out of 83 pages

D276 Exam 3 2026/2027 Study Guide – CSS Fundamentals Styling Layout Review – Pass Guaranteed A+. 210 Q&A covering CSS syntax selectors, specificity, inheritance, colors RGB HEX HSL, units px em rem %, box model margin padding border, fonts text shadow, backgrounds. Code snippet tracing – what will this style do? 116 pages, balanced answers, verified solutions.

Content preview

, STUVIA EXAM LIBRARY
EXAMINATION DOCUMENT 2026/2027


D276 Web Development Foundations Exam 3 2026/2027 - CSS Fundamentals
Styling Layout Review - 210 Q&A; - A+ Graded - Latest Update This Year - Just
Released - Verified Solutions - Pass Guaranteed

A+ VERIFIED | WGU D276
WGU Objective Assessment Prep
HTML, CSS & JavaScript

, TABLE OF CONTENTS - D276 Exam 3 CSS
Fundamentals Unique 2026 Edition
1. Cover & Examination Authentication - Page 1-2
2. D276 Domain Introduction & CSS Role in Web Foundations - Page 3-5
3. Module A - CSS Syntax Rulesets Declarations Comments At-Rules - Q1-Q25 - Page 6-18
4. Module B - Selectors Types Universal Type Class ID Attribute - Q26-Q45 - Page 19-32
5. Module C - Combinators Descendant Child Sibling & Pseudo-Classes - Q46-Q60 - Page 33-44
6. Module D - Pseudo-Elements Specificity Calculations Cascade Layers - Q61-Q75 - Page 45-58
7. Module E - CSS Colors HEX RGB HSL CurrentColor Opacity - Q76-Q95 - Page 59-72
8. Module F - Units Absolute px pt vs Relative em rem vw vh % - Q96-Q115 - Page 73-86
9. Module G - Box Model Content Padding Border Margin Formula - Q116-Q140 - Page 87-99
10. Module H - Box-Sizing Border-Box vs Content-Box Margin Collapse - Q141-Q165 - Page 100-116
11. Module I - Fonts Web Safe Stacks Google Fonts Variable Fonts - Q166-Q185 - Page 117-129
12. Module J - Text Properties line-height letter-spacing text-overflow - Q186-Q200 - Page 130-142
13. Module K - Backgrounds Images Gradients Multiple Layers Clip Origin - Q201-Q210 - Page 143-152
14. Answer Key Master Cross Reference & Exam Strategy - Page 153-155

, SECTION: CSS Syntax, Selectors, Specificity - Questions 1 to 35

Q1. [WGU D276-CSS] Selector Analysis Q1: Using 'h1, h2, h3/*Q1*/' in stylesheet linked to HTML
with , , . Which elements are matched and what is specificity score calculated as (a,b,c)
IDs-classes-types?
A. Targets only #nav itself with (1,0,0) due to missing combinator understanding.
B. Matches all .item regardless of parent with (0,1,0) ignoring ID; misinterprets descendant.
C. Matches .item.active inside #nav with descendant context; specificity is (1,2,0) or (1,2,1) if type included; 1
ID worth 100, 2 classes/pseudo-classes worth 20, wins over (0,2,0) without ID.
D. Rule invalid and ignored due to dot notation before active class.
Correct Answer: C
Rationale (Verified Solution): Correct is C because Matches .item.active inside #nav with descendant context; specificity is
(1,2,0) or (1,2,1) if type included; 1 ID worth 100, 2 classes/pseudo-classes worth 20, wins over (0,2,0) without ID. This aligns
with CSS Syntax Module and WGU D276 objective on styling and layout review. Alternative options are distractor traps: they
confuse specificity weighting (ID=100 vs class=10), misinterpret rgba vs hex alpha, ignore that margin is outside and
transparent while padding holds background, or treat cover as stretched. Understanding ensures accessible responsive
design, maintainable stylesheets without !important overuse, and accurate box model math required to pass OA confidently on
first attempt in 2026/2027.


Q2. [WGU D276-CSS] Selector Analysis Q2: Using 'section[data-theme='dark']
.title::first-line/*Q2*/' in stylesheet linked to HTML with , , . Which elements are matched and what
is specificity score calculated as (a,b,c) IDs-classes-types?
A. Matches all .item regardless of parent with (0,1,0) ignoring ID; misinterprets descendant.
B. Targets only #nav itself with (1,0,0) due to missing combinator understanding.
C. Matches .item.active inside #nav with descendant context; specificity is (1,2,0) or (1,2,1) if type included; 1
ID worth 100, 2 classes/pseudo-classes worth 20, wins over (0,2,0) without ID.
D. Rule invalid and ignored due to dot notation before active class.
Correct Answer: C
Rationale (Verified Solution): Correct is C because Matches .item.active inside #nav with descendant context; specificity is
(1,2,0) or (1,2,1) if type included; 1 ID worth 100, 2 classes/pseudo-classes worth 20, wins over (0,2,0) without ID. This aligns
with CSS Syntax Module and WGU D276 objective on styling and layout review. Alternative options are distractor traps: they
confuse specificity weighting (ID=100 vs class=10), misinterpret rgba vs hex alpha, ignore that margin is outside and
transparent while padding holds background, or treat cover as stretched. Understanding ensures accessible responsive
design, maintainable stylesheets without !important overuse, and accurate box model math required to pass OA confidently on
first attempt in 2026/2027.


Q3. [WGU D276-CSS] Selector Analysis Q3: Using 'h1, h2, h3/*Q3*/' in stylesheet linked to HTML
with , , . Which elements are matched and what is specificity score calculated as (a,b,c)
IDs-classes-types?
A. Targets only #nav itself with (1,0,0) due to missing combinator understanding.
B. Matches all .item regardless of parent with (0,1,0) ignoring ID; misinterprets descendant.
C. Rule invalid and ignored due to dot notation before active class.
D. Matches .item.active inside #nav with descendant context; specificity is (1,2,0) or (1,2,1) if type included; 1
ID worth 100, 2 classes/pseudo-classes worth 20, wins over (0,2,0) without ID.
Correct Answer: D

Document information

Uploaded on
October 11, 2026
Number of pages
83
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
CA$22.03

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
GradeAchiver
2.3
(4)
Sold
40
Followers
2
Items
3426
Last sold
17 hours ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions