Skip to content

Commit 98df961

Browse files
jdwilkin4Dario-DCojeytonwilliamsmajestic-owl448
authored
feat(curriculum): add theme switcher lab (freeCodeCamp#61404)
Co-authored-by: Dario <[email protected]> Co-authored-by: Oliver Eyton-Williams <[email protected]> Co-authored-by: Ilenia <[email protected]>
1 parent 6aab147 commit 98df961

File tree

5 files changed

+580
-0
lines changed

5 files changed

+580
-0
lines changed

client/i18n/locales/english/intro.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3529,6 +3529,12 @@
35293529
"This will provide you with the opportunity to practice working with <code>aria-live</code> attribute."
35303530
]
35313531
},
3532+
"lab-theme-switcher": {
3533+
"title": "Build a Theme Switcher",
3534+
"intro": [
3535+
"In this lab, you will build a theme switcher and practice working with the <code>aria-haspopup</code>, <code>aria-expanded</code>, and <code>aria-controls</code> attributes."
3536+
]
3537+
},
35323538
"review-js-a11y": {
35333539
"title": "JavaScript and Accessibility Review",
35343540
"intro": [
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: Introduction to the Build a Theme Switcher
3+
block: lab-theme-switcher
4+
superBlock: full-stack-developer
5+
---
6+
7+
## Introduction to the Build a Theme Switcher
8+
9+
In this lab, you will build a theme switcher and practice working with the `aria-haspopup`, `aria-expanded`, and `aria-controls` attributes.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "Build a Theme Switcher",
3+
"isUpcomingChange": true,
4+
"blockType": "lab",
5+
"blockLayout": "link",
6+
"dashedName": "lab-theme-switcher",
7+
"superBlock": "full-stack-developer",
8+
"helpCategory": "JavaScript",
9+
"challengeOrder": [{ "id": "687ad7be1ff45032ccf1d92f", "title": "Build a Theme Switcher" }],
10+
"usesMultifileEditor": true
11+
}

0 commit comments

Comments
 (0)