Skip to content

Commit a9fab95

Browse files
Nirajn2311moT01huyenltnguyen
authored
feat(curriculum): RWD checkpoint certification (freeCodeCamp#62039)
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com> Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
1 parent 4a1d743 commit a9fab95

File tree

15 files changed

+1319
-2
lines changed

15 files changed

+1319
-2
lines changed

client/config/cert-and-project-map.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const takeHomeBase = '/learn/coding-interview-prep/take-home-projects';
3333
const foundationalCSharpBase =
3434
'/learn/foundational-c-sharp-with-microsoft/foundational-c-sharp-with-microsoft-certification-exam';
3535
const fullStackDeveloperBase = '/learn/full-stack-developer';
36+
const respWebV9Base = '/learn/responsive-web-design-v9';
3637
const jsV9Base = '/learn/javascript-v9';
3738
const a2EnglishBase = '/learn/a2-english-for-developers';
3839
const b1EnglishBase = '/learn/b1-english-for-developers';
@@ -814,6 +815,19 @@ const allStandardCerts = [
814815
}
815816
]
816817
},
818+
{
819+
id: '68db314d3c11a8bff07c7535',
820+
title: 'Responsive Web Design',
821+
certSlug: Certification.RespWebDesignV9,
822+
projects: [
823+
{
824+
id: '68db37350b398ecddd1f5dac',
825+
title: 'Responsive Web Design Certification Exam',
826+
link: `${respWebV9Base}/responsive-web-design-certification-exam/exam-responsive-web-design-certification`,
827+
certSlug: Certification.RespWebDesignV9
828+
}
829+
]
830+
},
817831
{
818832
id: '68c4069c1ef859270e17c495',
819833
title: 'JavaScript',

client/i18n/locales/english/intro.json

Lines changed: 941 additions & 0 deletions
Large diffs are not rendered by default.

client/src/assets/superblock-icon.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ const iconMap = {
5353
[SuperBlocks.SemanticHtml]: Code,
5454
[SuperBlocks.FullStackOpen]: Code,
5555
[SuperBlocks.DevPlayground]: Code,
56+
[SuperBlocks.RespWebDesignV9]: ResponsiveDesign,
5657
[SuperBlocks.JsV9]: JavaScriptIcon
5758
};
5859

client/src/components/settings/certification.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ const createCertifiedMap = ({
8989
// be rendered. The new FullStackDeveloper certification is a normal
9090
// certification with projects.
9191
[Certification.FullStackDeveloper]: false,
92+
[Certification.RespWebDesignV9]: false,
9293
[Certification.JsV9]: false,
9394
[Certification.A2English]: false,
9495
[Certification.B1English]: false,
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: New Responsive Web Design Certification
3+
superBlock: responsive-web-design-v9
4+
certification: responsive-web-design-v9
5+
---
6+
7+
## New Responsive Web Design Certification
8+
9+
This course teaches you the languages that developers use to build webpages: HTML (Hypertext Markup Language) for content, and CSS (Cascading Style Sheets) for design.
10+
11+
To earn your Responsive Web Design Certification:
12+
13+
- Complete the five required projects to qualify for the certification exam.
14+
- Pass the Responsive Web Design Certification exam.

client/src/templates/Introduction/components/super-block-accordion.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import DropDown from '../../../assets/icons/dropdown';
1010
import fullStackCert from '../../../../../curriculum/structure/superblocks/full-stack-developer.json';
1111
import fullStackOpen from '../../../../../curriculum/structure/superblocks/full-stack-open.json';
1212
import a1Spanish from '../../../../../curriculum/structure/superblocks/a1-professional-spanish.json';
13+
import respWebDesignV9 from '../../../../../curriculum/structure/superblocks/responsive-web-design-v9.json';
1314
import javascriptV9 from '../../../../../curriculum/structure/superblocks/javascript-v9.json';
1415

1516
import { ChapterIcon } from '../../../assets/chapter-icon';
@@ -190,6 +191,8 @@ export const SuperBlockAccordion = ({
190191
return fullStackCert;
191192
case SuperBlocks.A1Spanish:
192193
return a1Spanish;
194+
case SuperBlocks.RespWebDesignV9:
195+
return respWebDesignV9;
193196
case SuperBlocks.JsV9:
194197
return javascriptV9;
195198
default:
@@ -206,7 +209,7 @@ export const SuperBlockAccordion = ({
206209
const isLinkModule = (name: string) => {
207210
const module = modules.find(module => module.dashedName === name);
208211

209-
return module?.moduleType === 'review';
212+
return module?.moduleType === 'review' || module?.moduleType === 'exam';
210213
};
211214

212215
const getBlockToChapterMap = () => {
@@ -300,7 +303,10 @@ export const SuperBlockAccordion = ({
300303
>
301304
{chapter.modules.map(module => {
302305
if (module.comingSoon && !showUpcomingChanges) {
303-
if (module.moduleType === 'review') {
306+
if (
307+
module.moduleType === 'review' ||
308+
module.moduleType === 'exam'
309+
) {
304310
return null;
305311
}
306312

client/utils/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const idToPath = new Map(
1717
'5e44431b903586ffb414c951': Certification.SciCompPy,
1818
'5e46fc95ac417301a38fb934': Certification.DataAnalysisPy,
1919
'5e46fc95ac417301a38fb935': Certification.MachineLearningPy,
20+
'68db314d3c11a8bff07c7535': Certification.RespWebDesignV9,
2021
'68c4069c1ef859270e17c495': Certification.JsV9
2122
})
2223
);

curriculum/build-curriculum.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ const superBlockNames = {
192192
'a1-professional-chinese': 'a1-professional-chinese',
193193
'dev-playground': 'dev-playground',
194194
'full-stack-open': 'full-stack-open',
195+
'responsive-web-design-v9': 'responsive-web-design-v9',
195196
'javascript-v9': 'javascript-v9'
196197
};
197198

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
id: 68db37350b398ecddd1f5dac
3+
title: Responsive Web Design Certification Exam
4+
challengeType: 30
5+
dashedName: exam-javascript-certification
6+
---
7+
8+
# --description--
9+
10+
Start your exam in the exam environment app.
11+
12+
# --instructions--
13+
14+
# --hints--
15+
16+
# --seed--
17+
18+
# --solutions--
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
id: 68db314d3c11a8bff07c7535
2+
title: Responsive Web Design Certification
3+
certification: responsive-web-design-v9
4+
challengeType: 7
5+
tests:
6+
- id: 68db37350b398ecddd1f5dac
7+
title: Responsive Web Design Certification Exam

0 commit comments

Comments
 (0)