diff --git a/github_code/freeCodeCamp__freeCodeCamp/api/src/utils/redirection.ts b/github_code/freeCodeCamp__freeCodeCamp/api/src/utils/redirection.ts new file mode 100644 index 0000000000000000000000000000000000000000..d4905269c1143a7ddc09c5986e4f68cd3a8a5d66 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/api/src/utils/redirection.ts @@ -0,0 +1,174 @@ +import jwt from 'jsonwebtoken'; + +import { availableLangs } from '@freecodecamp/shared/config/i18n'; +import { allowedOrigins } from './allowed-origins.js'; + +// process.env.HOME_LOCATION is being used as a fallback here. If the one +// provided by the client is invalid we default to this. +import { HOME_LOCATION } from './env.js'; + +/** + * Get the returnTo value. + * + * @param encryptedParams - The encrypted parameters. + * @param secret - The secret key. + * @param _homeLocation - The home location. + * @returns The returnTo value. + */ +export function getReturnTo( + encryptedParams: string, + secret: jwt.Secret, + _homeLocation = process.env.HOME_LOCATION +) { + let params; + try { + params = jwt.verify(encryptedParams, secret); + } catch { + // something went wrong, use default params + params = { + returnTo: `${_homeLocation}/learn`, + origin: _homeLocation, + pathPrefix: '' + }; + } + + // @ts-expect-error - I'm working on it... + return normalizeParams(params, _homeLocation); +} + +type RedirectParams = { + returnTo: string; + origin: string; + pathPrefix: string; +}; + +/** + * Normalize the parameters, making they're valid. + * + * @param arg - The parameters to normalize. + * @param arg.returnTo - The returnTo value. + * @param arg.origin - The origin value. + * @param arg.pathPrefix - The pathPrefix value. + * @param _homeLocation - The home location. + * @returns The normalized parameters. + */ +export function normalizeParams( + { returnTo, origin, pathPrefix }: Partial, + _homeLocation = HOME_LOCATION +): RedirectParams { + // coerce to strings, just in case something weird and nefarious is happening + // TODO: validate, don't coerce + returnTo = '' + returnTo; + origin = '' + origin; + pathPrefix = '' + pathPrefix; + // TODO(Post-MVP): consider adding HOME_LOCATION in allowedOrigins to allow + // redirection to work in development. + // we add the '/' to prevent returns to + // www.freecodecamp.org.somewhere.else.com + if ( + !returnTo || + !allowedOrigins.some(allowed => returnTo?.startsWith(allowed + '/')) + ) { + returnTo = `${_homeLocation}/learn`; + origin = _homeLocation; + pathPrefix = ''; + } + if (!origin || !allowedOrigins.includes(origin)) { + returnTo = `${_homeLocation}/learn`; + origin = _homeLocation; + pathPrefix = ''; + } + pathPrefix = availableLangs.client.includes(pathPrefix) ? pathPrefix : ''; + return { returnTo, origin, pathPrefix }; +} + +/** + * Get the prefixed landing path. + * + * @param origin - The origin value. + * @param pathPrefix - The pathPrefix value. + * @returns The prefixed landing path. + */ +export function getPrefixedLandingPath(origin: string, pathPrefix?: string) { + const redirectPathSegment = pathPrefix ? `/${pathPrefix}` : ''; + return `${origin}${redirectPathSegment}`; +} + +function getParamsFromUrl( + url: string | undefined | null, + normalize: typeof normalizeParams +) { + // since we do not always redirect the user back to the page they were on + // we need client locale and origin to construct the redirect url. + let returnUrl; + try { + returnUrl = new URL(url ? url : HOME_LOCATION); + } catch (_e) { + returnUrl = new URL(HOME_LOCATION); + } + + const origin = returnUrl.origin; + // if this is not one of the client languages, validation will convert + // this to '' before it is used. + const pathPrefix = returnUrl.pathname.split('/')[1] ?? ''; + return normalize({ + // strip off any query parameters + returnTo: returnUrl.origin + returnUrl.pathname, + origin, + pathPrefix + }); +} + +/** + * Get the redirect parameters. + * + * @param req - A fastify Request. + * @param req.headers - The request headers. + * @param req.headers.referer - The referer header. + * @param _normalizeParams - The function to normalize the parameters. + * @returns The redirect parameters. + */ +export function getRedirectParams( + req: { headers: { referer?: string } }, + _normalizeParams = normalizeParams +): RedirectParams { + const url = req.headers['referer']; + return getParamsFromUrl(url, _normalizeParams); +} + +/** + * Get the redirect parameters after sign in flow. + * + * @param req - A fastify Request. + * @param req.cookies - The request cookies. + * @param req.unsignCookie - The function to unsign the cookie. + * @param _normalizeParams - The function to normalize the parameters. + * @returns The redirect parameters. + */ +export function getLoginRedirectParams( + req: { + cookies: Record; + unsignCookie: (rawValue: string) => { value: string | null }; + }, + _normalizeParams = normalizeParams +): RedirectParams { + const signedUrl = req.cookies['login-returnto']; + const url = signedUrl ? req.unsignCookie(signedUrl).value : null; + return getParamsFromUrl(url, _normalizeParams); +} + +/** + * Check if the redirect base and return URL have the same path. + * + * @param redirectBase - The redirect base URL. + * @param returnUrl - The return URL. + * @returns A boolean indicating whether the paths are the same. + */ +export function haveSamePath( + redirectBase: string | URL, + returnUrl: string | URL +) { + const base = new URL(redirectBase); + const url = new URL(returnUrl); + return base.pathname === url.pathname; +} diff --git a/github_code/freeCodeCamp__freeCodeCamp/api/src/utils/sentry.test.ts b/github_code/freeCodeCamp__freeCodeCamp/api/src/utils/sentry.test.ts new file mode 100644 index 0000000000000000000000000000000000000000..76416fd541f86ab4c862e4aee47be513818a4320 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/api/src/utils/sentry.test.ts @@ -0,0 +1,843 @@ +import type { ErrorEvent, Event, Log } from '@sentry/node'; +import { describe, expect, it, vi } from 'vitest'; + +import { + makeShouldSendLog, + makeTracesSampler, + scrubRedundantLogAttributes, + scrubRequestPii, + scrubSpanDescriptions +} from './sentry.js'; + +const makeLog = (overrides: Partial = {}): Log => ({ + level: 'info', + message: 'something happened', + attributes: {}, + ...overrides +}); + +describe('shouldSendLog', () => { + const shouldSendLog = makeShouldSendLog(1); + + it('drops the incoming request message regardless of level', () => { + expect(shouldSendLog(makeLog({ message: 'incoming request' }))).toBe(false); + expect( + shouldSendLog(makeLog({ message: 'incoming request', level: 'error' })) + ).toBe(false); + }); + + it('drops the fastify per-interface boot line by message prefix', () => { + expect( + shouldSendLog( + makeLog({ message: 'Server listening at http://127.0.0.1:3000' }) + ) + ).toBe(false); + expect( + shouldSendLog( + makeLog({ message: 'Server listening at http://[::1]:3000' }) + ) + ).toBe(false); + }); + + it('keeps the custom "API server started" boot log', () => { + expect( + shouldSendLog( + makeLog({ message: 'API server started', attributes: { audit: true } }) + ) + ).toBe(true); + }); + + it('drops debug logs from suppressed routes', () => { + expect( + shouldSendLog( + makeLog({ level: 'debug', attributes: { route: '/user/session-user' } }) + ) + ).toBe(false); + }); + + it('keeps debug logs on other routes', () => { + expect( + shouldSendLog( + makeLog({ level: 'debug', attributes: { route: '/some/route' } }) + ) + ).toBe(true); + }); + + it('keeps debug logs without a route', () => { + expect(shouldSendLog(makeLog({ level: 'debug' }))).toBe(true); + }); + + it('drops per-request framework lifecycle chatter regardless of route', () => { + for (const message of ['request completed', 'stream closed prematurely']) { + expect(shouldSendLog(makeLog({ message }))).toBe(false); + expect( + shouldSendLog( + makeLog({ message, attributes: { route: '/some/route' } }) + ) + ).toBe(false); + } + }); + + it('keeps request errored so response failures still reach Sentry', () => { + expect( + shouldSendLog(makeLog({ message: 'request errored', level: 'error' })) + ).toBe(true); + }); + + it('keeps non-info levels', () => { + for (const level of ['warn', 'error', 'fatal'] as const) { + expect(shouldSendLog(makeLog({ level }))).toBe(true); + } + }); + + it('keeps non-info levels even on a suppressed route', () => { + expect( + shouldSendLog( + makeLog({ level: 'error', attributes: { route: '/user/session-user' } }) + ) + ).toBe(true); + }); + + it('drops info logs from suppressed routes', () => { + expect( + shouldSendLog(makeLog({ attributes: { route: '/user/session-user' } })) + ).toBe(false); + }); + + it('keeps info logs on other routes', () => { + expect( + shouldSendLog(makeLog({ attributes: { route: '/some/route' } })) + ).toBe(true); + }); + + it('keeps info logs without a route', () => { + expect(shouldSendLog(makeLog())).toBe(true); + }); +}); + +describe('makeShouldSendLog — debug sampling', () => { + const debugLog = (overrides: Partial = {}): Log => + makeLog({ level: 'debug', ...overrides }); + + it('drops debug from suppressed routes even when the trace is sampled', () => { + expect( + makeShouldSendLog(1)( + debugLog({ + attributes: { route: '/status/ping', traceSampled: true } + }) + ) + ).toBe(false); + }); + + it('keeps debug whose trace is sampled regardless of rate', () => { + expect( + makeShouldSendLog(0)( + debugLog({ attributes: { traceId: 'abc', traceSampled: true } }) + ) + ).toBe(true); + }); + + it('drops ambient (unsampled-trace) debug at rate 0', () => { + expect( + makeShouldSendLog(0)(debugLog({ attributes: { traceId: 'abc' } })) + ).toBe(false); + expect(makeShouldSendLog(0)(debugLog())).toBe(false); + }); + + it('keeps ambient debug at rate 1', () => { + expect( + makeShouldSendLog(1)(debugLog({ attributes: { traceId: 'abc' } })) + ).toBe(true); + }); + + it('samples debug deterministically by traceId', () => { + const log = debugLog({ attributes: { traceId: 'deadbeef' } }); + const first = makeShouldSendLog(0.5)(log); + const second = makeShouldSendLog(0.5)(log); + expect(first).toBe(second); + }); + + it('keeps warn/error/fatal regardless of the debug rate', () => { + for (const level of ['warn', 'error', 'fatal'] as const) { + expect(makeShouldSendLog(0)(makeLog({ level }))).toBe(true); + } + }); +}); + +describe('makeShouldSendLog — info sampling', () => { + it('always keeps audit info logs even at a zero sample rate', () => { + expect( + makeShouldSendLog(1, 0)(makeLog({ attributes: { audit: true } })) + ).toBe(true); + }); + + it('always keeps audit info logs on an otherwise suppressed route', () => { + expect( + makeShouldSendLog( + 1, + 0 + )( + makeLog({ + attributes: { audit: true, route: '/some/route' } + }) + ) + ).toBe(true); + }); + + it('keeps audit info logs on a real suppressed route even at zero sample rates', () => { + expect( + makeShouldSendLog( + 0, + 0 + )( + makeLog({ + message: 'audit', + attributes: { audit: true, route: '/user/session-user' } + }) + ) + ).toBe(true); + }); + + it('keeps audit logs regardless of level, including debug on a suppressed route', () => { + expect( + makeShouldSendLog( + 0, + 0 + )( + makeLog({ + level: 'debug', + message: 'audit', + attributes: { audit: true, route: '/user/session-user' } + }) + ) + ).toBe(true); + }); + + it('drops non-audit info logs at a zero sample rate', () => { + expect( + makeShouldSendLog(1, 0)(makeLog({ attributes: { traceId: 'abc' } })) + ).toBe(false); + }); + + it('keeps non-audit info logs at a sample rate of 1', () => { + expect( + makeShouldSendLog(1, 1)(makeLog({ attributes: { traceId: 'abc' } })) + ).toBe(true); + }); + + it('keeps info whose trace is sampled regardless of the info rate', () => { + expect( + makeShouldSendLog( + 1, + 0 + )(makeLog({ attributes: { traceId: 'abc', traceSampled: true } })) + ).toBe(true); + }); + + it('samples non-audit info deterministically by traceId', () => { + const log = makeLog({ attributes: { traceId: 'deadbeef' } }); + const first = makeShouldSendLog(1, 0.5)(log); + const second = makeShouldSendLog(1, 0.5)(log); + expect(first).toBe(second); + }); + + it('never touches warn/error/fatal regardless of the info rate', () => { + for (const level of ['warn', 'error', 'fatal'] as const) { + expect(makeShouldSendLog(1, 0)(makeLog({ level }))).toBe(true); + } + }); + + it('defaults to a sample rate of 1 when none is given', () => { + expect( + makeShouldSendLog(1)(makeLog({ attributes: { traceId: 'abc' } })) + ).toBe(true); + }); +}); + +describe('scrubRedundantLogAttributes', () => { + it('drops pino bindings duplicated by Sentry-native fields', () => { + const result = scrubRedundantLogAttributes( + makeLog({ + attributes: { + msg: 'hello', + 'pino.logger.level': 30, + message: 'hello', + trace_id: 'abc', + level: 'info', + severity_number: 9, + userId: 'user-42' + } + }) + ); + + expect(result.attributes).toEqual({ + message: 'hello', + trace_id: 'abc', + level: 'info', + severity_number: 9, + userId: 'user-42' + }); + }); + + it('is a no-op when there are no attributes', () => { + expect( + scrubRedundantLogAttributes(makeLog({ attributes: undefined })) + ).toEqual(makeLog({ attributes: undefined })); + }); + + it('redacts secret- and payment-credential-shaped attribute keys', () => { + const result = scrubRedundantLogAttributes( + makeLog({ + attributes: { + audit: true, + userId: 'user-42', + email: 'a@b.com', + client_secret: 'pi_secret_LEAK', + authorization: 'Bearer sk_live_LEAK', + password: 'hunter2', + api_key: 'key_LEAK', + token: 'tok_LEAK', + 'err.raw.client_secret': 'nested_LEAK' + } + }) + ); + + expect(result.attributes).toEqual({ + audit: true, + userId: 'user-42', + email: 'a@b.com', + client_secret: '[REDACTED]', + authorization: '[REDACTED]', + password: '[REDACTED]', + api_key: '[REDACTED]', + token: '[REDACTED]', + 'err.raw.client_secret': '[REDACTED]' + }); + }); + + it('redacts secrets nested inside object attribute values', () => { + const result = scrubRedundantLogAttributes( + makeLog({ + attributes: { + err: { message: 'boom', raw: { client_secret: 'LEAK' } } + } + }) + ); + + expect(JSON.stringify(result.attributes)).not.toContain('LEAK'); + }); + + it('keeps intentional PII (email, ip, country) on an audit log', () => { + const result = scrubRedundantLogAttributes( + makeLog({ + attributes: { + audit: true, + email: 'a@b.com', + ip: '1.2.3.4', + country: 'US' + } + }) + ); + + expect(result.attributes).toEqual({ + audit: true, + email: 'a@b.com', + ip: '1.2.3.4', + country: 'US' + }); + }); + + it('redacts email but keeps ip/country on a non-audit log', () => { + const result = scrubRedundantLogAttributes( + makeLog({ + attributes: { email: 'a@b.com', ip: '1.2.3.4', country: 'US' } + }) + ); + + expect(result.attributes).toEqual({ + email: '[REDACTED]', + ip: '1.2.3.4', + country: 'US' + }); + }); + + it('redacts secret-token-shaped substrings found inside a string value', () => { + const result = scrubRedundantLogAttributes( + makeLog({ + attributes: { note: 'leaked key sk_live_ABC123 in the log' } + }) + ); + + expect(result.attributes?.note).toBe('leaked key [REDACTED] in the log'); + }); + + it('redacts an email substring in a non-audit log string value', () => { + const result = scrubRedundantLogAttributes( + makeLog({ attributes: { note: 'contact a@b.com for help' } }) + ); + + expect(result.attributes?.note).toBe('contact [REDACTED] for help'); + }); + + it('keeps an email substring in an audit log string value', () => { + const result = scrubRedundantLogAttributes( + makeLog({ attributes: { audit: true, note: 'contact a@b.com for help' } }) + ); + + expect(result.attributes?.note).toBe('contact a@b.com for help'); + }); + + it('redacts a bare email attribute value on a non-audit log', () => { + const result = scrubRedundantLogAttributes( + makeLog({ attributes: { email: 'keep@me.com' } }) + ); + + expect(result.attributes?.email).toBe('[REDACTED]'); + }); + + it('redacts a bare JWT substring in a log string value', () => { + const result = scrubRedundantLogAttributes( + makeLog({ + attributes: { + note: 'token eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxIn0.dozjgNryP4J3jVmNHl0w5 rest' + } + }) + ); + + expect(result.attributes?.note).toBe('token [REDACTED] rest'); + }); + + it('redacts a lowercase bearer token substring in a log string value', () => { + const result = scrubRedundantLogAttributes( + makeLog({ + attributes: { + note: 'auth bearer abcdefghijklmnopqrstuvwxyz012345 done' + } + }) + ); + + expect(result.attributes?.note).toBe('auth [REDACTED] done'); + }); + + it('fail-safe redacts a Logs attribute value nested past the depth cap', () => { + const buildNested = (depth: number, leaf: unknown): unknown => + depth <= 0 ? leaf : { nested: buildNested(depth - 1, leaf) }; + + const result = scrubRedundantLogAttributes( + makeLog({ + attributes: buildNested(9, 'deep-plain-value') as Record< + string, + unknown + > + }) + ); + + const serialized = JSON.stringify(result.attributes); + expect(serialized).toContain('[REDACTED]'); + expect(serialized).not.toContain('deep-plain-value'); + }); + + it('redacts a secret-shaped substring in the log message', () => { + const result = scrubRedundantLogAttributes( + makeLog({ + message: 'auth bearer abcdefghijklmnopqrstuvwxyz012345 failed' + }) + ); + + expect(result.message).toBe('auth [REDACTED] failed'); + }); + + it('redacts an email in a non-audit log message', () => { + const result = scrubRedundantLogAttributes( + makeLog({ message: 'error for user@example.com occurred' }) + ); + + expect(result.message).toBe('error for [REDACTED] occurred'); + }); + + it('keeps an email in an audit log message', () => { + const result = scrubRedundantLogAttributes( + makeLog({ + message: 'donation outreach to user@example.com queued', + attributes: { audit: true } + }) + ); + + expect(result.message).toBe('donation outreach to user@example.com queued'); + }); + + it('redacts a Stripe webhook secret in an attribute value', () => { + const result = scrubRedundantLogAttributes( + makeLog({ attributes: { note: 'sig whsec_abcdef0123456789 ok' } }) + ); + + expect(result.attributes?.note).toBe('sig [REDACTED] ok'); + }); + + it('redacts a Basic auth credential in an attribute value', () => { + const result = scrubRedundantLogAttributes( + makeLog({ + attributes: { note: 'auth Basic dXNlcjpodW50ZXIyc2VjcmV0 end' } + }) + ); + + expect(result.attributes?.note).toBe('auth [REDACTED] end'); + }); + + it('scrubs a pathological JWT-prefix string without catastrophic backtracking', () => { + const attack = 'eyJ'.repeat(80000); + const result = scrubRedundantLogAttributes( + makeLog({ attributes: { note: attack } }) + ); + + expect(typeof result.attributes?.note).toBe('string'); + }); + + it('redacts a secret in a boxed-String (parameterized) message', () => { + const message = Object.assign( + new String('issued token sk_live_BOXEDLEAK now'), + { + __sentry_template_string__: 'issued token %s now', + __sentry_template_values__: ['sk_live_BOXEDLEAK'] + } + ) as unknown as Log['message']; + + const result = scrubRedundantLogAttributes(makeLog({ message })); + + expect(String(result.message)).toBe('issued token [REDACTED] now'); + }); + + it('redacts secrets nested inside an array attribute value', () => { + const result = scrubRedundantLogAttributes( + makeLog({ + attributes: { items: [{ list: [{ client_secret: 'ARRLEAK' }] }] } + }) + ); + + expect(JSON.stringify(result.attributes)).not.toContain('ARRLEAK'); + }); +}); + +describe('scrubRequestPii', () => { + const eventWithRequest = (request: ErrorEvent['request']): ErrorEvent => ({ + type: undefined, + request + }); + + it('is a no-op when the event has no request', () => { + const event = eventWithRequest(undefined); + expect(scrubRequestPii(event)).toEqual(event); + }); + + it('strips the query string entirely and the query portion of the url', () => { + const result = scrubRequestPii( + eventWithRequest({ + url: 'https://api.freecodecamp.org/donate?code=abc123', + query_string: 'code=abc123' + }) + ); + + expect(result.request?.query_string).toBeUndefined(); + expect(result.request?.url).toBe('https://api.freecodecamp.org/donate'); + }); + + it('redacts an email embedded in the url path', () => { + const result = scrubRequestPii( + eventWithRequest({ url: 'https://api.freecodecamp.org/u/foo@bar.com' }) + ); + + expect(result.request?.url).toBe( + 'https://api.freecodecamp.org/u/[REDACTED]' + ); + }); + + it('redacts PII- and secret-shaped keys from the request body', () => { + const result = scrubRequestPii( + eventWithRequest({ + data: { + paymentMethodId: 'pm_12345', + email: 'a@b.com', + name: 'Camper Bot', + code: 'oauth-code', + state: 'oauth-state', + amount: 500 + } + }) + ); + + expect(result.request?.data).toEqual({ + paymentMethodId: '[REDACTED]', + email: '[REDACTED]', + name: '[REDACTED]', + code: '[REDACTED]', + state: '[REDACTED]', + amount: 500 + }); + }); + + it('redacts sensitive request headers', () => { + const result = scrubRequestPii( + eventWithRequest({ + headers: { authorization: 'Bearer sk_live_LEAK', 'user-agent': 'x' } + }) + ); + + expect(result.request?.headers).toEqual({ + authorization: '[REDACTED]', + 'user-agent': 'x' + }); + }); + + it('redacts email and paymentMethodId when request data is a raw JSON string', () => { + const result = scrubRequestPii( + eventWithRequest({ + data: JSON.stringify({ + email: 'a@b.com', + paymentMethodId: 'pm_123', + amount: 5 + }) + }) + ); + + const data = result.request?.data; + const parsed = typeof data === 'string' ? JSON.parse(data) : data; + + expect(parsed).toEqual({ + email: '[REDACTED]', + paymentMethodId: '[REDACTED]', + amount: 5 + }); + }); + + it('always strips cookies regardless of their content', () => { + const result = scrubRequestPii( + eventWithRequest({ cookies: { jwt_access_token: 'secret' } }) + ); + + expect(result.request?.cookies).toBeUndefined(); + }); + + it('redacts an email found inside a free-text data value', () => { + const result = scrubRequestPii( + eventWithRequest({ data: { about: 'reach me at me@example.com' } }) + ); + + expect(result.request?.data).toEqual({ + about: 'reach me at [REDACTED]' + }); + }); + + it('redacts a secret-shaped value in a header whose key is not sensitive', () => { + const result = scrubRequestPii( + eventWithRequest({ + headers: { 'x-custom': 'Bearer abcdefghijklmnopqrstuvwxyz012345' } + }) + ); + + expect(result.request?.headers).toEqual({ 'x-custom': '[REDACTED]' }); + }); + + it('fail-safe redacts a value nested past the depth cap', () => { + const buildNested = (depth: number, leaf: unknown): unknown => + depth <= 0 ? leaf : { nested: buildNested(depth - 1, leaf) }; + + const result = scrubRequestPii( + eventWithRequest({ data: buildNested(9, 'just-a-plain-value') }) + ); + + const serialized = JSON.stringify(result.request?.data); + expect(serialized).toContain('[REDACTED]'); + expect(serialized).not.toContain('just-a-plain-value'); + }); + + it('redacts an email in the exception message and in extra', () => { + const event: ErrorEvent = { + type: undefined, + exception: { values: [{ value: 'failed for user x@y.com' }] }, + extra: { email: 'z@z.com' } + }; + + const result = scrubRequestPii(event); + + expect(result.exception?.values?.[0]?.value).toBe( + 'failed for user [REDACTED]' + ); + expect(result.extra?.email).toBe('[REDACTED]'); + }); + + it('redacts secret-shaped local variables captured in stack frames', () => { + const event: ErrorEvent = { + type: undefined, + exception: { + values: [ + { + value: 'boom', + stacktrace: { + frames: [ + { + function: 'doThing', + vars: { + jwt_access_token: 'signed-cookie-value', + note: 'holding sk_live_FRAMELEAK here', + userId: 'u1' + } + } + ] + } + } + ] + } + }; + + const result = scrubRequestPii(event); + const vars = result.exception?.values?.[0]?.stacktrace?.frames?.[0]?.vars; + + expect(vars?.jwt_access_token).toBe('[REDACTED]'); + expect(vars?.note).toBe('holding [REDACTED] here'); + expect(vars?.userId).toBe('u1'); + }); + + it('redacts secret-shaped fields on event.user but keeps id and email', () => { + const event: ErrorEvent = { + type: undefined, + user: { id: 'u1', email: 'donor@example.com', apiKey: 'sk_live_USERLEAK' } + }; + + const result = scrubRequestPii(event); + + expect(result.user?.id).toBe('u1'); + expect(result.user?.email).toBe('donor@example.com'); + expect((result.user as Record).apiKey).toBe('[REDACTED]'); + }); + + it('strips request.env entirely', () => { + const result = scrubRequestPii( + eventWithRequest({ + env: { REMOTE_USER: 'a@b.com', SERVER_SECRET: 'sk_live_ENVLEAK' } + }) + ); + + expect(result.request?.env).toBeUndefined(); + }); + + it('redacts secret-shaped data in breadcrumbs', () => { + const event: ErrorEvent = { + type: undefined, + breadcrumbs: [ + { + category: 'http', + data: { + url: 'https://api.stripe.com?key=sk_live_BCLEAK', + token: 'ghp_BCLEAK' + } + } + ] + }; + + const result = scrubRequestPii(event); + const data = result.breadcrumbs?.[0]?.data; + + expect(data?.token).toBe('[REDACTED]'); + expect(data?.url).toBe('https://api.stripe.com?key=[REDACTED]'); + }); + + it('scrubs a 1MB JWT-prefix body within the ReDoS budget', () => { + const result = scrubRequestPii( + eventWithRequest({ data: 'eyJ'.repeat(333333) }) + ); + + expect(typeof result.request?.data).toBe('string'); + }); +}); + +describe('makeTracesSampler', () => { + const context = (name: string) => ({ + name, + inheritOrSampleWith: vi.fn((fallback: number) => fallback) + }); + + it('drops health check transactions', () => { + expect(makeTracesSampler(0.1)(context('GET /status/ping'))).toBe(0); + expect(makeTracesSampler(0.1)(context('GET /status/ready'))).toBe(0); + }); + + it('samples other transactions with the configured rate', () => { + const ctx = context('GET /user/session-user'); + expect(makeTracesSampler(0.1)(ctx)).toBe(0.1); + expect(ctx.inheritOrSampleWith).toHaveBeenCalledWith(0.1); + }); +}); + +describe('scrubSpanDescriptions', () => { + const makeTxn = ( + spans: Array<{ description?: string; data?: Record }> + ): Event => + ({ + type: 'transaction', + spans: spans.map(({ description, data }) => ({ + span_id: 'a', + trace_id: 'b', + start_timestamp: 0, + description, + data: data ?? {} + })) + }) as unknown as Event; + + it('replaces a Mongo ObjectId literal in a span description with a placeholder', () => { + const [span] = + scrubSpanDescriptions( + makeTxn([ + { + description: + 'aggregate [{"$match":{"_id":ObjectId("58dfb02b565f48223c4da7b5")}}]' + } + ]) + ).spans ?? []; + expect(span?.description).toBe( + 'aggregate [{"$match":{"_id":ObjectId("?")}}]' + ); + }); + + it('produces identical descriptions for spans differing only by ObjectId', () => { + const scrub = (id: string): string | undefined => + scrubSpanDescriptions( + makeTxn([{ description: `find ObjectId("${id}")` }]) + ).spans?.[0]?.description; + expect(scrub('58dfb02b565f48223c4da7b5')).toBe( + scrub('58f2a1dc23aadf34519c26ba') + ); + }); + + it('scrubs the db.query.text span attribute', () => { + const [span] = + scrubSpanDescriptions( + makeTxn([ + { + description: 'q', + data: { 'db.query.text': 'ObjectId("58dfb02b565f48223c4da7b5")' } + } + ]) + ).spans ?? []; + expect(span?.data['db.query.text']).toBe('ObjectId("?")'); + }); + + it('replaces an ISODate literal', () => { + const [span] = + scrubSpanDescriptions( + makeTxn([{ description: 'ISODate("2026-07-13T00:00:00.000Z")' }]) + ).spans ?? []; + expect(span?.description).toBe('ISODate("?")'); + }); + + it('leaves a non-Mongo span description untouched', () => { + const [span] = + scrubSpanDescriptions(makeTxn([{ description: 'GET /learn' }])).spans ?? + []; + expect(span?.description).toBe('GET /learn'); + }); + + it('is a no-op when the event has no spans', () => { + const event = { type: 'transaction' } as unknown as Event; + expect(scrubSpanDescriptions(event).spans).toBeUndefined(); + }); +}); diff --git a/github_code/freeCodeCamp__freeCodeCamp/api/src/utils/sentry.ts b/github_code/freeCodeCamp__freeCodeCamp/api/src/utils/sentry.ts new file mode 100644 index 0000000000000000000000000000000000000000..5ee772aaae7409a9904b98c9c088ec768d9fda43 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/api/src/utils/sentry.ts @@ -0,0 +1,343 @@ +import type { ErrorEvent, Event, Log, RequestEventData } from '@sentry/node'; + +const DROPPED_LOG_MESSAGES = new Set([ + 'incoming request', + 'request completed', + 'stream closed prematurely' +]); + +const DROPPED_LOG_MESSAGE_PREFIXES = ['Server listening at']; + +const isDroppedLogMessage = (message: Log['message']): boolean => + typeof message === 'string' && + (DROPPED_LOG_MESSAGES.has(message) || + DROPPED_LOG_MESSAGE_PREFIXES.some(prefix => message.startsWith(prefix))); + +// Hot / health routes whose routine info+debug chatter is filtered out of +// Sentry entirely (replaces the old per-route sample rates). warn/error/fatal +// on these routes is still forwarded. +const DROPPED_LOG_ROUTES = new Set([ + '/user/session-user', + '/status/ping', + '/status/ready' +]); + +const routeOf = (log: Log): string | undefined => + typeof log.attributes?.route === 'string' ? log.attributes.route : undefined; + +const traceIdOf = (log: Log): string | undefined => + typeof log.attributes?.traceId === 'string' + ? log.attributes.traceId + : undefined; + +const traceIsSampled = (log: Log): boolean => + log.attributes?.traceSampled === true; + +const isAuditLog = (log: Log): boolean => log.attributes?.audit === true; + +const hashUnit = (value: string): number => { + let hash = 2166136261; + for (let i = 0; i < value.length; i++) { + hash ^= value.charCodeAt(i); + hash = Math.imul(hash, 16777619); + } + return (hash >>> 0) / 2 ** 32; +}; + +const shouldSendDebug = (log: Log, debugRate: number): boolean => { + const route = routeOf(log); + if (route !== undefined && DROPPED_LOG_ROUTES.has(route)) return false; + if (traceIsSampled(log)) return true; + const traceId = traceIdOf(log); + const roll = traceId !== undefined ? hashUnit(traceId) : Math.random(); + return roll < debugRate; +}; + +const shouldSendInfo = (log: Log, infoRate: number): boolean => { + if (traceIsSampled(log)) return true; + const traceId = traceIdOf(log); + const roll = traceId !== undefined ? hashUnit(traceId) : Math.random(); + return roll < infoRate; +}; + +/** + * Build the beforeSendLog filter. Warn, error and fatal always pass. Info + * passes unless it is on a hot or health route, and is otherwise sampled at + * the given info rate — unless it carries `audit: true`, which always + * passes. Debug is trace-aware: it is kept in full for a sampled trace, + * otherwise sampled deterministically by trace id at the given debug rate. + * + * @param debugRate The sample rate for debug logs not on a sampled trace. + * @param infoRate The sample rate for non-audit info logs not on a sampled + * trace. Defaults to 1 (send all), matching the pre-sampling behavior. + * @returns A predicate deciding whether a log is forwarded to Sentry. + */ +export const makeShouldSendLog = + (debugRate: number, infoRate = 1) => + (log: Log): boolean => { + if (isDroppedLogMessage(log.message)) return false; + if (isAuditLog(log)) return true; + if (log.level === 'debug') return shouldSendDebug(log, debugRate); + if (log.level !== 'info') return true; + const route = routeOf(log); + if (route !== undefined && DROPPED_LOG_ROUTES.has(route)) return false; + return shouldSendInfo(log, infoRate); + }; + +const REDUNDANT_LOG_ATTRIBUTES = ['msg', 'pino.logger.level'] as const; + +const SECRET_KEY_PATTERN = + /(client_?secret|secret|passwd|password|authorization|cookie|api[-_]?key|access[-_]?token|refresh[-_]?token|id[-_]?token|\bjwt\b|session[-_]?id|card[-_]?number|\bcvc\b|\bcvv\b|\btoken\b)/i; + +const ISSUE_REQUEST_KEY_PATTERN = + /(client_?secret|secret|passwd|password|authorization|cookie|api[-_]?key|access[-_]?token|refresh[-_]?token|id[-_]?token|\bjwt\b|session[-_]?id|card[-_]?number|\bcvc\b|\bcvv\b|\btoken\b|email|name|payment_?method_?id|\bcode\b|\bstate\b)/i; + +const VALUE_SECRET_PATTERN = + /\bsk_(?:live|test)_[A-Za-z0-9]+\b|\bwhsec_[A-Za-z0-9]+\b|\bghp_[A-Za-z0-9]+\b|\bgithub_pat_[A-Za-z0-9_]+\b|\bxox[baprs]-[A-Za-z0-9-]+\b|\beyJ[A-Za-z0-9_-]{1,1024}\.[A-Za-z0-9_-]{1,8192}\.[A-Za-z0-9_-]{1,1024}|[Bb](?:earer|asic) [A-Za-z0-9._~+/=-]{16,4096}/g; + +const EMAIL_PATTERN = + /\b[A-Za-z0-9._%+-]{1,64}@[A-Za-z0-9.-]{1,255}\.[A-Za-z]{2,24}/g; + +const MAX_SCRUB_LENGTH = 200_000; + +const redactSecretSubstrings = (value: string): string => + value.length > MAX_SCRUB_LENGTH + ? value + : value.replace(VALUE_SECRET_PATTERN, '[REDACTED]'); + +const redactIssueSubstrings = (value: string): string => + value.length > MAX_SCRUB_LENGTH + ? value + : value + .replace(VALUE_SECRET_PATTERN, '[REDACTED]') + .replace(EMAIL_PATTERN, '[REDACTED]'); + +const redactDeep = ( + value: unknown, + keyPattern: RegExp, + scrubValue: (v: string) => string, + depth = 0, + redactOnDepthCap = false +): unknown => { + if (value === null) return value; + if (depth > 6) return redactOnDepthCap ? '[REDACTED]' : value; + if (typeof value === 'string') return scrubValue(value); + if (typeof value !== 'object') return value; + if (Array.isArray(value)) + return value.map(entry => + redactDeep(entry, keyPattern, scrubValue, depth + 1, redactOnDepthCap) + ); + const out: Record = {}; + for (const [key, entry] of Object.entries(value as Record)) { + out[key] = keyPattern.test(key) + ? '[REDACTED]' + : redactDeep(entry, keyPattern, scrubValue, depth + 1, redactOnDepthCap); + } + return out; +}; + +/** + * Remove pino bindings that Sentry already records as native log fields, then + * redact secret- or payment-credential-shaped values. Email addresses are also + * redacted unless the log carries `audit: true`, the marker for the sanctioned + * identifier buckets (donation outreach, duplicate-account) where support needs + * the email to resolve the case. + * + * @param log The log entry from the SDK. + * @returns The same log with redundant attributes removed and secrets redacted. + */ +export const scrubRedundantLogAttributes = (log: Log): Log => { + const scrubValue = + log.attributes?.audit === true + ? redactSecretSubstrings + : redactIssueSubstrings; + if (log.message != null) { + log.message = scrubValue(String(log.message)); + } + if (log.attributes == null) return log; + for (const key of REDUNDANT_LOG_ATTRIBUTES) { + delete log.attributes[key]; + } + log.attributes = redactDeep( + log.attributes, + SECRET_KEY_PATTERN, + scrubValue, + 0, + true + ) as typeof log.attributes; + return log; +}; + +const stripQueryFromUrl = (url: string): string => url.split('?', 1)[0] ?? url; + +const redactHeaders = ( + headers: Record +): Record => { + const out: Record = {}; + for (const [key, value] of Object.entries(headers)) { + out[key] = ISSUE_REQUEST_KEY_PATTERN.test(key) + ? '[REDACTED]' + : redactIssueSubstrings(value); + } + return out; +}; + +const scrubIssueBody = (data: unknown): unknown => { + if (typeof data === 'string') { + try { + const parsed: unknown = JSON.parse(data); + return JSON.stringify( + redactDeep( + parsed, + ISSUE_REQUEST_KEY_PATTERN, + redactIssueSubstrings, + 0, + true + ) + ); + } catch { + return redactIssueSubstrings(data); + } + } + return redactDeep( + data, + ISSUE_REQUEST_KEY_PATTERN, + redactIssueSubstrings, + 0, + true + ); +}; + +// eslint-disable-next-line jsdoc/require-jsdoc +export const scrubRequestPii = (event: ErrorEvent): ErrorEvent => { + const out: ErrorEvent = { ...event }; + const { request } = event; + + if (request != null) { + const scrubbed: RequestEventData = { ...request }; + delete scrubbed.query_string; + delete scrubbed.cookies; + delete scrubbed.env; + if (scrubbed.url != null) { + scrubbed.url = redactIssueSubstrings(stripQueryFromUrl(scrubbed.url)); + } + if (scrubbed.data != null) { + scrubbed.data = scrubIssueBody(scrubbed.data); + } + if (scrubbed.headers != null) { + scrubbed.headers = redactHeaders(scrubbed.headers); + } + out.request = scrubbed; + } + + if (out.exception?.values) { + out.exception = { + ...out.exception, + values: out.exception.values.map(value => { + const next = { ...value }; + if (typeof next.value === 'string') { + next.value = redactIssueSubstrings(next.value); + } + if (next.stacktrace?.frames) { + next.stacktrace = { + ...next.stacktrace, + frames: next.stacktrace.frames.map(frame => + frame.vars == null + ? frame + : { + ...frame, + vars: redactDeep( + frame.vars, + ISSUE_REQUEST_KEY_PATTERN, + redactIssueSubstrings, + 0, + true + ) as typeof frame.vars + } + ) + }; + } + return next; + }) + }; + } + + if (out.extra !== undefined) { + out.extra = redactDeep( + out.extra, + ISSUE_REQUEST_KEY_PATTERN, + redactIssueSubstrings, + 0, + true + ) as ErrorEvent['extra']; + } + + if (out.user != null) { + out.user = redactDeep( + out.user, + SECRET_KEY_PATTERN, + redactSecretSubstrings, + 0, + true + ) as ErrorEvent['user']; + } + + if (out.breadcrumbs) { + out.breadcrumbs = out.breadcrumbs.map(breadcrumb => + breadcrumb.data == null + ? breadcrumb + : { + ...breadcrumb, + data: redactDeep( + breadcrumb.data, + ISSUE_REQUEST_KEY_PATTERN, + redactIssueSubstrings, + 0, + true + ) as typeof breadcrumb.data + } + ); + } + + return out; +}; + +const MONGO_OBJECT_ID_PATTERN = /ObjectId\("[0-9a-f]{24}"\)/g; +const MONGO_ISO_DATE_PATTERN = /ISODate\("[^"]+"\)/g; + +const scrubMongoLiterals = (text: string): string => + text + .replace(MONGO_OBJECT_ID_PATTERN, 'ObjectId("?")') + .replace(MONGO_ISO_DATE_PATTERN, 'ISODate("?")'); + +// workaround: getsentry/sentry#40650 — prismaIntegration sets the DB span description to raw query text, so a literal ObjectId splits the N+1 fingerprint into one issue group per user +// eslint-disable-next-line jsdoc/require-jsdoc +export const scrubSpanDescriptions = (event: E): E => { + for (const span of event.spans ?? []) { + if (typeof span.description === 'string') { + span.description = scrubMongoLiterals(span.description); + } + const dbQueryText = span.data['db.query.text']; + if (typeof dbQueryText === 'string') { + span.data['db.query.text'] = scrubMongoLiterals(dbQueryText); + } + } + return event; +}; + +/** + * Build a traces sampler that drops health check transactions. + * + * @param rate The sample rate for all other transactions. + * @returns The sampler for Sentry.init. + */ +export const makeTracesSampler = + (rate: number) => + (context: { + name: string; + inheritOrSampleWith: (fallbackSampleRate: number) => number; + }): number => + context.name.includes('/status/ping') || + context.name.includes('/status/ready') + ? 0 + : context.inheritOrSampleWith(rate); diff --git a/github_code/freeCodeCamp__freeCodeCamp/api/src/utils/tokens.test.ts b/github_code/freeCodeCamp__freeCodeCamp/api/src/utils/tokens.test.ts new file mode 100644 index 0000000000000000000000000000000000000000..412843f0b8440161bc68247939a046bb25e2657e --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/api/src/utils/tokens.test.ts @@ -0,0 +1,79 @@ +import { describe, test, expect, vi } from 'vitest'; + +vi.useFakeTimers(); +/* eslint-disable @typescript-eslint/no-unsafe-assignment */ +import { createAccessToken, createAuthToken, isExpired } from './tokens.js'; + +describe('createAccessToken', () => { + test('creates an object with id, ttl, created and userId', () => { + const userId = 'abc'; + + const actual = createAccessToken(userId); + + expect(actual).toStrictEqual({ + id: expect.stringMatching(/[a-zA-Z0-9]{64}/), + ttl: 77760000000, + created: expect.stringMatching( + /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z/ + ), + userId + }); + }); + + test('sets the ttl, defaulting to 77760000000 ms', () => { + const userId = 'abc'; + const ttl = 123; + const actual = createAccessToken(userId, ttl); + + expect(actual.ttl).toBe(ttl); + expect(createAccessToken(userId).ttl).toBe(77760000000); + }); +}); + +describe('createAuthToken', () => { + test('creates an object with id, ttl, created and userId', () => { + const userId = 'abc'; + + const actual = createAuthToken(userId); + + expect(actual).toStrictEqual({ + id: expect.stringMatching(/[a-zA-Z0-9]{64}/), + ttl: 900000, + created: expect.stringMatching( + /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z/ + ), + userId + }); + }); + + test('sets the ttl, defaulting to 900000 ms', () => { + const userId = 'abc'; + const ttl = 123; + const actual = createAuthToken(userId, ttl); + + expect(actual.ttl).toBe(ttl); + expect(createAuthToken(userId).ttl).toBe(900000); + }); +}); + +describe('isExpired', () => { + test('returns true if the token expiry date is in the past', () => { + const token = createAccessToken('abc', 1000); + expect(isExpired(token)).toBe(false); + vi.advanceTimersByTime(500); + expect(isExpired(token)).toBe(false); + vi.advanceTimersByTime(500); + expect(isExpired(token)).toBe(false); + vi.advanceTimersByTime(1); + expect(isExpired(token)).toBe(true); + }); + + test('handles tokens with Date values for created', () => { + const token = { ...createAccessToken('abc', 2000), created: new Date() }; + expect(isExpired(token)).toBe(false); + vi.advanceTimersByTime(2000); + expect(isExpired(token)).toBe(false); + vi.advanceTimersByTime(1); + expect(isExpired(token)).toBe(true); + }); +}); diff --git a/github_code/freeCodeCamp__freeCodeCamp/api/src/utils/tokens.ts b/github_code/freeCodeCamp__freeCodeCamp/api/src/utils/tokens.ts new file mode 100644 index 0000000000000000000000000000000000000000..fb7f02f0486e9dbda438139a00ae9e9d0d668975 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/api/src/utils/tokens.ts @@ -0,0 +1,68 @@ +import jwt from 'jsonwebtoken'; +import { customNanoid } from './ids.js'; + +import { JWT_SECRET } from './env.js'; + +/** + * Encode an id into a JWT (the naming suggests it's a user token, but it's the + * id of the UserToken document). + * @param userToken A token id to encode. + * @returns An encoded object with the userToken property. + */ +export function encodeUserToken(userToken: string): string { + return jwt.sign({ userToken }, JWT_SECRET); +} + +export type Token = { + userId: string; + id: string; + ttl: number; + created: string; +}; + +type DbToken = { + userId: string; + id: string; + ttl: number; + created: Date; +}; + +/** + * Creates an access token. + * @param userId The user ID as a string (yes, it's an ObjectID, but it will be serialized to a string anyway). + * @param ttl The time to live for the token in milliseconds (default: 77760000000). + * @returns The access token. + */ +export const createAccessToken = (userId: string, ttl?: number): Token => { + return { + userId, + id: customNanoid(), + ttl: ttl ?? 77760000000, + created: new Date().toISOString() + }; +}; + +/** + * Creates an auth token. + * @param userId The user ID as a string (yes, it's an ObjectID, but it will be serialized to a string anyway). + * @param ttl The time to live for the token in milliseconds (default: 900000 aka 15 minutes). + * @returns The access token. + */ +export const createAuthToken = (userId: string, ttl?: number): Token => { + return { + userId, + id: customNanoid(), + ttl: ttl ?? 900000, + created: new Date().toISOString() + }; +}; + +/** + * Check if an access token has expired. + * @param token The access token to check. + * @returns True if the token has expired, false otherwise. + */ +export const isExpired = (token: Token | DbToken): boolean => { + const created = new Date(token.created); + return Date.now() > created.getTime() + token.ttl; +}; diff --git a/github_code/freeCodeCamp__freeCodeCamp/api/src/utils/validate-donation.test.ts b/github_code/freeCodeCamp__freeCodeCamp/api/src/utils/validate-donation.test.ts new file mode 100644 index 0000000000000000000000000000000000000000..5fe3587a1c22f637d99035d44e5d6267b43073eb --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/api/src/utils/validate-donation.test.ts @@ -0,0 +1,30 @@ +import { describe, it, expect, beforeAll, afterAll, vi } from 'vitest'; +import { inLastFiveMinutes } from './validate-donation.js'; + +describe('inLastFiveMinutes', () => { + beforeAll(() => { + vi.useFakeTimers(); + }); + + afterAll(() => { + vi.useRealTimers(); + }); + + it('should return true if the timestamp is within the last five minutes', () => { + const currentTimestamp = Math.floor(Date.now() / 1000); + const recentTimestamp = currentTimestamp - 100; + expect(inLastFiveMinutes(recentTimestamp)).toBe(true); + }); + + it('should return false if the timestamp is more than five minutes ago', () => { + const currentTimestamp = Math.floor(Date.now() / 1000); + const oldTimestamp = currentTimestamp - 400; + expect(inLastFiveMinutes(oldTimestamp)).toBe(false); + }); + + it('should return true if the timestamp is exactly five minutes ago', () => { + const currentTimestamp = Math.floor(Date.now() / 1000); + const exactTimestamp = currentTimestamp - 300; + expect(inLastFiveMinutes(exactTimestamp)).toBe(true); + }); +}); diff --git a/github_code/freeCodeCamp__freeCodeCamp/api/src/utils/validate-donation.ts b/github_code/freeCodeCamp__freeCodeCamp/api/src/utils/validate-donation.ts new file mode 100644 index 0000000000000000000000000000000000000000..d51daaecc0a374596b8b8e4466503c7ba0be7f51 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/api/src/utils/validate-donation.ts @@ -0,0 +1,10 @@ +/** + * Checks if a timestamp was created within five minutes. + * @param unixTimestamp - A unix timestamp . + * @returns - The generated email template. + */ +export const inLastFiveMinutes = (unixTimestamp: number) => { + const currentTimestamp = Math.floor(Date.now() / 1000); + const timeDifference = currentTimestamp - unixTimestamp; + return timeDifference <= 300; // 300 seconds is 5 minutes +}; diff --git a/github_code/freeCodeCamp__freeCodeCamp/api/src/utils/validation.test.ts b/github_code/freeCodeCamp__freeCodeCamp/api/src/utils/validation.test.ts new file mode 100644 index 0000000000000000000000000000000000000000..ce0d6832755bdf82b1b346d770e44e2471463952 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/api/src/utils/validation.test.ts @@ -0,0 +1,17 @@ +import { describe, it, expect } from 'vitest'; +import { isObjectID } from './validation.js'; + +describe('Validation', () => { + describe('isObjectID', () => { + it('returns true for valid ObjectIDs', () => { + expect(isObjectID('5f1e0f3b5d2c12b0b8f7a6b9')).toBe(true); + }); + + it('returns false for invalid ObjectIDs', () => { + expect(isObjectID('5f1e0f3b5d2c12b0b8f7a6b')).toBe(false); + expect(isObjectID('5f1e0f3b5d2c12b0b8f7a6b99')).toBe(false); + expect(isObjectID('5f1e0f3b5d2c12b0b8f7a6b-')).toBe(false); + expect(isObjectID(undefined)).toBe(false); + }); + }); +}); diff --git a/github_code/freeCodeCamp__freeCodeCamp/api/src/utils/validation.ts b/github_code/freeCodeCamp__freeCodeCamp/api/src/utils/validation.ts new file mode 100644 index 0000000000000000000000000000000000000000..6c57ec457f0d342c588cae6a8ff50efe8bd935aa --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/api/src/utils/validation.ts @@ -0,0 +1,64 @@ +import { ObjectId } from 'bson'; +import assert from 'node:assert'; + +// This is trivial, but makes it simple to refactor if we swap monogodb for +// bson, say. + +/** + * Checks if a string is a valid MongoDB ObjectID. + * @param id A string to check. + * @returns A boolean indicating if the string is a valid MongoDB ObjectID. + */ +export const isObjectID = (id?: string): boolean => + id ? ObjectId.isValid(id) : false; + +// Refer : http://stackoverflow.com/a/430240/1932901 +/** + * Sanitizes a input by removing HTML tags. + * @deprecated + * @param value A string to sanitize. + * @returns A string with HTML tags removed. + */ +export const trimTags = (value: string): string => { + const tagBody = '(?:[^"\'>]|"[^"]*"|\'[^\']*\')*'; + const tagOrComment = new RegExp( + '<(?:' + + // Comment body. + '!--(?:(?:-*[^->])*--+|-?)' + + // Special "raw text" elements whose content should be elided. + '|script\\b' + + tagBody + + '>[\\s\\S]*?[\\s\\S]*?', + 'gi' + ); + let rawValue; + do { + rawValue = value; + value = value.replace(tagOrComment, ''); + } while (value !== rawValue); + + return value.replace(/` collections. +import { PrismaClient } from '@prisma/client'; +import { PrismaClientKnownRequestError } from '@prisma/client/runtime/library.js'; +import { MONGOHQ_URL } from '../../../src/utils/env.js'; + +const prisma = new PrismaClient({ + datasources: { + db: { + url: MONGOHQ_URL + } + } +}); + +async function main() { + await prisma.$connect(); + try { + const examEnvironmentExam = await prisma.examEnvironmentExam.findMany(); + const examEnvironmentGeneratedExam = + await prisma.examEnvironmentGeneratedExam.findMany(); + const examEnvironmentExamAttempt = + await prisma.examEnvironmentExamAttempt.findMany(); + + console.log('Number of exams:', examEnvironmentExam.length); + console.log( + 'Number of generated exams:', + examEnvironmentGeneratedExam.length + ); + console.log('Number of exam attempts:', examEnvironmentExamAttempt.length); + // NOTE: This is not strictly true. E.g. If a `Boolean` becomes an `Int`, Prisma converts it instead of throwing. + console.log('\nSUCCESS! The database schema matches the Prisma schema.'); + } catch (error) { + if (error instanceof PrismaClientKnownRequestError) { + console.log(error.message); + console.info('\nCHECK DATABASE SCHEMA!'); + } + } +} + +void main(); diff --git a/github_code/freeCodeCamp__freeCodeCamp/api/tsconfig.build.json b/github_code/freeCodeCamp__freeCodeCamp/api/tsconfig.build.json new file mode 100644 index 0000000000000000000000000000000000000000..8672fa47aa494fe9ea6b8df83178a910de9cfa0c --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/api/tsconfig.build.json @@ -0,0 +1,11 @@ +{ + "extends": "./tsconfig", + "compilerOptions": { + "outDir": "dist", + "rootDir": "../", + "noEmit": false, + "sourceMap": true + }, + "include": ["src"], + "exclude": ["**/*.test.*"] +} diff --git a/github_code/freeCodeCamp__freeCodeCamp/api/tsconfig.json b/github_code/freeCodeCamp__freeCodeCamp/api/tsconfig.json new file mode 100644 index 0000000000000000000000000000000000000000..e3d8b080c36fc422b4fdf4b3175f09affe7061a3 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/api/tsconfig.json @@ -0,0 +1,14 @@ +{ + "include": ["**/*.ts"], + "compilerOptions": { + "target": "es2022", + "module": "nodenext", + "allowJs": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, + "resolveJsonModule": true, + "noEmit": true, + "noUncheckedIndexedAccess": true + } +} diff --git a/github_code/freeCodeCamp__freeCodeCamp/api/turbo.json b/github_code/freeCodeCamp__freeCodeCamp/api/turbo.json new file mode 100644 index 0000000000000000000000000000000000000000..35afbe569e13855e47776ec0486c8674afbe59cb --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/api/turbo.json @@ -0,0 +1,102 @@ +{ + "$schema": "https://v2-10-0.turborepo.dev/schema.json", + "extends": ["//"], + "tasks": { + "build": { + "env": [ + "API_LOCATION", + "AUTH0_CLIENT_ID", + "AUTH0_CLIENT_SECRET", + "AUTH0_DOMAIN", + "COOKIE_DOMAIN", + "COOKIE_SECRET", + "DEPLOYMENT_ENV", + "DEPLOYMENT_VERSION", + "EMAIL_PROVIDER", + "FCC_API_LOG_LEVEL", + "FCC_API_LOG_TRANSPORT", + "FCC_ENABLE_CLASSROOM", + "FCC_ENABLE_DEV_LOGIN_MODE", + "FCC_ENABLE_SENTRY_ROUTES", + "FCC_ENABLE_SWAGGER_UI", + "FCC_ENABLE_TEST_LOGGING", + "FCC_DRAIN_TIMEOUT_MS", + "FREECODECAMP_NODE_ENV", + "GROWTHBOOK_FASTIFY_API_HOST", + "GROWTHBOOK_FASTIFY_CLIENT_KEY", + "HOME_LOCATION", + "HOST", + "JWT_SECRET", + "MAILPIT_HOST", + "NODE_ENV", + "PORT", + "SENTRY_DSN", + "SENTRY_ENVIRONMENT", + "SENTRY_LOGS_DEBUG_SAMPLE_RATE", + "SENTRY_LOGS_INFO_SAMPLE_RATE", + "SENTRY_PROFILE_SESSION_SAMPLE_RATE", + "SENTRY_SERVER_NAME", + "SENTRY_TRACES_SAMPLE_RATE", + "SES_ID", + "SES_REGION", + "SES_SECRET", + "SES_SMTP_HOST", + "SES_SMTP_PASSWORD", + "SES_SMTP_USERNAME", + "SHOW_UPCOMING_CHANGES", + "SOCRATES_API_KEY", + "SOCRATES_ENDPOINT", + "STRIPE_SECRET_KEY", + "TPA_API_BEARER_TOKEN" + ] + }, + "test": { + "passThroughEnv": ["VITEST_WORKER_ID"], + "env": [ + "API_LOCATION", + "AUTH0_CLIENT_ID", + "AUTH0_CLIENT_SECRET", + "AUTH0_DOMAIN", + "COOKIE_DOMAIN", + "COOKIE_SECRET", + "DEPLOYMENT_ENV", + "DEPLOYMENT_VERSION", + "EMAIL_PROVIDER", + "FCC_API_LOG_LEVEL", + "FCC_API_LOG_TRANSPORT", + "FCC_ENABLE_CLASSROOM", + "FCC_ENABLE_DEV_LOGIN_MODE", + "FCC_ENABLE_SENTRY_ROUTES", + "FCC_ENABLE_SWAGGER_UI", + "FCC_ENABLE_TEST_LOGGING", + "FREECODECAMP_NODE_ENV", + "GROWTHBOOK_FASTIFY_API_HOST", + "GROWTHBOOK_FASTIFY_CLIENT_KEY", + "HOME_LOCATION", + "HOST", + "JWT_SECRET", + "MAILPIT_HOST", + "NODE_ENV", + "PORT", + "SENTRY_DSN", + "SENTRY_ENVIRONMENT", + "SENTRY_LOGS_DEBUG_SAMPLE_RATE", + "SENTRY_LOGS_INFO_SAMPLE_RATE", + "SENTRY_PROFILE_SESSION_SAMPLE_RATE", + "SENTRY_SERVER_NAME", + "SENTRY_TRACES_SAMPLE_RATE", + "SES_ID", + "SES_REGION", + "SES_SECRET", + "SES_SMTP_HOST", + "SES_SMTP_PASSWORD", + "SES_SMTP_USERNAME", + "SHOW_UPCOMING_CHANGES", + "SOCRATES_API_KEY", + "SOCRATES_ENDPOINT", + "STRIPE_SECRET_KEY", + "TPA_API_BEARER_TOKEN" + ] + } + } +} diff --git a/github_code/freeCodeCamp__freeCodeCamp/api/vitest.utils.test.ts b/github_code/freeCodeCamp__freeCodeCamp/api/vitest.utils.test.ts new file mode 100644 index 0000000000000000000000000000000000000000..e1fad63317d85a2e3f60954189fe749bc6e67c5c --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/api/vitest.utils.test.ts @@ -0,0 +1,105 @@ +import { describe, test, expect } from 'vitest'; +import { getCsrfToken, getCookies, serializeDates } from './vitest.utils.js'; + +const fakeCookies = [ + '_csrf=123; Path=/; HttpOnly; SameSite=Strict', + 'csrf_token=abc-123; Path=/', + 'sessionId=CV-abc.123; Path=/; Expires=Wed, 03 May 2023 16:29:53 GMT; HttpOnly' +]; + +describe('getCsrfToken', () => { + test('returns csrf token if there is one', () => { + expect(getCsrfToken(fakeCookies)).toEqual('abc-123'); + }); + + test('returns undefined if there is no csrf token', () => { + expect( + getCsrfToken(['_csrf=123; Path=/; HttpOnly; SameSite=Strict']) + ).toBeUndefined(); + }); +}); + +describe('setCookiesToCookies', () => { + test('returns a string of cookies', () => { + expect(getCookies(fakeCookies)).toEqual( + '_csrf=123; csrf_token=abc-123; sessionId=CV-abc.123' + ); + }); + test('handles bare cookies', () => { + expect(getCookies(['_csrf=123'])).toEqual('_csrf=123'); + }); + + test('throws an error if the cookies are malformed', () => { + expect(() => getCookies(['_csrf'])).toThrow(); + }); +}); + +describe('serializeDates', () => { + function isAsymmetricMatcher(x: unknown): x is typeof expect.any { + return ( + typeof x === 'object' && + x !== null && + typeof (x as { asymmetricMatch?: unknown }).asymmetricMatch === 'function' + ); + } + + test('returns primitives unchanged', () => { + expect(serializeDates(42)).toBe(42); + expect(serializeDates('hello')).toBe('hello'); + expect(serializeDates(true)).toBe(true); + }); + + test('converts Date to ISO string', () => { + const d = new Date('2020-01-01T00:00:00.000Z'); + expect(serializeDates(d)).toBe(d.toISOString()); + }); + + test('recursively converts nested objects with Date', () => { + const input = { + a: new Date('2021-05-05T05:05:05.000Z'), + b: { c: new Date('2022-06-06T06:06:06.000Z') } + }; + const output = serializeDates(input); + expect(output).toEqual({ + a: input.a.toISOString(), + b: { c: input.b.c.toISOString() } + }); + }); + + test('recursively converts arrays with Date and nested structures', () => { + const d1 = new Date('2020-02-02T02:02:02.000Z'); + const d2 = new Date('2023-03-03T03:03:03.000Z'); + const d3 = new Date('2024-04-04T04:04:04.000Z'); + const arr: [Date, { x: Date; y: Date[] }] = [d1, { x: d2, y: [d3] }]; + const out = serializeDates(arr); + expect(out).toEqual([ + d1.toISOString(), + { x: d2.toISOString(), y: [d3.toISOString()] } + ]); + }); + + test('handles null and undefined', () => { + expect(serializeDates(null)).toBeNull(); + expect(serializeDates(undefined)).toBeUndefined(); + }); + + test('preserves asymmetric matchers', () => { + type MatchersShape = { id: unknown; meta: { when: unknown } }; + const withMatchers: MatchersShape = { + id: expect.any(String) as unknown, + meta: { when: expect.stringMatching(/Z$/) as unknown } + }; + const serialized = serializeDates(withMatchers); + expect(isAsymmetricMatcher(serialized.id)).toBe(true); + expect(isAsymmetricMatcher(serialized.meta.when)).toBe(true); + + // Serializing `Date`s yield strings that match the same patterns + const body = { + id: 'abc', + meta: { when: new Date('2025-01-01T00:00:00.000Z') } + }; + const wrapped = serializeDates(body); + expect(typeof wrapped.id).toBe('string'); + expect(wrapped.meta.when).toMatch(/Z$/); + }); +}); diff --git a/github_code/freeCodeCamp__freeCodeCamp/api/vitest.utils.ts b/github_code/freeCodeCamp__freeCodeCamp/api/vitest.utils.ts new file mode 100644 index 0000000000000000000000000000000000000000..019a4e7dcb75313bf7e3b8402f8fa2339d3d6718 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/api/vitest.utils.ts @@ -0,0 +1,327 @@ +/* eslint-disable jsdoc/require-jsdoc */ +import { beforeAll, afterAll, expect, vi } from 'vitest'; +import request from 'supertest'; + +import { build, buildOptions } from './src/app.js'; +import { createUserInput } from './src/utils/create-user.js'; +import { examJson } from './__fixtures__/exam.js'; +import { CSRF_COOKIE, CSRF_HEADER } from './src/plugins/csrf.js'; + +type FastifyTestInstance = Awaited>; + +declare global { + var fastifyTestInstance: FastifyTestInstance; +} + +type Options = { + sendCSRFToken?: boolean; +}; + +const requests = { + GET: (resource: string) => request(fastifyTestInstance?.server).get(resource), + POST: (resource: string) => + request(fastifyTestInstance?.server).post(resource), + PUT: (resource: string) => request(fastifyTestInstance?.server).put(resource), + DELETE: (resource: string) => + request(fastifyTestInstance?.server).delete(resource) +}; + +export const getCsrfToken = (setCookies: string[]): string | undefined => { + const csrfSetCookie = setCookies.find(str => str.includes(CSRF_COOKIE)); + const [csrfCookie] = csrfSetCookie?.split(';') ?? []; + const [_key, csrfToken] = csrfCookie?.split('=') ?? []; + + return csrfToken; +}; + +const ORIGIN = 'https://www.freecodecamp.org'; + +export const getCookies = (setCookies: string[]): string => { + for (const cookie of setCookies) { + expect(cookie).toMatch(/.*=.*/); + } + return setCookies.map(cookie => cookie.split(';')[0]).join('; '); +}; + +/** + * A wrapper around supertest that handles common setup for requests. Namely + * setting the Origin header, cookies and CSRF token. + * + * @param resource - The URL of the resource to be requested. + * @param config - The configuration for the request. + * @param config.method - The HTTP method to be used. + * @param config.setCookies - The cookies to be set in the request. + * @param options - Additional options for the request. + * @param options.sendCSRFToken - Whether to send the CSRF token in the request (default: true). + * @returns The request object. + */ +export function superRequest( + resource: string, + config: { + method: 'GET' | 'POST' | 'PUT' | 'DELETE'; + setCookies?: string[]; + }, + options?: Options +): request.Test { + const { method, setCookies } = config; + const { sendCSRFToken = true } = options ?? {}; + + const req = requests[method](resource).set('Origin', ORIGIN); + + if (setCookies) { + void req.set('Cookie', getCookies(setCookies)); + } + + const csrfToken = (setCookies && getCsrfToken(setCookies)) ?? ''; + if (sendCSRFToken) { + void req.set(CSRF_HEADER, csrfToken); + } + return req; +} + +/** + * Factory function for 'superRequest' allows for the creation of a concise + * request function with the desired method and setCookies baked in. + * + * @param config + * @param config.method - HTTP method. + * @param config.setCookies - Cookies to be set in the request. + * @returns A superRequest function with the desired method and setCookies. + */ +export function createSuperRequest(config: { + method: 'GET' | 'POST' | 'PUT' | 'DELETE'; + setCookies?: string[]; +}): (resource: string, options?: Options) => request.Test { + return (resource, options) => superRequest(resource, config, options); +} + +type IndexData = { + collection: string; + indexes: { + key: Record; + name: string; + expireAfterSeconds?: number; + unique?: boolean; + }[]; +}; +const indexData: IndexData[] = [ + { + collection: 'AccessToken', + indexes: [ + { + key: { userId: 1 }, + name: 'userId_1' + } + ] + }, + { + collection: 'Donation', + indexes: [ + { key: { email: 1 }, name: 'email_1' }, + { key: { userId: 1 }, name: 'userId_1' } + ] + }, + { + collection: 'MsUsername', + indexes: [{ key: { userId: 1, id: 1 }, name: 'userId_1__id_1' }] + }, + { + collection: 'SocratesUsage', + indexes: [ + { + key: { userId: 1, date: 1 }, + name: 'userId_date_unique', + unique: true + } + ] + }, + { + collection: 'Survey', + indexes: [{ key: { userId: 1 }, name: 'userId_1' }] + }, + { + collection: 'UserToken', + indexes: [{ key: { userId: 1 }, name: 'userId_1' }] + }, + { + collection: 'sessions', + indexes: [ + { + key: { expires: 1 }, + name: 'expires_1', + expireAfterSeconds: 0 + } + ] + }, + { + collection: 'user', + indexes: [ + { + key: { email: 1, sendQuincyEmail: 1 }, + name: 'mailing-list-pull' + }, + { key: { email: 1 }, name: 'email_1' }, + { key: { isDonating: 1 }, name: 'isDonating_1' }, + { key: { username: 1, id: 1 }, name: 'username_1__id_1' } + ] + } +]; + +export async function checkCanConnectToDb( + prisma: FastifyTestInstance['prisma'] +): Promise { + const countP = prisma.user.count(); + const delayedRejection = new Promise((_resolve, reject) => + setTimeout( + () => reject(Error('unable to connect to Mongodb (timeout)')), + 1000 + ) + ); + await Promise.race([countP, delayedRejection]); +} + +export function setupServer(): void { + let fastify: FastifyTestInstance; + beforeAll(async () => { + if (process.env.FCC_ENABLE_TEST_LOGGING !== 'true') { + delete buildOptions.loggerInstance; + } + fastify = await build(buildOptions); + await fastify.ready(); + // Supertest does not handle multiple concurrent requests gracefully + // https://github.com/forwardemail/supertest/issues/709 + // it calls `server.close` and can end up killing live connections. + // By listening to 0, we keep the ephemeral port generation, but the fact + // it is listening means supertest will not attempt to close it. + fastify.server.listen(0); + + await checkCanConnectToDb(fastify.prisma); + + // Prisma does not support TTL indexes in the schema yet, so, to avoid + // conflicts with the TTL index in the sessions collection, we need to + // create it manually (before interacting with the db in any way). Also, + // to save time, we create all other indexes so we don't need to invoke + // `prisma db push` (which is relatively slow). + + await Promise.all( + indexData.map(async ({ collection, indexes }) => { + await fastify.prisma.$runCommandRaw({ + createIndexes: collection, + indexes + }); + }) + ); + + global.fastifyTestInstance = fastify; + // allow a little time to setup the db + }, 10000); + + afterAll(async () => { + if (!global.fastifyTestInstance) + throw Error(`fastifyTestInstance was not created. Typically this means that something went wrong when building the fastify instance. +If you are seeing this error, the root cause is likely an error thrown in the beforeAll hook.`); + await fastifyTestInstance.prisma.$runCommandRaw({ dropDatabase: 1 }); + + await fastifyTestInstance.close(); + }); +} + +// demoUser _id to allow testing with mock data +export const defaultUserId = '5bd30e0f1caf6ac3ddddddb5'; +export const defaultUserEmail = 'foo@bar.com'; +export const defaultUsername = 'fcc-test-user'; + +export const resetDefaultUser = async (): Promise => { + await fastifyTestInstance.prisma.user.deleteMany({ + where: { OR: [{ id: defaultUserId }, { email: defaultUserEmail }] } + }); + + await fastifyTestInstance.prisma.user.create({ + data: { + ...createUserInput(defaultUserEmail), + id: defaultUserId, + username: defaultUsername + } + }); +}; + +export async function devLogin(): Promise { + await resetDefaultUser(); + const res = await superRequest('/signin', { method: 'GET' }); + expect(res.status).toBe(302); + return res.get('Set-Cookie'); +} + +export async function seedExam(): Promise { + const query = { where: { id: examJson.id } }; + const testExamExists = + await fastifyTestInstance.prisma.exam.findUnique(query); + + if (testExamExists) { + await fastifyTestInstance.prisma.exam.deleteMany(query); + } + + await fastifyTestInstance.prisma.exam.create({ + data: { + ...examJson + } + }); +} + +export function createFetchMock({ ok = true, body = {} } = {}) { + return vi.fn().mockResolvedValue( + Promise.resolve({ + ok, + json: () => Promise.resolve(body) + }) + ); +} + +/** + * Utility type to recursively replace `Date` with `string`. + */ +export type ReplaceDates = T extends Date + ? string + : T extends (infer U)[] + ? ReplaceDates[] + : T extends Record + ? { [K in keyof T]: ReplaceDates } + : T; + +/** + * Recursively finds and converts Date objects to ISO strings while preserving shape. + */ +export function serializeDates(data: T): ReplaceDates { + if (data === null || data === undefined) { + return data as ReplaceDates; + } + + // Preserve Vitest/Jest asymmetric matchers (e.g., expect.any(Number)) + if ( + typeof data === 'object' && + data !== null && + typeof (data as { asymmetricMatch?: unknown }).asymmetricMatch === + 'function' + ) { + return data as unknown as ReplaceDates; + } + + if (data instanceof Date) { + return data.toISOString() as ReplaceDates; + } + + if (Array.isArray(data)) { + return (data as unknown[]).map(item => + serializeDates(item) + ) as ReplaceDates; + } + + if (typeof data === 'object') { + const entries = Object.entries(data as Record).map( + ([key, value]) => [key, serializeDates(value)] as const + ); + return Object.fromEntries(entries) as ReplaceDates; + } + + return data as ReplaceDates; +} diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/.babelrc.js b/github_code/freeCodeCamp__freeCodeCamp/client/.babelrc.js new file mode 100644 index 0000000000000000000000000000000000000000..c528a06aa0907ba0deb665cad249ca2ae8099fd6 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/.babelrc.js @@ -0,0 +1,71 @@ +/* eslint-disable filenames-simple/naming-convention */ +require('dotenv').config({ path: '../.env' }); +const config = { + presets: [ + [ + '@babel/preset-env', + { + loose: true, + modules: false, + useBuiltIns: 'usage', + corejs: 3, + shippedProposals: true, + targets: { + browsers: ['>0.25%', 'not dead'] + } + } + ], + [ + '@babel/preset-react', + { + useBuiltIns: true, + pragma: 'React.createElement' + } + ], + '@babel/preset-typescript' + ], + plugins: [ + 'preval', + '@babel/plugin-syntax-dynamic-import', + 'babel-plugin-macros', + [ + '@babel/plugin-transform-runtime', + { + helpers: true, + regenerator: true + } + ], + [ + 'prismjs', + { + languages: [ + 'bash', + 'c', + 'clike', + 'cpp', + 'css', + 'csharp', + 'html', + 'javascript', + 'json', + 'jsx', + 'markup', + 'mathml', + 'pug', + 'python', + 'scss', + 'sass', + 'sql', + 'svg', + 'typescript', + 'tsx', + 'xml' + ], + theme: 'default', + css: true, + plugins: ['line-numbers'] + } + ] + ] +}; +module.exports = config; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/.gitignore b/github_code/freeCodeCamp__freeCodeCamp/client/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..3b1f6a47d089015a0a5b78f1797974474f86ee5c --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/.gitignore @@ -0,0 +1,31 @@ +# Project dependencies +.cache +node_modules +yarn-error.log + +# Build directory +/public +.DS_Store + +/static/js +/static/css +/static/curriculum-data + +# i18n build script copies non-English translations from i18n-curriculum submodule +/i18n/locales/*/translations.json +/i18n/locales/*/intro.json +/i18n/locales/*/meta-tags.json +/i18n/locales/*/motivation.json +# english is a special case and is commited in this repo +!/i18n/locales/english/translations.json +!/i18n/locales/english/intro.json +!/i18n/locales/english/meta-tags.json +!/i18n/locales/english/motivation.json + +# Generated for all locales +i18n/locales/**/trending.json +i18n/locales/**/search-bar.json + +# Config + +config/env.json diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/.lintstagedrc.mjs b/github_code/freeCodeCamp__freeCodeCamp/client/.lintstagedrc.mjs new file mode 100644 index 0000000000000000000000000000000000000000..2cb8879f45f5371b6d5d5f6845e87c02e1564f7e --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/.lintstagedrc.mjs @@ -0,0 +1,4 @@ +/* eslint-disable filenames-simple/naming-convention */ +import { createLintStagedConfig } from '@freecodecamp/eslint-config/lintstaged'; + +export default createLintStagedConfig(import.meta.dirname); diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/__mocks__/gatsby.ts b/github_code/freeCodeCamp__freeCodeCamp/client/__mocks__/gatsby.ts new file mode 100644 index 0000000000000000000000000000000000000000..b279e387259c0ee8b5b87e4db3c92602162b1cc8 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/__mocks__/gatsby.ts @@ -0,0 +1,33 @@ +import React from 'react'; +import type { GatsbyLinkProps } from 'gatsby'; +import { vi } from 'vitest'; +import gatsby from 'gatsby'; + +import envData from '../config/env.json'; +const { clientLocale } = envData; + +export const navigate = vi.fn(); +export const graphql = vi.fn(); +export const Link = vi + .fn() + .mockImplementation(({ to, ...rest }: GatsbyLinkProps) => + React.createElement('a', { ...rest, href: to }) + ); +export const withPrefix = vi.fn().mockImplementation((path: string) => { + const pathPrefix = clientLocale === 'english' ? '' : '/' + clientLocale; + return pathPrefix + path; +}); +export const StaticQuery = vi.fn(); +export const useStaticQuery = vi.fn(); + +export default { + // ...existing code... + // spread the actual gatsby module to keep other exports working + ...gatsby, + navigate, + graphql, + Link, + withPrefix, + StaticQuery, + useStaticQuery +}; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/__mocks__/react-i18next.js b/github_code/freeCodeCamp__freeCodeCamp/client/__mocks__/react-i18next.js new file mode 100644 index 0000000000000000000000000000000000000000..600e23b01368d754279a7d42191eae5f63a8d77e --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/__mocks__/react-i18next.js @@ -0,0 +1,67 @@ +import React from 'react'; + +// modified from https://github.com/i18next/react-i18next/blob/master/example/test-jest/src/__mocks__/react-i18next.js +const hasChildren = node => + node && (node.children || (node.props && node.props.children)); + +const getChildren = node => + node && node.children ? node.children : node.props && node.props.children; + +const renderNodes = reactNodes => { + if (typeof reactNodes === 'string') { + return reactNodes; + } + + return Object.keys(reactNodes).map((key, i) => { + const child = reactNodes[key]; + const isElement = React.isValidElement(child); + + if (typeof child === 'string') { + return child; + } + if (hasChildren(child)) { + const inner = renderNodes(getChildren(child)); + return React.cloneElement(child, { ...child.props, key: i }, inner); + } + if (typeof child === 'object' && !isElement) { + return Object.keys(child).reduce( + (str, childKey) => `${str}${child[childKey]}`, + '' + ); + } + + return child; + }); +}; + +const withTranslation = () => Component => { + const WrappedComponent = props => + React.createElement(Component, { + ...props, + t: props.t ?? (str => str) + }); + + WrappedComponent.WrappedComponent = Component; + WrappedComponent.displayName = `withTranslation(${Component.displayName || Component.name || 'Component'})`; + + return WrappedComponent; +}; + +const useTranslation = () => { + return { + t: str => str, + i18n: { + changeLanguage: () => new Promise(() => {}) + } + }; +}; + +const Trans = ({ children }) => + Array.isArray(children) ? renderNodes(children) : renderNodes([children]); + +// translate isn't being used anywhere, uncomment if needed +/* const translate = () => Component => props => ( + ''} {...props} /> +); */ + +module.exports = { withTranslation, useTranslation, Trans }; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/__mocks__/react-spinkit.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/__mocks__/react-spinkit.tsx new file mode 100644 index 0000000000000000000000000000000000000000..982f64b2b5ff785909b8543c3226f36b74b0dd07 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/__mocks__/react-spinkit.tsx @@ -0,0 +1,4 @@ +import React from 'react'; + +// eslint-disable-next-line react/display-name +export default () =>
Spinner
; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/config/analytics-settings.ts b/github_code/freeCodeCamp__freeCodeCamp/client/config/analytics-settings.ts new file mode 100644 index 0000000000000000000000000000000000000000..0547e57a814143eed0ad9bd690eb5047b47efa02 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/config/analytics-settings.ts @@ -0,0 +1,2 @@ +export const prodAnalyticsId = 'GTM-57R6KJM'; +export const devAnalyticsId = 'GTM-WSS47LM'; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/config/cert-and-project-map.test.ts b/github_code/freeCodeCamp__freeCodeCamp/client/config/cert-and-project-map.test.ts new file mode 100644 index 0000000000000000000000000000000000000000..1c1ce8c21360c8f9153e1ce6013258820253b8a7 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/config/cert-and-project-map.test.ts @@ -0,0 +1,77 @@ +import path from 'node:path'; +import fs from 'node:fs'; +import { describe, test, expect } from 'vitest'; + +import { getContentDir } from '@freecodecamp/curriculum/file-handler'; +import { buildCertification } from '@freecodecamp/curriculum/build-certification'; + +import { allCerts } from './cert-and-project-map'; + +describe('certifications', () => { + const certificationsDir = path.resolve( + getContentDir('english'), + 'certifications' + ); + + const certificationFiles = fs.readdirSync(certificationsDir); + + certificationFiles.forEach(filename => { + test(`${filename} should have matching items in cert-and-project-map`, () => { + const filePath = path.join(certificationsDir, filename); + const result = buildCertification(filePath); + + const certData = result.challenges[0]; + const certTests = certData.tests; + + const matchingCert = allCerts.find(cert => cert.id === certData.id); + + expect( + matchingCert, + `Cert ID ${certData.id} not found in allCerts.` + ).toBeDefined(); + expect( + matchingCert, + `Matching cert has no 'projects' property` + ).toHaveProperty('projects'); + + // skip legacy-full-stack as it has no projects + if (filename === 'legacy-full-stack.yml') { + return; + } + + expect( + Array.isArray(matchingCert?.projects), + `Matching cert 'projects' is not an array` + ).toBe(true); + + const certProjects = matchingCert?.projects; + + expect( + certProjects?.length, + `Project count mismatch: allCerts has ${certProjects?.length} projects, YAML has ${certTests.length} tests` + ).toBe(certTests.length); + + certTests.forEach((test, i) => { + expect( + test, + `Test at index ${i} in missing id property` + ).toHaveProperty('id'); + expect( + test, + `Test at index ${i} missing title property` + ).toHaveProperty('title'); + + const matchingProject = certProjects?.[i]; + + expect( + matchingProject, + `No project found at index ${i} for test ${test.id}` + ).toBeDefined(); + expect( + matchingProject?.id, + `Project ID mismatch at index ${i}: allCerts has "${matchingProject?.id}", YAML has "${test.id}"` + ).toBe(test.id); + }); + }); + }); +}); diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/config/cert-and-project-map.ts b/github_code/freeCodeCamp__freeCodeCamp/client/config/cert-and-project-map.ts new file mode 100644 index 0000000000000000000000000000000000000000..95e793e1b664c9099e3be151f0cca582895d7289 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/config/cert-and-project-map.ts @@ -0,0 +1,1031 @@ +import { + Certification, + legacyCertifications, + upcomingCertifications, + currentCertifications +} from '@freecodecamp/shared/config/certification-settings'; + +import config from '../config/env.json'; + +const { showUpcomingChanges } = config; + +const responsiveWebBase = + '/learn/responsive-web-design/responsive-web-design-projects'; +const responsiveWeb22Base = '/learn/2022/responsive-web-design'; +const jsAlgoBase = + '/learn/javascript-algorithms-and-data-structures/' + + 'javascript-algorithms-and-data-structures-projects'; +const jsAlgo22Base = '/learn/javascript-algorithms-and-data-structures-v8'; +const feLibsBase = + '/learn/front-end-development-libraries/front-end-development-libraries-projects'; +const dataVisBase = '/learn/data-visualization/data-visualization-projects'; +const relationalDatabaseBase = '/learn/relational-database'; +const apiMicroBase = + '/learn/back-end-development-and-apis/back-end-development-and-apis-projects'; +const qaBase = '/learn/quality-assurance/quality-assurance-projects'; +const infoSecBase = '/learn/information-security/information-security-projects'; +const sciCompPyBase = '/learn/scientific-computing-with-python'; +const dataAnalysisPyBase = + '/learn/data-analysis-with-python/data-analysis-with-python-projects'; +const machineLearningPyBase = + '/learn/machine-learning-with-python/machine-learning-with-python-projects'; +const collegeAlgebraPyBase = '/learn/college-algebra-with-python'; +const takeHomeBase = '/learn/coding-interview-prep/take-home-projects'; +const foundationalCSharpBase = + '/learn/foundational-c-sharp-with-microsoft/foundational-c-sharp-with-microsoft-certification-exam'; +const respWebV9Base = '/learn/responsive-web-design-v9'; +const jsV9Base = '/learn/javascript-v9'; +const frontEndDevLibsV9Base = '/learn/front-end-development-libraries-v9'; +const pythonV9Base = '/learn/python-v9'; +const relationalDbV9Base = '/learn/relational-databases-v9'; +const backEndDevApisV9Base = '/learn/back-end-development-and-apis-v9'; +const fullStackDeveloperV9Base = '/learn/full-stack-developer-v9'; +const a2EnglishBase = '/learn/a2-english-for-developers'; +const b1EnglishBase = '/learn/b1-english-for-developers'; +const a2SpanishBase = '/learn/a2-professional-spanish'; +const a2ChineseBase = '/learn/a2-professional-chinese'; +const a1ChineseBase = '/learn/a1-professional-chinese'; +const legacyFrontEndBase = feLibsBase; +const legacyFrontEndResponsiveBase = responsiveWebBase; +const legacyFrontEndTakeHomeBase = takeHomeBase; +const legacyBackEndBase = apiMicroBase; +const legacyBackEndTakeHomeBase = takeHomeBase; +const legacyDataVisBase = dataVisBase; +const legacyDataVisFrontEndBase = feLibsBase; +const legacyDataVisTakeHomeBase = takeHomeBase; +const legacyInfosecQaQaBase = qaBase; +const legacyInfosecQaInfosecBase = infoSecBase; + +// TODO: generate this automatically in a separate file +// from the md/meta.json files for each cert and projects +const fullstackCert = { + id: '561add10cb82ac38a17213bd', + title: 'Legacy Full-Stack', + certSlug: Certification.LegacyFullStack, + projects: null + // Requirements are other certs and is + // handled elsewhere +} as const; +const allStandardCerts = [ + { + id: '561add10cb82ac38a17513bc', + title: 'Responsive Web Design', + certSlug: Certification.RespWebDesign, + projects: [ + { + id: '587d78af367417b2b2512b03', + title: 'Build a Survey Form', + link: getResponsiveWebDesignPath('build-a-survey-form'), + certSlug: Certification.RespWebDesign + }, + { + id: 'bd7158d8c442eddfaeb5bd18', + title: 'Build a Tribute Page', + link: getResponsiveWebDesignPath('build-a-tribute-page'), + certSlug: Certification.RespWebDesign + }, + { + id: '587d78b0367417b2b2512b05', + title: 'Build a Technical Documentation Page', + link: getResponsiveWebDesignPath( + 'build-a-technical-documentation-page' + ), + certSlug: Certification.RespWebDesign + }, + { + id: '587d78af367417b2b2512b04', + title: 'Build a Product Landing Page', + link: getResponsiveWebDesignPath('build-a-product-landing-page'), + certSlug: Certification.RespWebDesign + }, + { + id: 'bd7158d8c242eddfaeb5bd13', + title: 'Build a Personal Portfolio Webpage', + link: getResponsiveWebDesignPath('build-a-personal-portfolio-webpage'), + certSlug: Certification.RespWebDesign + } + ] + }, + { + id: '658180220947283cdc0689ce', + title: 'JavaScript Algorithms and Data Structures', + certSlug: Certification.JsAlgoDataStructNew, + projects: [ + { + id: '657bdc55a322aae1eac3838f', + title: 'Build a Palindrome Checker', + link: getJavaScriptAlgoPath('build-a-palindrome-checker'), + certSlug: Certification.JsAlgoDataStructNew + }, + { + id: '657bdc8ba322aae1eac38390', + title: 'Build a Roman Numeral Converter', + link: getJavaScriptAlgoPath('build-a-roman-numeral-converter'), + certSlug: Certification.JsAlgoDataStructNew + }, + { + id: '657bdcb9a322aae1eac38391', + title: 'Build a Telephone Number Validator', + link: getJavaScriptAlgoPath('build-a-telephone-number-validator'), + certSlug: Certification.JsAlgoDataStructNew + }, + { + id: '657bdcc3a322aae1eac38392', + title: 'Build a Cash Register', + link: getJavaScriptAlgoPath('build-a-cash-register'), + certSlug: Certification.JsAlgoDataStructNew + }, + { + id: '6555c1d3e11a1574434cf8b5', + title: 'Build an RPG Creature Search App', + link: getJavaScriptAlgoPath('build-an-rpg-creature-search-app'), + certSlug: Certification.JsAlgoDataStructNew + } + ] + }, + { + id: '561acd10cb82ac38a17513bc', + title: 'Front-End Development Libraries', + certSlug: Certification.FrontEndDevLibs, + projects: [ + { + id: 'bd7158d8c442eddfaeb5bd13', + title: 'Build a Random Quote Machine', + link: `${feLibsBase}/build-a-random-quote-machine`, + certSlug: Certification.FrontEndDevLibs + }, + { + id: 'bd7157d8c242eddfaeb5bd13', + title: 'Build a Markdown Previewer', + link: `${feLibsBase}/build-a-markdown-previewer`, + certSlug: Certification.FrontEndDevLibs + }, + { + id: '587d7dbc367417b2b2512bae', + title: 'Build a Drum Machine', + link: `${feLibsBase}/build-a-drum-machine`, + certSlug: Certification.FrontEndDevLibs + }, + { + id: 'bd7158d8c442eddfaeb5bd17', + title: 'Build a JavaScript Calculator', + link: `${feLibsBase}/build-a-javascript-calculator`, + certSlug: Certification.FrontEndDevLibs + }, + { + id: 'bd7158d8c442eddfaeb5bd0f', + title: 'Build a 25 + 5 Clock', + link: `${feLibsBase}/build-a-25--5-clock`, + certSlug: Certification.FrontEndDevLibs + } + ] + }, + { + id: '5a553ca864b52e1d8bceea14', + title: 'Data Visualization', + certSlug: Certification.DataVis, + projects: [ + { + id: 'bd7168d8c242eddfaeb5bd13', + title: 'Visualize Data with a Bar Chart', + link: `${dataVisBase}/visualize-data-with-a-bar-chart`, + certSlug: Certification.DataVis + }, + { + id: 'bd7178d8c242eddfaeb5bd13', + title: 'Visualize Data with a Scatterplot Graph', + link: `${dataVisBase}/visualize-data-with-a-scatterplot-graph`, + certSlug: Certification.DataVis + }, + { + id: 'bd7188d8c242eddfaeb5bd13', + title: 'Visualize Data with a Heat Map', + link: `${dataVisBase}/visualize-data-with-a-heat-map`, + certSlug: Certification.DataVis + }, + { + id: '587d7fa6367417b2b2512bbf', + title: 'Visualize Data with a Choropleth Map', + link: `${dataVisBase}/visualize-data-with-a-choropleth-map`, + certSlug: Certification.DataVis + }, + { + id: '587d7fa6367417b2b2512bc0', + title: 'Visualize Data with a Treemap Diagram', + link: `${dataVisBase}/visualize-data-with-a-treemap-diagram`, + certSlug: Certification.DataVis + } + ] + }, + { + id: '606243f50267e718b1e755f4', + title: 'Relational Database', + certSlug: Certification.RelationalDb, + projects: [ + { + id: '5f1a4ef5d5d6b5ab580fc6ae', + title: 'Celestial Bodies Database', + link: `${relationalDatabaseBase}/build-a-celestial-bodies-database-project/build-a-celestial-bodies-database`, + certSlug: Certification.RelationalDb + }, + { + id: '5f9771307d4d22b9d2b75a94', + title: 'World Cup Database', + link: `${relationalDatabaseBase}/build-a-world-cup-database-project/build-a-world-cup-database`, + certSlug: Certification.RelationalDb + }, + { + id: '5f87ac112ae598023a42df1a', + title: 'Salon Appointment Scheduler', + link: `${relationalDatabaseBase}/build-a-salon-appointment-scheduler-project/build-a-salon-appointment-scheduler`, + certSlug: Certification.RelationalDb + }, + { + id: '602d9ff222201c65d2a019f2', + title: 'Periodic Table Database', + link: `${relationalDatabaseBase}/build-a-periodic-table-database-project/build-a-periodic-table-database`, + certSlug: Certification.RelationalDb + }, + { + id: '602da04c22201c65d2a019f4', + title: 'Number Guessing Game', + link: `${relationalDatabaseBase}/build-a-number-guessing-game-project/build-a-number-guessing-game`, + certSlug: Certification.RelationalDb + } + ] + }, + { + id: '561add10cb82ac38a17523bc', + title: 'Back-End Development and APIs', + certSlug: Certification.BackEndDevApis, + projects: [ + { + id: 'bd7158d8c443edefaeb5bdef', + title: 'Timestamp Microservice', + link: `${apiMicroBase}/timestamp-microservice`, + certSlug: Certification.BackEndDevApis + }, + { + id: 'bd7158d8c443edefaeb5bdff', + title: 'Request Header Parser Microservice', + link: `${apiMicroBase}/request-header-parser-microservice`, + certSlug: Certification.BackEndDevApis + }, + { + id: 'bd7158d8c443edefaeb5bd0e', + title: 'URL Shortener Microservice', + link: `${apiMicroBase}/url-shortener-microservice`, + certSlug: Certification.BackEndDevApis + }, + { + id: '5a8b073d06fa14fcfde687aa', + title: 'Exercise Tracker', + link: `${apiMicroBase}/exercise-tracker`, + certSlug: Certification.BackEndDevApis + }, + { + id: 'bd7158d8c443edefaeb5bd0f', + title: 'File Metadata Microservice', + link: `${apiMicroBase}/file-metadata-microservice`, + certSlug: Certification.BackEndDevApis + } + ] + }, + { + id: '5e611829481575a52dc59c0e', + title: 'Quality Assurance', + certSlug: Certification.QualityAssurance, + projects: [ + { + id: '587d8249367417b2b2512c41', + title: 'Metric-Imperial Converter', + link: `${qaBase}/metric-imperial-converter`, + certSlug: Certification.QualityAssurance + }, + { + id: '587d8249367417b2b2512c42', + title: 'Issue Tracker', + link: `${qaBase}/issue-tracker`, + certSlug: Certification.QualityAssurance + }, + { + id: '587d824a367417b2b2512c43', + title: 'Personal Library', + link: `${qaBase}/personal-library`, + certSlug: Certification.QualityAssurance + }, + { + id: '5e601bf95ac9d0ecd8b94afd', + title: 'Sudoku Solver', + link: `${qaBase}/sudoku-solver`, + certSlug: Certification.QualityAssurance + }, + { + id: '5e601c0d5ac9d0ecd8b94afe', + title: 'American British Translator', + link: `${qaBase}/american-british-translator`, + certSlug: Certification.QualityAssurance + } + ] + }, + { + id: '5e44431b903586ffb414c951', + title: 'Scientific Computing with Python', + certSlug: Certification.SciCompPy, + projects: [ + { + id: '5e44412c903586ffb414c94c', + title: 'Arithmetic Formatter', + link: `${sciCompPyBase}/build-an-arithmetic-formatter-project/build-an-arithmetic-formatter-project`, + certSlug: Certification.SciCompPy + }, + { + id: '5e444136903586ffb414c94d', + title: 'Time Calculator', + link: `${sciCompPyBase}/build-a-time-calculator-project/build-a-time-calculator-project`, + certSlug: Certification.SciCompPy + }, + { + id: '5e44413e903586ffb414c94e', + title: 'Budget App', + link: `${sciCompPyBase}/build-a-budget-app-project/build-a-budget-app-project`, + certSlug: Certification.SciCompPy + }, + { + id: '5e444147903586ffb414c94f', + title: 'Polygon Area Calculator', + link: `${sciCompPyBase}/build-a-polygon-area-calculator-project/build-a-polygon-area-calculator-project`, + certSlug: Certification.SciCompPy + }, + { + id: '5e44414f903586ffb414c950', + title: 'Probability Calculator', + link: `${sciCompPyBase}/build-a-probability-calculator-project/build-a-probability-calculator-project`, + certSlug: Certification.SciCompPy + } + ] + }, + { + id: '5e46fc95ac417301a38fb934', + title: 'Data Analysis with Python', + certSlug: Certification.DataAnalysisPy, + projects: [ + { + id: '5e46f7e5ac417301a38fb928', + title: 'Mean-Variance-Standard Deviation Calculator', + link: `${dataAnalysisPyBase}/mean-variance-standard-deviation-calculator`, + certSlug: Certification.DataAnalysisPy + }, + { + id: '5e46f7e5ac417301a38fb929', + title: 'Demographic Data Analyzer', + link: `${dataAnalysisPyBase}/demographic-data-analyzer`, + certSlug: Certification.DataAnalysisPy + }, + { + id: '5e46f7f8ac417301a38fb92a', + title: 'Medical Data Visualizer', + link: `${dataAnalysisPyBase}/medical-data-visualizer`, + certSlug: Certification.DataAnalysisPy + }, + { + id: '5e46f802ac417301a38fb92b', + title: 'Page View Time Series Visualizer', + link: `${dataAnalysisPyBase}/page-view-time-series-visualizer`, + certSlug: Certification.DataAnalysisPy + }, + { + id: '5e4f5c4b570f7e3a4949899f', + title: 'Sea Level Predictor', + link: `${dataAnalysisPyBase}/sea-level-predictor`, + certSlug: Certification.DataAnalysisPy + } + ] + }, + + { + id: '5e6021435ac9d0ecd8b94b00', + title: 'Information Security', + certSlug: Certification.InfoSec, + projects: [ + { + id: '587d824a367417b2b2512c44', + title: 'Stock Price Checker', + link: `${infoSecBase}/stock-price-checker`, + certSlug: Certification.InfoSec + }, + { + id: '587d824a367417b2b2512c45', + title: 'Anonymous Message Board', + link: `${infoSecBase}/anonymous-message-board`, + certSlug: Certification.InfoSec + }, + { + id: '5e46f979ac417301a38fb932', + title: 'Port Scanner', + link: `${infoSecBase}/port-scanner`, + certSlug: Certification.InfoSec + }, + { + id: '5e46f983ac417301a38fb933', + title: 'SHA-1 Password Cracker', + link: `${infoSecBase}/sha-1-password-cracker`, + certSlug: Certification.InfoSec + }, + { + id: '5e601c775ac9d0ecd8b94aff', + title: 'Secure Real Time Multiplayer Game', + link: `${infoSecBase}/secure-real-time-multiplayer-game`, + certSlug: Certification.InfoSec + } + ] + }, + { + id: '5e46fc95ac417301a38fb935', + title: 'Machine Learning with Python', + certSlug: Certification.MachineLearningPy, + projects: [ + { + id: '5e46f8d6ac417301a38fb92d', + title: 'Rock Paper Scissors', + link: `${machineLearningPyBase}/rock-paper-scissors`, + certSlug: Certification.MachineLearningPy + }, + { + id: '5e46f8dcac417301a38fb92e', + title: 'Cat and Dog Image Classifier', + link: `${machineLearningPyBase}/cat-and-dog-image-classifier`, + certSlug: Certification.MachineLearningPy + }, + { + id: '5e46f8e3ac417301a38fb92f', + title: 'Book Recommendation Engine using KNN', + link: `${machineLearningPyBase}/book-recommendation-engine-using-knn`, + certSlug: Certification.MachineLearningPy + }, + { + id: '5e46f8edac417301a38fb930', + title: 'Linear Regression Health Costs Calculator', + link: `${machineLearningPyBase}/linear-regression-health-costs-calculator`, + certSlug: Certification.MachineLearningPy + }, + { + id: '5e46f8edac417301a38fb931', + title: 'Neural Network SMS Text Classifier', + link: `${machineLearningPyBase}/neural-network-sms-text-classifier`, + certSlug: Certification.MachineLearningPy + } + ] + }, + { + id: '61531b20cc9dfa2741a5b800', + title: 'College Algebra with Python', + certSlug: Certification.CollegeAlgebraPy, + projects: [ + { + id: '63d83ff239c73468b059cd3f', + title: 'Build a Multi-Function Calculator', + link: getCollegeAlgebraPyPath('build-a-multi-function-calculator'), + certSlug: Certification.CollegeAlgebraPy + }, + { + id: '63d83ffd39c73468b059cd40', + title: 'Build a Graphing Calculator', + link: getCollegeAlgebraPyPath('build-a-graphing-calculator'), + certSlug: Certification.CollegeAlgebraPy + }, + { + id: '63d8401039c73468b059cd41', + title: 'Build Three Math Games', + link: getCollegeAlgebraPyPath('build-three-math-games'), + certSlug: Certification.CollegeAlgebraPy + }, + { + id: '63d8401e39c73468b059cd42', + title: 'Build a Financial Calculator', + link: getCollegeAlgebraPyPath('build-a-financial-calculator'), + certSlug: Certification.CollegeAlgebraPy + }, + { + id: '63d8402e39c73468b059cd43', + title: 'Build a Data Graph Explorer', + link: getCollegeAlgebraPyPath('build-a-data-graph-explorer'), + certSlug: Certification.CollegeAlgebraPy + } + ] + }, + // Legacy certifications + { + id: '561add10cb82ac38a17513be', + title: 'Legacy Front-End', + certSlug: Certification.LegacyFrontEnd, + projects: [ + { + id: 'bd7158d8c242eddfaeb5bd13', + title: 'Build a Personal Portfolio Webpage', + link: `${legacyFrontEndResponsiveBase}/build-a-personal-portfolio-webpage`, + certSlug: Certification.LegacyFrontEnd + }, + { + id: 'bd7158d8c442eddfaeb5bd13', + title: 'Build a Random Quote Machine', + link: `${legacyFrontEndBase}/build-a-random-quote-machine`, + certSlug: Certification.LegacyFrontEnd + }, + { + id: 'bd7158d8c442eddfaeb5bd0f', + title: 'Build a 25 + 5 Clock', + link: `${legacyFrontEndBase}/build-a-25--5-clock`, + certSlug: Certification.LegacyFrontEnd + }, + { + id: 'bd7158d8c442eddfaeb5bd17', + title: 'Build a JavaScript Calculator', + link: `${legacyFrontEndBase}/build-a-javascript-calculator`, + certSlug: Certification.LegacyFrontEnd + }, + { + id: 'bd7158d8c442eddfaeb5bd10', + title: 'Show the Local Weather', + link: `${legacyFrontEndTakeHomeBase}/show-the-local-weather`, + certSlug: Certification.LegacyFrontEnd + }, + { + id: 'bd7158d8c442eddfaeb5bd1f', + title: 'Use the TwitchTV JSON API', + link: `${legacyFrontEndTakeHomeBase}/use-the-twitch-json-api`, + certSlug: Certification.LegacyFrontEnd + }, + { + id: 'bd7158d8c442eddfaeb5bd18', + title: 'Build a Tribute Page', + link: `${legacyFrontEndResponsiveBase}/build-a-tribute-page`, + certSlug: Certification.LegacyFrontEnd + }, + { + id: 'bd7158d8c442eddfaeb5bd19', + title: 'Build a Wikipedia Viewer', + link: `${legacyFrontEndTakeHomeBase}/build-a-wikipedia-viewer`, + certSlug: Certification.LegacyFrontEnd + }, + { + id: 'bd7158d8c442eedfaeb5bd1c', + title: 'Build a Tic Tac Toe Game', + link: `${legacyFrontEndTakeHomeBase}/build-a-tic-tac-toe-game`, + certSlug: Certification.LegacyFrontEnd + }, + { + id: 'bd7158d8c442eddfaeb5bd1c', + title: 'Build a Memory Light Game', + link: `${legacyFrontEndTakeHomeBase}/build-a-memory-light-game`, + certSlug: Certification.LegacyFrontEnd + } + ] + }, + { + id: '561abd10cb81ac38a17513bc', + title: 'Legacy JavaScript Algorithms and Data Structures', + certSlug: Certification.JsAlgoDataStruct, + projects: [ + { + id: 'aaa48de84e1ecc7c742e1124', + title: 'Palindrome Checker', + link: `${jsAlgoBase}/palindrome-checker`, + certSlug: Certification.JsAlgoDataStruct + }, + { + id: 'a7f4d8f2483413a6ce226cac', + title: 'Roman Numeral Converter', + link: `${jsAlgoBase}/roman-numeral-converter`, + certSlug: Certification.JsAlgoDataStruct + }, + { + id: '56533eb9ac21ba0edf2244e2', + title: 'Caesars Cipher', + link: `${jsAlgoBase}/caesars-cipher`, + certSlug: Certification.JsAlgoDataStruct + }, + { + id: 'aff0395860f5d3034dc0bfc9', + title: 'Telephone Number Validator', + link: `${jsAlgoBase}/telephone-number-validator`, + certSlug: Certification.JsAlgoDataStruct + }, + { + id: 'aa2e6f85cab2ab736c9a9b24', + title: 'Cash Register', + link: `${jsAlgoBase}/cash-register`, + certSlug: Certification.JsAlgoDataStruct + } + ] + }, + { + id: '660add10cb82ac38a17513be', + title: 'Legacy Back-End', + certSlug: Certification.LegacyBackEnd, + projects: [ + { + id: 'bd7158d8c443edefaeb5bdef', + title: 'Timestamp Microservice', + link: `${legacyBackEndBase}/timestamp-microservice`, + certSlug: Certification.LegacyBackEnd + }, + { + id: 'bd7158d8c443edefaeb5bdff', + title: 'Request Header Parser Microservice', + link: `${legacyBackEndBase}/request-header-parser-microservice`, + certSlug: Certification.LegacyBackEnd + }, + { + id: 'bd7158d8c443edefaeb5bd0e', + title: 'URL Shortener Microservice', + link: `${legacyBackEndBase}/url-shortener-microservice`, + certSlug: Certification.LegacyBackEnd + }, + { + id: 'bd7158d8c443edefaeb5bdee', + title: 'Image Search Abstraction Layer', + link: `${legacyBackEndTakeHomeBase}/build-an-image-search-abstraction-layer`, + certSlug: Certification.LegacyBackEnd + }, + { + id: 'bd7158d8c443edefaeb5bd0f', + title: 'File Metadata Microservice', + link: `${legacyBackEndBase}/file-metadata-microservice`, + certSlug: Certification.LegacyBackEnd + }, + { + id: 'bd7158d8c443eddfaeb5bdef', + title: 'Build a Voting App', + link: `${legacyBackEndTakeHomeBase}/build-a-voting-app`, + certSlug: Certification.LegacyBackEnd + }, + { + id: 'bd7158d8c443eddfaeb5bdff', + title: 'Build a Nightlife Coordination App', + link: `${legacyBackEndTakeHomeBase}/build-a-nightlife-coordination-app`, + certSlug: Certification.LegacyBackEnd + }, + { + id: 'bd7158d8c443eddfaeb5bd0e', + title: 'Chart the Stock Market', + link: `${legacyBackEndTakeHomeBase}/chart-the-stock-market`, + certSlug: Certification.LegacyBackEnd + }, + { + id: 'bd7158d8c443eddfaeb5bd0f', + title: 'Manage a Book Trading Club', + link: `${legacyBackEndTakeHomeBase}/manage-a-book-trading-club`, + certSlug: Certification.LegacyBackEnd + }, + { + id: 'bd7158d8c443eddfaeb5bdee', + title: 'Build a Pinterest Clone', + link: `${legacyBackEndTakeHomeBase}/build-a-pinterest-clone`, + certSlug: Certification.LegacyBackEnd + } + ] + }, + + { + id: '561add10cb82ac39a17513bc', + title: 'Legacy Data Visualization', + certSlug: Certification.LegacyDataVis, + projects: [ + { + id: 'bd7157d8c242eddfaeb5bd13', + title: 'Build a Markdown Previewer', + link: `${legacyDataVisFrontEndBase}/build-a-markdown-previewer`, + certSlug: Certification.LegacyDataVis + }, + { + id: 'bd7156d8c242eddfaeb5bd13', + title: 'Build a freeCodeCamp Forum Homepage', + link: `${legacyDataVisTakeHomeBase}/build-a-freecodecamp-forum-homepage`, + certSlug: Certification.LegacyDataVis + }, + { + id: 'bd7155d8c242eddfaeb5bd13', + title: 'Build a Recipe Box', + link: `${legacyDataVisTakeHomeBase}/build-a-recipe-box`, + certSlug: Certification.LegacyDataVis + }, + { + id: 'bd7154d8c242eddfaeb5bd13', + title: 'Build the Game of Life', + link: `${legacyDataVisTakeHomeBase}/build-the-game-of-life`, + certSlug: Certification.LegacyDataVis + }, + { + id: 'bd7153d8c242eddfaeb5bd13', + title: 'Build a Roguelike Dungeon Crawler Game', + link: `${legacyDataVisTakeHomeBase}/build-a-roguelike-dungeon-crawler-game`, + certSlug: Certification.LegacyDataVis + }, + { + id: 'bd7168d8c242eddfaeb5bd13', + title: 'Visualize Data with a Bar Chart', + link: `${legacyDataVisBase}/visualize-data-with-a-bar-chart`, + certSlug: Certification.LegacyDataVis + }, + { + id: 'bd7178d8c242eddfaeb5bd13', + title: 'Visualize Data with a Scatterplot Graph', + link: `${legacyDataVisBase}/visualize-data-with-a-scatterplot-graph`, + certSlug: Certification.LegacyDataVis + }, + { + id: 'bd7188d8c242eddfaeb5bd13', + title: 'Visualize Data with a Heat Map', + link: `${legacyDataVisBase}/visualize-data-with-a-heat-map`, + certSlug: Certification.LegacyDataVis + }, + { + id: 'bd7198d8c242eddfaeb5bd13', + title: 'Show National Contiguity with a Force Directed Graph', + link: `${legacyDataVisTakeHomeBase}/show-national-contiguity-with-a-force-directed-graph`, + certSlug: Certification.LegacyDataVis + }, + { + id: 'bd7108d8c242eddfaeb5bd13', + title: 'Map Data Across the Globe', + link: `${legacyDataVisTakeHomeBase}/map-data-across-the-globe`, + certSlug: Certification.LegacyDataVis + } + ] + }, + { + id: '561add10cb82ac38a17213bc', + title: 'Legacy Information Security and Quality Assurance', + // Keep this as information-security-and-quality-assurance + certSlug: Certification.LegacyInfoSecQa, + projects: [ + // Keep this as information-security-and-quality-assurance + { + id: '587d8249367417b2b2512c41', + title: 'Metric-Imperial Converter', + link: `${legacyInfosecQaQaBase}/metric-imperial-converter`, + certSlug: Certification.LegacyInfoSecQa + }, + { + id: '587d8249367417b2b2512c42', + title: 'Issue Tracker', + link: `${legacyInfosecQaQaBase}/issue-tracker`, + certSlug: Certification.LegacyInfoSecQa + }, + { + id: '587d824a367417b2b2512c43', + title: 'Personal Library', + link: `${legacyInfosecQaQaBase}/personal-library`, + certSlug: Certification.LegacyInfoSecQa + }, + { + id: '587d824a367417b2b2512c44', + title: 'Stock Price Checker', + link: `${legacyInfosecQaInfosecBase}/stock-price-checker`, + certSlug: Certification.LegacyInfoSecQa + }, + { + id: '587d824a367417b2b2512c45', + title: 'Anonymous Message Board', + link: `${legacyInfosecQaInfosecBase}/anonymous-message-board`, + certSlug: Certification.LegacyInfoSecQa + } + ] + }, + { + id: '647f7da207d29547b3bee1ba', + title: 'Foundational C# with Microsoft', + certSlug: Certification.FoundationalCSharp, + projects: [ + { + id: '647e22d18acb466c97ccbef8', + title: 'Foundational C# with Microsoft Certification Exam', + link: `${foundationalCSharpBase}/foundational-c-sharp-with-microsoft-certification-exam`, + certSlug: Certification.FoundationalCSharp + } + ] + }, + // Upcoming Certifications + { + id: '68db314d3c11a8bff07c7535', + title: 'Responsive Web Design', + certSlug: Certification.RespWebDesignV9, + projects: [ + { + id: '68db37350b398ecddd1f5dac', + title: 'Responsive Web Design Certification Exam', + link: `${respWebV9Base}/exam-responsive-web-design-certification/exam-responsive-web-design-certification`, + certSlug: Certification.RespWebDesignV9 + } + ] + }, + { + id: '68c4069c1ef859270e17c495', + title: 'JavaScript', + certSlug: Certification.JsV9, + projects: [ + { + id: '68c462d7dc707f3ca82f8e6d', + title: 'JavaScript Certification Exam', + link: `${jsV9Base}/exam-javascript-certification/exam-javascript-certification`, + certSlug: Certification.JsV9 + } + ] + }, + { + id: '68e008aa5f80c6099d47b3a2', + title: 'Front-End Development Libraries', + certSlug: Certification.FrontEndDevLibsV9, + projects: [ + { + id: '68e00b355f80c6099d47b3a3', + title: 'Front-End Development Libraries Certification Exam', + link: `${frontEndDevLibsV9Base}/exam-front-end-development-libraries-certification/exam-front-end-development-libraries-certification`, + certSlug: Certification.FrontEndDevLibsV9 + } + ] + }, + { + id: '68e6bd5020effa1586e79855', + title: 'Python', + certSlug: Certification.PythonV9, + projects: [ + { + id: '68e6bf0320effa1586e79858', + title: 'Python Certification Exam', + link: `${pythonV9Base}/exam-python-certification/exam-python-certification`, + certSlug: Certification.PythonV9 + } + ] + }, + { + id: '68e6bd5120effa1586e79856', + title: 'Relational Databases', + certSlug: Certification.RelationalDbV9, + projects: [ + { + id: '68e6bf3f20effa1586e79859', + title: 'Relational Databases Certification Exam', + link: `${relationalDbV9Base}/exam-relational-databases-certification/exam-relational-databases-certification`, + certSlug: Certification.RelationalDbV9 + } + ] + }, + { + id: '68e6bd5120effa1586e79857', + title: 'Back-End Development and APIs', + certSlug: Certification.BackEndDevApisV9, + projects: [ + { + id: '68e6bfa120effa1586e7985a', + title: 'Back-End Development and APIs Certification Exam', + link: `${backEndDevApisV9Base}/exam-back-end-development-and-apis-certification/exam-back-end-development-and-apis-certification`, + certSlug: Certification.BackEndDevApisV9 + } + ] + }, + { + id: '64514fda6c245de4d11eb7bb', + title: 'Certified Full-Stack Developer', + certSlug: Certification.FullStackDeveloperV9, + projects: [ + { + id: '645147516c245de4d11eb7ba', + title: 'Certified Full-Stack Developer Exam', + link: `${fullStackDeveloperV9Base}/exam-certified-full-stack-developer/exam-certified-full-stack-developer`, + certSlug: Certification.FullStackDeveloperV9 + } + ] + }, + { + id: '651dd7e01d697d0aab7833b7', + title: 'A2 English for Developers', + certSlug: Certification.A2English, + projects: [ + { + id: '6721db5d9f0c116e6a0fe25a', + title: 'A2 English for Developers Certification Exam', + link: `${a2EnglishBase}/en-a2-certification-exam/en-a2-certification-exam`, + certSlug: Certification.A2English + } + ] + }, + { + id: '66607e53317411dd5e8aae21', + title: 'B1 English for Developers', + certSlug: Certification.B1English, + projects: [ + { + id: '694106b87224ea1c1a9d3201', + title: 'B1 English for Developers Certification Exam', + link: `${b1EnglishBase}/en-b1-certification-exam/en-b1-certification-exam`, + certSlug: Certification.B1English + } + ] + }, + { + id: '681a6b22e5a782fe3459984a', + title: 'A2 Professional Spanish', + certSlug: Certification.A2Spanish, + projects: [ + { + id: '681a8796e5a782fe3459984b', + title: 'Dialogue 1: PLACEHOLDER', + link: `${a2SpanishBase}/talk-about-who-you-are-by-using-key-verbs +/text-1`, + certSlug: Certification.A2Spanish + } + ] + }, + { + id: '682c3153086dd7cabe7f48bc', + title: 'A2 Professional Chinese', + certSlug: Certification.A2Chinese, + projects: [ + { + id: '682c2753317b88f1ecdad894', + title: 'Dialogue 1: PLACEHOLDER', + link: `${a2ChineseBase}/talk-about-what-you-do-by-using-key-verbs +/text-1`, + certSlug: Certification.A2Chinese + } + ] + }, + { + id: '68f1268149f045a650d4229e', + title: 'A1 Professional Chinese', + certSlug: Certification.A1Chinese, + projects: [ + { + id: '688f1daf0133dbe2a36b140b', + title: 'Dialogue 1: PLACEHOLDER', + link: `${a1ChineseBase}/learn-essential-courtesies-at-the-office +/text-1`, + certSlug: Certification.A1Chinese + } + ] + } +] as const; + +function getResponsiveWebDesignPath(project: string) { + return `${responsiveWeb22Base}/${project}-project/${project}`; +} + +function getCollegeAlgebraPyPath(project: string) { + return `${collegeAlgebraPyBase}/${project}-project/${project}`; +} + +function getJavaScriptAlgoPath(project: string) { + return `${jsAlgo22Base}/${project}-project/${project}`; +} + +type FilteredCert = T extends { certSlug: U } ? T : never; + +type CurrentCert = FilteredCert< + (typeof allStandardCerts)[number], + (typeof currentCertifications)[number] +>; + +type LegacyCert = FilteredCert< + (typeof allStandardCerts)[number], + (typeof legacyCertifications)[number] +>; + +type UpcomingCert = FilteredCert< + (typeof allStandardCerts)[number], + (typeof upcomingCertifications)[number] +>; + +const currentCerts = allStandardCerts.filter((cert): cert is CurrentCert => + currentCertifications.includes(cert.certSlug) +); +const legacyCerts = allStandardCerts.filter((cert): cert is LegacyCert => + legacyCertifications.includes(cert.certSlug) +); +const upcomingCerts = allStandardCerts.filter((cert): cert is UpcomingCert => + upcomingCertifications.includes(cert.certSlug) +); +const liveCerts = showUpcomingChanges + ? [...currentCerts, ...legacyCerts, fullstackCert, ...upcomingCerts] + : [...currentCerts, ...legacyCerts, fullstackCert]; +const allCerts = [ + ...currentCerts, + ...legacyCerts, + fullstackCert, + ...upcomingCerts +]; + +type CertsToProjects = Record< + (typeof allStandardCerts)[number]['certSlug'], + (typeof allStandardCerts)[number]['projects'] +>; + +const certsToProjects = allStandardCerts.reduce((acc, curr) => { + return { + ...acc, + [curr.certSlug]: curr.projects + }; +}, {} as CertsToProjects); + +export { liveCerts, certsToProjects, allCerts }; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/config/growthbook-features-default.json b/github_code/freeCodeCamp__freeCodeCamp/client/config/growthbook-features-default.json new file mode 100644 index 0000000000000000000000000000000000000000..3a4001d1e28f32a5a7c703ae269278d3996264b8 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/config/growthbook-features-default.json @@ -0,0 +1,151 @@ +{ + "aa-test": { + "defaultValue": false + }, + "aa-test-in-component": { + "defaultValue": false + }, + "rdb-codespaces-instructions": { + "defaultValue": true + }, + "rdb-local-instructions": { + "defaultValue": true + }, + "landing-top-skill-focused": { + "defaultValue": false, + "rules": [ + { + "coverage": 1, + "hashAttribute": "id", + "seed": "landing-top-skill-focused", + "hashVersion": 2, + "variations": [ + false, + true + ], + "weights": [ + 0.5, + 0.5 + ], + "key": "landing-top-skill-focused", + "meta": [ + { + "key": "0", + "name": "Control" + }, + { + "key": "1", + "name": "Variation 1" + } + ], + "phase": "0", + "name": "tests the conversion rate of the new design comparing to the old one" + } + ] + }, + "replace-20-with-25": { + "defaultValue": false, + "rules": [ + { + "coverage": 1, + "hashAttribute": "id", + "seed": "replace-20-with-25", + "hashVersion": 2, + "variations": [ + false, + true + ], + "weights": [ + 0.5, + 0.5 + ], + "key": "replace-20-with-25", + "meta": [ + { + "key": "0", + "name": "Control" + }, + { + "key": "1", + "name": "Variation 1" + } + ], + "phase": "0", + "name": "stg replace 20 with 25" + } + ] + }, + "show-modal-randomly": { + "defaultValue": false, + "rules": [ + { + "coverage": 1, + "hashAttribute": "id", + "seed": "show-modal-randomly", + "hashVersion": 2, + "variations": [ + false, + true + ], + "weights": [ + 0.5, + 0.5 + ], + "key": "show-modal-randomly", + "meta": [ + { + "key": "0", + "name": "Control" + }, + { + "key": "1", + "name": "Variation 1" + } + ], + "phase": "0", + "name": "stg show modal randomly" + } + ] + }, + "landing-two-button-cta": { + "defaultValue": false, + "rules": [ + { + "coverage": 1, + "hashAttribute": "id", + "seed": "landing-two-button-cta", + "hashVersion": 2, + "variations": [ + false, + true + ], + "weights": [ + 0.5, + 0.5 + ], + "key": "landing-two-button-cta", + "meta": [ + { + "key": "0", + "name": "Control" + }, + { + "key": "1", + "name": "Variation 1" + } + ], + "phase": "0", + "name": "prod-landing-two-button-cta" + } + ] + }, + "classroom-mode": { + "defaultValue": false + }, + "disabled_blocks": { + "defaultValue": [] + }, + "show-socrates": { + "defaultValue": false + } +} diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/config/misc.ts b/github_code/freeCodeCamp__freeCodeCamp/client/config/misc.ts new file mode 100644 index 0000000000000000000000000000000000000000..228e312876909a8bd8d6fe0913dcaf031cb93122 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/config/misc.ts @@ -0,0 +1,4 @@ +export const MAX_MOBILE_WIDTH = 767; +export const EX_SMALL_VIEWPORT_HEIGHT = 300; +export const SEARCH_EXPOSED_WIDTH = 980; +export const GITHUB_LOCATION = 'https://github.com/freeCodeCamp'; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/eslint.config.mjs b/github_code/freeCodeCamp__freeCodeCamp/client/eslint.config.mjs new file mode 100644 index 0000000000000000000000000000000000000000..ac2bc845a8767da7338af04df9d0e468690b8f8a --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/eslint.config.mjs @@ -0,0 +1,78 @@ +import { + config, + configTypeChecked, + configReact, + configTestingLibrary, + jsFiles, + tsFiles +} from '@freecodecamp/eslint-config/base'; +import globals from 'globals'; + +import { defineConfig, globalIgnores } from 'eslint/config'; + +const baseLanguageOptions = { + globals: { + ...globals.browser, + ...globals.mocha, + ...globals.node, + Promise: true, + window: true, + $: true, + ga: true, + jQuery: true, + router: true, + globalThis: true + } +}; + +const baseConfig = { + settings: { + react: { + version: '16.4.2' + }, + + 'import/resolver': { + typescript: true, + node: true + } + }, + + rules: { + 'import/no-cycle': [ + 2, + { + maxDepth: 2 + } + ], + 'react/prop-types': 'off', + 'react/jsx-no-useless-fragment': 'error' + } +}; + +// Order matters here; later configs can override settings in earlier ones. +export default defineConfig( + globalIgnores(['static', '.cache', 'public']), + { + files: jsFiles, + extends: [configReact, configTestingLibrary, config], + ...baseConfig, + languageOptions: { + ...baseLanguageOptions, + + parserOptions: { + babelOptions: { + presets: ['@babel/preset-react'], + configFile: './.babelrc.js' + } + } + } + }, + { + files: tsFiles, + extends: [configReact, configTestingLibrary, configTypeChecked], + ...baseConfig, + languageOptions: { + ...baseLanguageOptions + } + } +); diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/gatsby-browser.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/gatsby-browser.tsx new file mode 100644 index 0000000000000000000000000000000000000000..2aa5006d0d394a5da1ecd1d3ceef335c43a91377 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/gatsby-browser.tsx @@ -0,0 +1,50 @@ +import type { GatsbyBrowser } from 'gatsby'; +import { LocationProvider } from '@gatsbyjs/reach-router'; +import cookies from 'browser-cookies'; +import React from 'react'; +import { I18nextProvider } from 'react-i18next'; +import { Provider } from 'react-redux'; +import { Elements } from '@stripe/react-stripe-js'; + +import i18n from './i18n/config'; +import { stripe } from './src/utils/stripe'; +import AppMountNotifier from './src/components/app-mount-notifier'; +import { createStore } from './src/redux/create-store'; +import layoutSelector from './utils/gatsby/layout-selector'; +import GrowthBookProvider from './src/components/growth-book/growth-book-wrapper'; + +const store = createStore(); + +export const wrapRootElement: GatsbyBrowser['wrapRootElement'] = ({ + element +}) => { + return ( + + + + + + {element} + + + + + + ); +}; + +export const wrapPageElement: GatsbyBrowser['wrapPageElement'] = layoutSelector; + +export const disableCorePrefetching: GatsbyBrowser['disableCorePrefetching'] = + () => true; + +export const onRouteUpdate: GatsbyBrowser['onRouteUpdate'] = () => { + store.dispatch({ type: 'app.routeUpdated' }); +}; + +export const onClientEntry: GatsbyBrowser['onClientEntry'] = () => { + // Letting the users' browsers expire the cookie seems to have caused issues + // for some users. Until we have time to investigate further, we should remove + // the cookie on every page load. + cookies.erase('csrf_token'); +}; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/gatsby-config.ts b/github_code/freeCodeCamp__freeCodeCamp/client/gatsby-config.ts new file mode 100644 index 0000000000000000000000000000000000000000..f2e9faa734902048970a834a5de9f5b43161edeb --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/gatsby-config.ts @@ -0,0 +1,70 @@ +import path from 'path'; +import type { GatsbyConfig } from 'gatsby'; + +import envData from './config/env.json'; +import { + buildChallenges, + replaceChallengeNodes, + localeChallengesRootDir +} from './utils/build-challenges'; +import { pathPrefix } from './utils/gatsby/path-prefix'; + +const { homeLocation } = envData; + +const config: GatsbyConfig = { + flags: { + DEV_SSR: false + }, + trailingSlash: 'ignore', + siteMetadata: { + title: 'freeCodeCamp', + siteUrl: homeLocation + }, + pathPrefix: pathPrefix, + plugins: [ + 'gatsby-plugin-pnpm-gatsby-5', + { + resolve: 'gatsby-plugin-webpack-bundle-analyser-v2', + options: { + analyzerMode: 'disabled', + // It doesn't matter if the file is generated or not as far as caching + // is concerned. It doesn't affect any tasks in any way, so we can + // ignore it. + + // eslint-disable-next-line turbo/no-undeclared-env-vars + generateStatsFile: process.env.CI + } + }, + 'gatsby-plugin-react-helmet', + { + resolve: 'gatsby-plugin-postcss', + options: { + postcssOptions: { + config: path.resolve(__dirname, 'postcss.config.js') + } + } + }, + { + resolve: path.resolve( + __dirname, + '../tools/client-plugins/gatsby-source-challenges' + ), + options: { + name: 'challenges', + source: buildChallenges, + onSourceChange: replaceChallengeNodes(), + curriculumPath: localeChallengesRootDir + } + }, + 'gatsby-plugin-remove-serviceworker', + { + resolve: 'gatsby-plugin-schema-snapshot', + options: { + path: 'schema.gql', + update: process.env.GATSBY_UPDATE_SCHEMA_SNAPSHOT === 'true' + } + } + ] +}; + +export default config; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/gatsby-node.ts b/github_code/freeCodeCamp__freeCodeCamp/client/gatsby-node.ts new file mode 100644 index 0000000000000000000000000000000000000000..45ba9bf2f25e667112e79ada72a6c52c5d6c2767 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/gatsby-node.ts @@ -0,0 +1,137 @@ +/* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/no-require-imports, @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access */ + +const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin'); + +const env = require('./config/env.json'); +const { createSuperBlockIntroPages } = require('./utils/gatsby'); + +exports.createPages = async function createPages({ + actions, + graphql, + reporter +}: any) { + if (!env.algoliaAPIKey || !env.algoliaAppId) { + if (process.env.FREECODECAMP_NODE_ENV === 'production') { + throw new Error( + 'Algolia App id and API key are required to start the client!' + ); + } else { + reporter.info( + 'Algolia keys missing or invalid. Required for search to yield results.' + ); + } + } + + if (!env.stripePublicKey) { + if (process.env.FREECODECAMP_NODE_ENV === 'production') { + throw new Error('Stripe public key is required to start the client!'); + } else { + reporter.info( + 'Stripe public key is missing or invalid. Required for Stripe integration.' + ); + } + } + + const { createPage } = actions; + + const result = await graphql(` + { + allSuperBlockStructure { + nodes { + superBlock + } + } + } + `); + + if (result.errors) { + reporter.panic('createPages GraphQL query failed', result.errors); + } + + const { + data: { allSuperBlockStructure } + } = result; + + const superBlocks = allSuperBlockStructure.nodes.map( + (node: { superBlock: string }) => node.superBlock + ); + + superBlocks.forEach((superBlock: string) => { + createSuperBlockIntroPages(createPage)({ superBlock }); + }); +}; + +exports.onCreateWebpackConfig = ({ stage, actions, plugins }: any) => { + const newPlugins = [ + // We add the shims of the node globals to the global scope + plugins.provide({ + Buffer: ['buffer', 'Buffer'] + }), + plugins.provide({ + process: 'process/browser' + }) + ]; + + // The monaco editor relies on some browser only globals so should not be + // involved in SSR. Also, if the plugin is used during the 'build-html' or + // 'develop-html' stage it overwrites the minfied files with ordinary ones. + + if (stage !== 'build-html' && stage !== 'develop-html') { + newPlugins.push( + new MonacoWebpackPlugin({ + filename: '[name].worker-[contenthash].js' + }) + ); + } + + actions.setWebpackConfig({ + resolve: { + fallback: { + fs: false, + path: 'path-browserify', + assert: 'assert', + crypto: 'crypto-browserify', + util: 'util/util', + buffer: 'buffer', + stream: 'stream-browserify', + process: 'process/browser', + url: 'url' + } + }, + plugins: newPlugins, + ignoreWarnings: [ + (warning: Error) => { + if (warning instanceof Error) { + if (warning.message.includes('mini-css-extract-plugin')) { + return true; + } + } + return false; + } + ] + }); +}; + +exports.onCreateBabelConfig = ({ actions }: any) => { + actions.setBabelPlugin({ + name: '@babel/plugin-proposal-function-bind' + }); + + actions.setBabelPlugin({ + name: '@babel/plugin-proposal-export-default-from' + }); +}; + +exports.createSchemaCustomization = ({ actions }: any) => { + const { createTypes } = actions; + + // This hook is supported by the test runner, but is not currently used by the + // client, so we have to tell Gatsby that it exists. + const typeDefs = ` + type ChallengeNodeChallengeHooks { + afterEach: String + } + `; + + createTypes(typeDefs); +}; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/gatsby-ssr.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/gatsby-ssr.tsx new file mode 100644 index 0000000000000000000000000000000000000000..e95022e8f506a1b3573ee7a0bc9cddf7d76b6b6d --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/gatsby-ssr.tsx @@ -0,0 +1,66 @@ +import type { GatsbySSR } from 'gatsby'; +import React from 'react'; +import { I18nextProvider } from 'react-i18next'; +import { Provider } from 'react-redux'; +import { Elements } from '@stripe/react-stripe-js'; + +import i18n from './i18n/config'; +import { stripe } from './src/utils/stripe'; +import { createStore } from './src/redux/create-store'; +import layoutSelector from './utils/gatsby/layout-selector'; +import { webmanifestComponents } from './src/components/webmanifest'; +import { + getheadTagComponents, + getPostBodyComponents, + getPreBodyThemeScript +} from './utils/tags'; +import GrowthBookProvider from './src/components/growth-book/growth-book-wrapper'; + +const store = createStore(); + +export const wrapRootElement: GatsbySSR['wrapRootElement'] = ({ element }) => { + return ( + + + + {element} + + + + ); +}; + +export const wrapPageElement: GatsbySSR['wrapPageElement'] = layoutSelector; + +export const onRenderBody: GatsbySSR['onRenderBody'] = ({ + pathname, + setHeadComponents, + setPreBodyComponents, + setPostBodyComponents +}) => { + setHeadComponents([...getheadTagComponents(), ...webmanifestComponents]); + setPreBodyComponents(getPreBodyThemeScript()); + setPostBodyComponents(getPostBodyComponents(pathname)); +}; + +export const onPreRenderHTML: GatsbySSR['onPreRenderHTML'] = ({ + getHeadComponents, + replaceHeadComponents +}) => { + const isBootstrapScript = (key: React.Key | null) => + key === 'bootstrap-min-preload' || key === 'bootstrap-min'; + + const headComponents = getHeadComponents(); + headComponents.sort((x, y) => { + const xKey = React.isValidElement(x) ? x.key : null; + const yKey = React.isValidElement(y) ? y.key : null; + + if (isBootstrapScript(xKey)) { + return -1; + } else if (isBootstrapScript(yKey)) { + return 1; + } + return 0; + }); + replaceHeadComponents(headComponents); +}; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/i18n/config-for-tests.ts b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/config-for-tests.ts new file mode 100644 index 0000000000000000000000000000000000000000..65fab3e8410a16685e5a4df878462b2b1258a77e --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/config-for-tests.ts @@ -0,0 +1,22 @@ +import i18n from 'i18next'; +import { initReactI18next } from 'react-i18next'; + +i18n + .use(initReactI18next) + .init({ + debug: true, + defaultNS: 'translations', + fallbackLng: 'en', + interpolation: { + escapeValue: false + }, + lng: 'en', + ns: ['intro', 'translations'], + resources: { en: { intro: {}, translations: {} } }, + returnNull: false + }) + .catch((error: Error) => { + throw Error(error.message); + }); + +export default i18n; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/i18n/config.js b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/config.js new file mode 100644 index 0000000000000000000000000000000000000000..434c72c7daf52d78cd2dec0152f9f273097a47a6 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/config.js @@ -0,0 +1,91 @@ +/* global preval */ + +import i18n from 'i18next'; +import { initReactI18next } from 'react-i18next'; +import { i18nextCodes } from '@freecodecamp/shared/config/i18n'; + +import translations from './locales/english/translations.json'; +import trending from './locales/english/trending.json'; +import intro from './locales/english/intro.json'; +import metaTags from './locales/english/meta-tags.json'; +import links from './locales/english/links.json'; +import searchBar from './locales/english/search-bar.json'; + +import envData from '../config/env.json'; + +const { clientLocale } = envData; + +const i18nextCode = i18nextCodes[clientLocale]; + +// Non-english locale resources are loaded via preval so that webpack only +// bundles the single locale selected by CLIENT_LOCALE and the english fallback. +// For english the preval returns undefined, so webpack will not bundle the +// english resources twice. +i18n.use(initReactI18next).init({ + fallbackLng: 'en', + lng: i18nextCode, + resources: { + [i18nextCode]: { + translations: preval` + const { clientLocale } = require('../config/env.json'); + if (clientLocale !== 'english') { + module.exports = require('./locales/' + clientLocale + '/translations.json'); + } + `, + trending: preval` + const { clientLocale } = require('../config/env.json'); + if (clientLocale !== 'english') { + module.exports = require('./locales/' + clientLocale + '/trending.json'); + } + `, + intro: preval` + const { clientLocale } = require('../config/env.json'); + if (clientLocale !== 'english') { + module.exports = require('./locales/' + clientLocale + '/intro.json'); + } + `, + metaTags: preval` + const { clientLocale } = require('../config/env.json'); + if (clientLocale !== 'english') { + module.exports = require('./locales/' + clientLocale + '/meta-tags.json'); + } + `, + links: preval` + const { clientLocale } = require('../config/env.json'); + if (clientLocale !== 'english') { + module.exports = require('./locales/' + clientLocale + '/links.json'); + } + `, + 'search-bar': preval` + const { clientLocale } = require('../config/env.json'); + if (clientLocale !== 'english') { + module.exports = require('./locales/' + clientLocale + '/search-bar.json'); + } + ` + }, + en: { + translations, + trending, + intro, + metaTags, + links, + 'search-bar': searchBar + } + }, + ns: ['translations', 'trending', 'intro', 'metaTags', 'links', 'search-bar'], + defaultNS: 'translations', + returnObjects: true, + // Uncomment the next line for debug logging + // debug: true, + interpolation: { + escapeValue: false + }, + react: { + useSuspense: true + }, + returnNull: false +}); + +i18n.languages = clientLocale; + +export default i18n; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales.test.ts b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales.test.ts new file mode 100644 index 0000000000000000000000000000000000000000..756401d8df839abb69f9063cd53eb6b90dde5a6e --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales.test.ts @@ -0,0 +1,120 @@ +import { dirname } from 'path'; +import { fileURLToPath } from 'url'; + +import { describe, test, expect } from 'vitest'; + +import { + availableLangs, + LangNames, + LangCodes +} from '@freecodecamp/shared/config/i18n'; +import { + SuperBlocks, + superBlockStages, + SuperBlockStage +} from '@freecodecamp/shared/config/curriculum'; +import { getCurriculum } from '../tools/get-curriculum'; +import intro from './locales/english/intro.json'; + +interface Intro { + [key: string]: { + title: string; + summary?: string[]; + intro: string[]; + blocks: { + [block: string]: { + title: string; + intro: string[]; + }; + }; + }; +} + +const __filename = fileURLToPath(import.meta.url); +const __dirname = dirname(__filename); + +describe('Locale tests:', () => { + availableLangs.client.forEach(lang => { + describe(`-- ${lang} --`, () => { + test(`has an entry in the langDisplayNames enum`, () => { + expect( + Object.keys(LangNames) + .map(langCode => langCode.toLowerCase()) + .includes(lang) + ).toBe(true); + }); + + test(`has an entry in the langCodes enum`, () => { + expect( + Object.keys(LangCodes) + .map(langCode => langCode.toLowerCase()) + .includes(lang) + ).toBe(true); + }); + }); + }); +}); + +describe('Intro file structure tests:', () => { + const typedIntro = intro as unknown as Intro; + const superblocks = Object.values(SuperBlocks); + const catalogSuperBlocks = superBlockStages[SuperBlockStage.Catalog]; + for (const superBlock of superblocks) { + test(`superBlock ${superBlock} has required properties`, () => { + expect(typeof typedIntro[superBlock].title).toBe('string'); + + // catalog superblocks should have a summary + expect( + !catalogSuperBlocks.includes(superBlock) || + Array.isArray(typedIntro[superBlock].summary) + ).toBe(true); + + expect(typedIntro[superBlock].intro).toBeInstanceOf(Array); + expect(typedIntro[superBlock].blocks).toBeInstanceOf(Object); + const blocks = Object.keys(typedIntro[superBlock].blocks); + blocks.forEach(block => { + expect(typeof typedIntro[superBlock].blocks[block].title).toBe( + 'string' + ); + expect(typedIntro[superBlock].blocks[block].intro).toBeInstanceOf( + Array + ); + }); + }); + } +}); + +type SuperBlockInfo = { + blocks: Record; +}; + +describe('Curriculum validation', () => { + const curriculum = getCurriculum() as Record; + // certifications are not superblocks, they're just mixed in with them. + const superblocks = Object.entries(curriculum).filter( + ([key]) => key !== 'certifications' + ); + + // It's important that we check that each block in the curriculum has a title + // in the intro, rather than the other way around, because the intro must + // include upcoming changes. The curriculum only does if SHOW_UPCOMING_CHANGES + // is true. + superblocks.forEach(superblock => { + const [name, superBlockInfo] = superblock; + const blockObject = superBlockInfo.blocks; + describe(`${name}`, () => { + test('should have titles for each block in intro.json', () => { + const blocks = Object.keys(blockObject); + + blocks.forEach(block => { + const blockFromIntro = (intro as unknown as Intro)[superblock[0]] + .blocks[block]; + expect( + blockFromIntro.title, + `block ${block} needs a non-empty title` + ).toBeTruthy(); + }); + }); + }); + }); +}); diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/arabic/links.json b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/arabic/links.json new file mode 100644 index 0000000000000000000000000000000000000000..d6dc081770787d445e4822aeae4f8237bde1346c --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/arabic/links.json @@ -0,0 +1,43 @@ +{ + "help-translate-link-url": "https://contribute.freecodecamp.org/getting-started/#translations", + "top-contributors": "https://www.freecodecamp.org/news/freecodecamp-top-contributors/", + "footer": { + "about-url": "https://www.freecodecamp.org/news/about/", + "shop-url": "https://shop.freecodecamp.org/", + "support-url": "https://www.freecodecamp.org/news/support/", + "sponsors-url": "https://www.freecodecamp.org/news/sponsors/", + "honesty-url": "https://www.freecodecamp.org/news/academic-honesty-policy/", + "coc-url": "https://www.freecodecamp.org/news/code-of-conduct/", + "privacy-url": "https://www.freecodecamp.org/news/privacy-policy/", + "tos-url": "https://www.freecodecamp.org/news/terms-of-service/", + "copyright-url": "https://www.freecodecamp.org/news/copyright-policy/" + }, + "donate": { + "other-ways-url": "https://www.freecodecamp.org/news/how-to-donate-to-free-code-camp", + "download-irs-url": "https://cdn.freecodecamp.org/non-profit-docs/freeCodeCamp-determination-letter.pdf", + "download-990-url": "https://cdn.freecodecamp.org/non-profit-docs/freeCodeCamp-2019-f990.pdf", + "one-time-url": "https://paypal.me/freecodecamp", + "one-time-external-url": "https://www.freecodecamp.org/news/how-to-donate-to-free-code-camp/#how-can-i-make-a-one-time-donation", + "mail-check-url": "https://www.freecodecamp.org/news/how-to-donate-to-free-code-camp/#can-i-mail-a-physical-check" + }, + "nav": { + "contribute": "https://contribute.freecodecamp.org/#/", + "forum": "https://forum.freecodecamp.org/", + "news": "https://freecodecamp.org/news/", + "podcast": "https://freecodecamp.libsyn.com/" + }, + "help": { + "HTML-CSS": "programming/html-css", + "JavaScript": "programming/javascript", + "Python": "programming/python", + "Backend Development": "programming/backend-development", + "C-Sharp": "programming/c-sharp", + "English": "world-languages/english", + "Spanish Curriculum": "world-languages/spanish-curriculum", + "Chinese Curriculum": "world-languages/chinese-curriculum", + "Odin": "programming/the-odin-project", + "Euler": "programming/project-euler", + "Rosetta": "programming/rosetta-code", + "General": "General" + } +} diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/chinese-traditional/links.json b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/chinese-traditional/links.json new file mode 100644 index 0000000000000000000000000000000000000000..f92ff1d80aa45e9e626860da2cb5adf2e4c9fedd --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/chinese-traditional/links.json @@ -0,0 +1,41 @@ +{ + "help-translate-link-url": "https://contribute.freecodecamp.org/getting-started/#translations", + "top-contributors": "https://www.freecodecamp.org/news/freecodecamp-top-contributors/", + "footer": { + "about-url": "https://chinese.freecodecamp.org/news/about/", + "shop-url": "https://shop.freecodecamp.org/", + "support-url": "https://chinese.freecodecamp.org/news/support/", + "sponsors-url": "https://www.freecodecamp.org/news/sponsors/", + "honesty-url": "https://chinese.freecodecamp.org/news/academic-honesty-policy/", + "coc-url": "https://chinese.freecodecamp.org/news/code-of-conduct/", + "privacy-url": "https://www.freecodecamp.org/news/privacy-policy/", + "tos-url": "https://www.freecodecamp.org/news/terms-of-service/", + "copyright-url": "https://www.freecodecamp.org/news/copyright-policy/" + }, + "donate": { + "other-ways-url": "https://chinese.freecodecamp.org/news/how-to-donate-to-free-code-camp/", + "download-irs-url": "https://s3.amazonaws.com/freecodecamp/Free+Code+Camp+Inc+IRS+Determination+Letter.pdf", + "download-990-url": "https://freecodecamp.s3.amazonaws.com/freeCodeCamp+2019+f990.pdf", + "one-time-url": "https://paypal.me/freecodecamp" + }, + "nav": { + "contribute": "https://contribute.freecodecamp.org/#/i18n/chinese/index", + "forum": "https://forum.freecodecamp.org/", + "news": "https://chinese.freecodecamp.org/news/", + "podcast": "open.spotify.com/show/3dIVV6XRRPMs75z2xDtsOg?si=Ugm6rwlcTgiEJ1Udw9WzVQ" + }, + "help": { + "HTML-CSS": "curriculum-help", + "JavaScript": "curriculum-help", + "Python": "curriculum-help", + "Backend Development": "curriculum-help", + "C-Sharp": "curriculum-help", + "English": "curriculum-help", + "Spanish Curriculum": "curriculum-help", + "Chinese Curriculum": "curriculum-help", + "Odin": "curriculum-help", + "Euler": "curriculum-help", + "Rosetta": "curriculum-help", + "General": "curriculum-help" + } +} diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/chinese/links.json b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/chinese/links.json new file mode 100644 index 0000000000000000000000000000000000000000..f92ff1d80aa45e9e626860da2cb5adf2e4c9fedd --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/chinese/links.json @@ -0,0 +1,41 @@ +{ + "help-translate-link-url": "https://contribute.freecodecamp.org/getting-started/#translations", + "top-contributors": "https://www.freecodecamp.org/news/freecodecamp-top-contributors/", + "footer": { + "about-url": "https://chinese.freecodecamp.org/news/about/", + "shop-url": "https://shop.freecodecamp.org/", + "support-url": "https://chinese.freecodecamp.org/news/support/", + "sponsors-url": "https://www.freecodecamp.org/news/sponsors/", + "honesty-url": "https://chinese.freecodecamp.org/news/academic-honesty-policy/", + "coc-url": "https://chinese.freecodecamp.org/news/code-of-conduct/", + "privacy-url": "https://www.freecodecamp.org/news/privacy-policy/", + "tos-url": "https://www.freecodecamp.org/news/terms-of-service/", + "copyright-url": "https://www.freecodecamp.org/news/copyright-policy/" + }, + "donate": { + "other-ways-url": "https://chinese.freecodecamp.org/news/how-to-donate-to-free-code-camp/", + "download-irs-url": "https://s3.amazonaws.com/freecodecamp/Free+Code+Camp+Inc+IRS+Determination+Letter.pdf", + "download-990-url": "https://freecodecamp.s3.amazonaws.com/freeCodeCamp+2019+f990.pdf", + "one-time-url": "https://paypal.me/freecodecamp" + }, + "nav": { + "contribute": "https://contribute.freecodecamp.org/#/i18n/chinese/index", + "forum": "https://forum.freecodecamp.org/", + "news": "https://chinese.freecodecamp.org/news/", + "podcast": "open.spotify.com/show/3dIVV6XRRPMs75z2xDtsOg?si=Ugm6rwlcTgiEJ1Udw9WzVQ" + }, + "help": { + "HTML-CSS": "curriculum-help", + "JavaScript": "curriculum-help", + "Python": "curriculum-help", + "Backend Development": "curriculum-help", + "C-Sharp": "curriculum-help", + "English": "curriculum-help", + "Spanish Curriculum": "curriculum-help", + "Chinese Curriculum": "curriculum-help", + "Odin": "curriculum-help", + "Euler": "curriculum-help", + "Rosetta": "curriculum-help", + "General": "curriculum-help" + } +} diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/english/intro.json b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/english/intro.json new file mode 100644 index 0000000000000000000000000000000000000000..8928d7142d07f65b78ccee8f5d5925f706072584 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/english/intro.json @@ -0,0 +1,10405 @@ +{ + "responsive-web-design": { + "title": "Legacy Responsive Web Design Challenges", + "intro": [ + "In this Responsive Web Design Certification, you'll learn the languages that developers use to build webpages: HTML (Hypertext Markup Language) for content, and CSS (Cascading Style Sheets) for design.", + "First, you'll build a cat photo app to learn the basics of HTML and CSS. Later, you'll learn modern techniques like CSS variables by building a penguin, and best practices for accessibility by building a web form.", + "Finally, you'll learn how to make webpages that respond to different screen sizes by building a Twitter card with Flexbox, and a complex blog layout with CSS Grid." + ], + "note": "Note: Some browser extensions, such as ad-blockers and dark mode extensions can interfere with the tests. If you face issues, we recommend disabling extensions that modify the content or layout of pages, while taking the course.", + "blocks": { + "basic-html-and-html5": { + "title": "Basic HTML and HTML5", + "intro": [ + "HTML is a markup language that uses a special syntax or notation to describe the structure of a webpage to the browser. HTML elements usually have opening and closing tags that surround and give meaning to content. For example, different elements can describe text as a heading, paragraph, or list item.", + "In this course, you'll build a cat photo app to learn some of the most common HTML elements — the building blocks of any webpage." + ] + }, + "basic-css": { + "title": "Basic CSS", + "intro": [ + "CSS, or Cascading Style Sheets, tell the browser how to display the text and other content that you write in HTML. With CSS, you can control the color, font, size, spacing, and many other aspects of HTML elements.", + "Now that you've described the structure of your cat photo app, give it some style with CSS." + ] + }, + "applied-visual-design": { + "title": "Applied Visual Design", + "intro": [ + "Visual design is a combination of typography, color theory, graphics, animation, page layout, and more to help deliver your unique message.", + "In this course, you'll learn how to apply these different elements of visual design to your webpages." + ] + }, + "applied-accessibility": { + "title": "Applied Accessibility", + "intro": [ + "In web development, accessibility refers to web content and a UI (user interface) that can be understood, navigated, and interacted with by a broad audience. This includes people with visual, auditory, mobility, or cognitive disabilities.", + "In this course, you'll learn best practices for building webpages that are accessible to everyone." + ] + }, + "responsive-web-design-principles": { + "title": "Responsive Web Design Principles", + "intro": [ + "There are many devices that can access the web, and they come in all shapes and sizes. Responsive web design is the practice of designing flexible websites that can respond to different screen sizes, orientations, and resolutions.", + "In this course, you'll learn how to use CSS to make your webpages look good, no matter what device they're viewed on." + ] + }, + "css-flexbox": { + "title": "CSS Flexbox", + "intro": [ + "Flexbox is a powerful, well-supported layout method that was introduced with the latest version of CSS, CSS3. With flexbox, it's easy to center elements on the page and create dynamic user interfaces that shrink and expand automatically.", + "In this course, you'll learn the fundamentals of flexbox and dynamic layouts by building a Twitter card." + ] + }, + "css-grid": { + "title": "CSS Grid", + "intro": [ + "The CSS grid is a newer standard that makes it easy to build complex responsive layouts. It works by turning an HTML element into a grid, and lets you place child elements anywhere within.", + "In this course, you'll learn the fundamentals of CSS grid by building different complex layouts, including a blog." + ] + } + } + }, + "2022/responsive-web-design": { + "title": "Legacy Responsive Web Design V8", + "intro": [ + "In this Responsive Web Design Certification, you'll learn the languages that developers use to build webpages: HTML (Hypertext Markup Language) for content, and CSS (Cascading Style Sheets) for design.", + "First, you'll build a cat photo app to learn the basics of HTML and CSS. Later, you'll learn modern techniques like CSS variables by building a penguin, and best practices for accessibility by building a quiz site.", + "Finally, you'll learn how to make webpages that respond to different screen sizes by building a photo gallery with Flexbox, and a magazine article layout with CSS Grid." + ], + "note": "Note: Some browser extensions, such as ad-blockers and dark mode extensions can interfere with the tests. If you face issues, we recommend disabling extensions that modify the content or layout of pages, while taking the course.", + "blocks": { + "build-a-tribute-page-project": { + "title": "Tribute Page", + "intro": [ + "This is one of the required projects to earn your certification.", + "For this project, you will build a tribute page for a subject of your choosing, fictional or real." + ] + }, + "build-a-personal-portfolio-webpage-project": { + "title": "Personal Portfolio Webpage", + "intro": [ + "This is one of the required projects to earn your certification.", + "For this project, you will build your own personal portfolio page." + ] + }, + "build-a-product-landing-page-project": { + "title": "Product Landing Page", + "intro": [ + "This is one of the required projects to earn your certification.", + "For this project, you will build a product landing page to market a product of your choice." + ] + }, + "build-a-survey-form-project": { + "title": "Survey Form", + "intro": [ + "This is one of the required projects to earn your certification.", + "For this project, you will build a survey form to collect data from your users." + ] + }, + "build-a-technical-documentation-page-project": { + "title": "Technical Documentation Page", + "intro": [ + "This is one of the required projects to earn your certification.", + "For this project, you will build a technical documentation page to serve as instruction or reference for a topic." + ] + }, + "learn-html-by-building-a-cat-photo-app": { + "title": "Learn HTML by Building a Cat Photo App", + "intro": [ + "HTML tags give a webpage its structure. You can use HTML tags to add photos, buttons, and other elements to your webpage.", + "In this course, you'll learn the most common HTML tags by building your own cat photo app." + ] + }, + "learn-basic-css-by-building-a-cafe-menu": { + "title": "Learn Basic CSS by Building a Cafe Menu", + "intro": [ + "CSS tells the browser how to display your webpage. You can use CSS to set the color, font, size, and other aspects of HTML elements.", + "In this course, you'll learn CSS by designing a menu page for a cafe webpage." + ] + }, + "learn-the-css-box-model-by-building-a-rothko-painting": { + "title": "Learn the CSS Box Model by Building a Rothko Painting", + "intro": [ + "Every HTML element is its own box – with its own spacing and a border. This is called the Box Model.", + "In this course, you'll use CSS and the Box Model to create your own Rothko-style rectangular art pieces." + ] + }, + "learn-css-variables-by-building-a-city-skyline": { + "title": "Learn CSS Variables by Building a City Skyline", + "intro": [ + "CSS variables help you organize your styles and reuse them.", + "In this course, you'll build a city skyline. You'll learn how to configure CSS variables so you can reuse them whenever you want." + ] + }, + "learn-html-forms-by-building-a-registration-form": { + "title": "Learn HTML Forms by Building a Registration Form", + "intro": [ + "You can use HTML forms to collect information from people who visit your webpage.", + "In this course, you'll learn HTML forms by building a signup page. You'll learn how to control what types of data people can type into your form, and some new CSS tools for styling your page." + ] + }, + "learn-accessibility-by-building-a-quiz": { + "title": "Learn Accessibility by Building a Quiz", + "intro": [ + "Accessibility is making your webpage easy for all people to use – even people with disabilities.", + "In this course, you'll build a quiz webpage. You'll learn accessibility tools such as keyboard shortcuts, ARIA attributes, and design best practices." + ] + }, + "learn-intermediate-css-by-building-a-picasso-painting": { + "title": "Learn Intermediate CSS by Building a Picasso Painting", + "intro": [ + "In this course, you'll learn how to use some intermediate CSS techniques by coding your own Picasso painting webpage. You'll learn about SVG icons, CSS positioning, and review other CSS skills you've learned." + ] + }, + "learn-responsive-web-design-by-building-a-piano": { + "title": "Learn Responsive Web Design by Building a Piano", + "intro": [ + "Responsive Design tells your webpage how it should look on different-sized screens.", + "In this course, you'll use CSS and responsive design to code a piano. You'll also learn more about media queries and pseudo selectors." + ] + }, + "learn-css-flexbox-by-building-a-photo-gallery": { + "title": "Learn CSS Flexbox by Building a Photo Gallery", + "intro": [ + "Flexbox helps you design your webpage so that it looks good on any screen size.", + "In this course, you'll use Flexbox to build a responsive photo gallery webpage." + ] + }, + "learn-css-grid-by-building-a-magazine": { + "title": "Learn CSS Grid by Building a Magazine", + "intro": [ + "CSS Grid gives you control over the rows and columns of your webpage design.", + "In this course, you'll build a magazine article. You'll learn how to use CSS Grid, including concepts like grid rows and grid columns." + ] + }, + "learn-typography-by-building-a-nutrition-label": { + "title": "Learn Typography by Building a Nutrition Label", + "intro": [ + "Typography is the art of styling your text to be easily readable and suit its purpose.", + "In this course, you'll use typography to build a nutrition label webpage. You'll learn how to style text, adjust line height, and position your text using CSS." + ] + }, + "learn-css-transforms-by-building-a-penguin": { + "title": "Learn CSS Transforms by Building a Penguin", + "intro": [ + "You can transform HTML elements to create appealing designs that draw your reader's eye. You can use transforms to rotate elements, scale them, and more.", + "In this course, you'll build a penguin. You'll use CSS transforms to position and resize the parts of your penguin, create a background, and animate your work." + ] + }, + "learn-css-animation-by-building-a-ferris-wheel": { + "title": "Learn CSS Animation by Building a Ferris Wheel", + "intro": [ + "You can use CSS animation to draw attention to specific sections of your webpage and make it more engaging.", + "In this course, you'll build a Ferris wheel. You'll learn how to use CSS to animate elements, transform them, and adjust their speed." + ] + }, + "learn-more-about-css-pseudo-selectors-by-building-a-balance-sheet": { + "title": "Learn More About CSS Pseudo Selectors by Building A Balance Sheet", + "intro": [ + "You can use CSS pseudo selectors to change specific HTML elements.", + "In this course, you'll build a balance sheet using pseudo selectors. You'll learn how to change the style of an element when you hover over it with your mouse, and trigger other events on your webpage." + ] + }, + "learn-css-colors-by-building-a-set-of-colored-markers": { + "title": "Learn CSS Colors by Building a Set of Colored Markers", + "intro": [ + "Selecting the correct colors for your webpage can greatly improve the aesthetic appeal to your readers.", + "In this course, you'll build a set of colored markers. You'll learn different ways to set color values and how to pair colors with each other." + ] + }, + "learn-intermediate-css-by-building-a-cat-painting": { + "title": "Learn Intermediate CSS by Building a Cat Painting", + "intro": [ + "Mastering CSS positioning is essential for creating visually appealing and responsive web layouts", + "In this course, you will build a cat painting. You'll learn about how to work with absolute positioning, the z-index property, and the transform property." + ] + } + } + }, + "javascript-algorithms-and-data-structures": { + "title": "Legacy JavaScript Algorithms and Data Structures V7", + "intro": [ + "While HTML and CSS control the content and styling of a page, JavaScript is used to make it interactive. In the JavaScript Algorithm and Data Structures Certification, you'll learn the fundamentals of JavaScript including variables, arrays, objects, loops, and functions.", + "Once you have the fundamentals down, you'll apply that knowledge by creating algorithms to manipulate strings, factorialize numbers, and even calculate the orbit of the International Space Station.", + "Along the way, you'll also learn two important programming styles or paradigms: Object Oriented Programming (OOP) and Functional Programming (FP)." + ], + "note": "Note: Some browser extensions, such as ad-blockers and script-blockers can interfere with the tests. If you face issues, we recommend disabling extensions that modify or block the content of pages while taking the course.", + "blocks": { + "basic-javascript": { + "title": "Basic JavaScript", + "intro": [ + "JavaScript is a scripting language you can use to make web pages interactive. It is one of the core technologies of the web, along with HTML and CSS, and is supported by all modern browsers.", + "In this course, you'll learn fundamental programming concepts in JavaScript. You'll start with basic data structures like numbers and strings. Then you'll learn to work with arrays, objects, functions, loops, if/else statements, and more." + ] + }, + "es6": { + "title": "ES6", + "intro": [ + "ECMAScript, or ES, is a standardized version of JavaScript. Because all major browsers follow this specification, the terms ECMAScript and JavaScript are interchangeable.", + "Most of the JavaScript you've learned up to this point was in ES5 (ECMAScript 5), which was finalized in 2009. While you can still write programs in ES5, JavaScript is constantly evolving, and new features are released every year.", + "ES6, released in 2015, added many powerful new features to the language. In this course, you'll learn these new features, including arrow functions, destructuring, classes, promises, and modules." + ] + }, + "regular-expressions": { + "title": "Regular Expressions", + "intro": [ + "Regular expressions, often shortened to \"regex\" or \"regexp\", are patterns that help programmers match, search, and replace text. Regular expressions are very powerful, but can be hard to read because they use special characters to make more complex, flexible matches.", + "In this course, you'll learn how to use special characters, capture groups, positive and negative lookaheads, and other techniques to match any text you want." + ] + }, + "debugging": { + "title": "Debugging", + "intro": [ + "Debugging is the process of going through your code, finding any issues, and fixing them.", + "Issues in code generally come in three forms: syntax errors that prevent your program from running, runtime errors where your code has unexpected behavior, or logical errors where your code doesn't do what you intended.", + "In this course, you'll learn how to use the JavaScript console to debug programs and prevent common issues before they happen." + ] + }, + "basic-data-structures": { + "title": "Basic Data Structures", + "intro": [ + "Data can be stored and accessed in many ways. You already know some common JavaScript data structures — arrays and objects.", + "In this Basic Data Structures course, you'll learn more about the differences between arrays and objects, and which to use in different situations. You'll also learn how to use helpful JS methods like splice() and Object.keys() to access and manipulate data." + ] + }, + "basic-algorithm-scripting": { + "title": "Basic Algorithm Scripting", + "intro": [ + "An algorithm is a series of step-by-step instructions that describe how to do something.", + "To write an effective algorithm, it helps to break a problem down into smaller parts and think carefully about how to solve each part with code.", + "In this course, you'll learn the fundamentals of algorithmic thinking by writing algorithms that do everything from converting temperatures to handling complex 2D arrays." + ] + }, + "object-oriented-programming": { + "title": "Object Oriented Programming", + "intro": [ + "OOP, or Object Oriented Programming, is one of the major approaches to the software development process. In OOP, objects and classes organize code to describe things and what they can do.", + "In this course, you'll learn the basic principles of OOP in JavaScript, including the this keyword, prototype chains, constructors, and inheritance." + ] + }, + "functional-programming": { + "title": "Functional Programming", + "intro": [ + "Functional Programming is another popular approach to software development. In Functional Programming, code is organized into smaller, basic functions that can be combined to build complex programs.", + "In this course, you'll learn the core concepts of Functional Programming including pure functions, how to avoid mutations, and how to write cleaner code with methods like .map() and .filter()." + ] + }, + "intermediate-algorithm-scripting": { + "title": "Intermediate Algorithm Scripting", + "intro": [ + "Now that you know the basics of algorithmic thinking, along with OOP and Functional Programming, test your skills with the Intermediate Algorithm Scripting challenges." + ] + }, + "javascript-algorithms-and-data-structures-projects": { + "title": "JavaScript Algorithms and Data Structures Projects", + "intro": [ + "This is it — time to put your new JavaScript skills to work. These projects are similar to the algorithm scripting challenges you've done before – just much more difficult.", + "Complete these 5 JavaScript projects to earn the JavaScript Algorithms and Data Structures certification." + ] + } + } + }, + "javascript-algorithms-and-data-structures-v8": { + "title": "Legacy JavaScript Algorithms and Data Structures V8", + "intro": [ + "Developers use HTML and CSS to control the content and styling of a page. And they use JavaScript to make that page interactive.", + "In this JavaScript Algorithm and Data Structures Certification, you'll learn the JavaScript fundamentals like variables, arrays, objects, loops, functions, the DOM and more.", + "You'll also learn about Object Oriented Programming (OOP), Functional Programming, algorithmic thinking, how to work with local storage, and how to fetch data using an API." + ], + "note": "Note: Some browser extensions, such as ad-blockers and script-blockers can interfere with the tests. If you face issues, we recommend disabling extensions that modify or block the content of pages while taking the course.", + "blocks": { + "build-an-rpg-creature-search-app-project": { + "title": "Build an RPG Creature Search App Project", + "intro": [ + "This is one of the required projects to earn your certification.", + "For this project, you will build an RPG creature search app." + ] + }, + "build-a-cash-register-project": { + "title": "Build a Cash Register Project", + "intro": [ + "This is one of the required projects to earn your certification.", + "For this project, you'll build a cash register web app." + ] + }, + "build-a-palindrome-checker-project": { + "title": "Build a Palindrome Checker Project", + "intro": [ + "This is one of the required projects to earn your certification.", + "For this project, you'll build an application that checks whether a given word is a palindrome." + ] + }, + "build-a-roman-numeral-converter-project": { + "title": "Build a Roman Numeral Converter Project", + "intro": [ + "This is one of the required projects to claim your certification.", + "For this project, you'll build an application that converts integers to Roman numerals." + ] + }, + "build-a-telephone-number-validator-project": { + "title": "Build a Telephone Number Validator Project", + "intro": [ + "This is one of the required projects to claim your certification.", + "For this project, you'll build an application that checks if a number is a valid United States phone number." + ] + }, + "learn-basic-javascript-by-building-a-role-playing-game": { + "title": "Learn Basic JavaScript by Building a Role Playing Game", + "intro": [ + "JavaScript is a powerful scripting language that you can use to make web pages interactive. It's one of the core technologies of the web, along with HTML and CSS. All modern browsers support JavaScript.", + "In this practice project, you'll learn fundamental programming concepts in JavaScript by coding your own Role Playing Game. You'll learn how to work with arrays, strings, objects, functions, loops, if/else statements, and more." + ] + }, + "learn-form-validation-by-building-a-calorie-counter": { + "title": "Learn Form Validation by Building a Calorie Counter", + "intro": [ + "Sometimes when you're coding a web application, you'll need to be able to accept input from a user. In this calorie counter project, you'll learn how to validate user input, perform calculations based on that input, and dynamically update your interface to display the results.", + "In this practice project, you'll learn basic regular expressions, template literals, the addEventListener() method, and more." + ] + }, + "learn-functional-programming-by-building-a-spreadsheet": { + "title": "Learn Functional Programming by Building a Spreadsheet", + "intro": [ + "Functional Programming is a popular approach to software development. In Functional Programming, developers organize code into smaller functions, then combine those functions to build complex programs.", + "In this spreadsheet application project, you'll learn about parsing and evaluating mathematical expressions, implementing spreadsheet functions, handling cell references, and creating interactive web interfaces. You'll learn how to dynamically update the page based on user input.", + "This project will cover concepts like the map(), find(), and includes() methods and the parseInt() function." + ] + }, + "learn-modern-javascript-methods-by-building-football-team-cards": { + "title": "Learn Modern JavaScript Methods by Building Football Team Cards", + "intro": [ + "One common aspect of building web applications: processing datasets, and then outputting information to the screen. In this sports team cards project, you'll learn how to work with DOM manipulation, object destructuring, event handling, and data filtering.", + "This project will cover concepts like, default parameters, Object.freeze(), and reinforce your knowledge of the switch statement and map() method." + ] + }, + "learn-advanced-array-methods-by-building-a-statistics-calculator": { + "title": "Learn Advanced Array Methods by Building a Statistics Calculator", + "intro": [ + "As you expand your JavaScript skills, you'll want to get comfortable with array manipulation methods, such as map(), reduce(), and filter().", + "In this statistics calculator project, you'll gain experience with handling user input, DOM manipulation, and method chaining. You'll get practice by performing statistical calculations like mean, median, mode, variance, and standard deviation." + ] + }, + "learn-basic-oop-by-building-a-shopping-cart": { + "title": "Learn Basic OOP by Building a Shopping Cart", + "intro": [ + "OOP, or Object Oriented Programming, is one of the major approaches to the software development process. In OOP, developers use objects and classes to structure their code.", + "In this shopping cart project, you'll learn how to define classes and use them. You'll create class instances and implement methods for data manipulation.", + "This project will cover concepts like the ternary operator, the spread operator, the this keyword, and more." + ] + }, + "learn-fetch-and-promises-by-building-an-fcc-authors-page": { + "title": "Learn Fetch and Promises by Building an fCC Authors Page", + "intro": [ + "One common aspect of web development is learning how to fetch data from an external API, then work with asynchronous JavaScript.", + "This freeCodeCamp authors page project will show you how to use the fetch method, then dynamically update the DOM to display the fetched data.", + "This project will also teach you how to paginate your data so you can load results in batches." + ] + }, + "learn-regular-expressions-by-building-a-spam-filter": { + "title": "Learn Regular Expressions by Building a Spam Filter", + "intro": [ + "Regular expressions, often shortened to \"regex\" or \"regexp\", are patterns that help programmers match, search, and replace text. Regular expressions are powerful, but can be difficult to understand because they use so many special characters.", + "In this spam filter project, you'll learn about capture groups, positive lookaheads, negative lookaheads, and other techniques to match any text you want." + ] + }, + "learn-basic-algorithmic-thinking-by-building-a-number-sorter": { + "title": "Learn Basic Algorithmic Thinking by Building a Number Sorter", + "intro": [ + "In computer science, there are fundamental sorting algorithms that all developers should learn. In this number sorter project, you'll learn how to implement and visualize different sorting algorithms like bubble sort, selection sort, and insertion sort – all with JavaScript.", + "This project will help you understand the fundamental concepts behind these algorithms, and how you can apply them to sort numerical data in web applications." + ] + }, + "review-algorithmic-thinking-by-building-a-dice-game": { + "title": "Review Algorithmic Thinking by Building a Dice Game", + "intro": [ + "Algorithmic thinking involves the ability to break down complex problems into a sequence of well-defined, step-by-step instructions.", + "In this Dice game project, you’ll learn how to manage game state, implement game logic for rolling dice, keeping score, and applying rules for various combinations.", + "This project covers concepts such as event handling, array manipulation, conditional logic, and updating the user interface dynamically based on game state." + ] + }, + "learn-intermediate-oop-by-building-a-platformer-game": { + "title": "Learn Intermediate OOP by Building a Platformer Game", + "intro": [ + "Coding a game is a great way to grasp fundamental programming principles, while also creating an interactive gaming experience.", + "In this platformer game project, you'll continue to learn about classes, objects, inheritance, and encapsulation. You'll also learn how to design and organize game elements efficiently and gain insights into problem-solving and code reusability." + ] + }, + "learn-localstorage-by-building-a-todo-app": { + "title": "Learn localStorage by Building a Todo App", + "intro": [ + "Local storage is a web browser feature that lets web applications store key-value pairs persistently within a user's browser. This allows web apps to save data during one session, then retrieve it in a later page session.", + "In this TODO application, you'll learn how to handle form inputs, manage local storage, perform CRUD (Create, Read, Update, Delete) operations on tasks, implement event listeners, and toggle UI elements." + ] + }, + "learn-the-date-object-by-building-a-date-formatter": { + "title": "Learn the Date Object by Building a Date Formatter", + "intro": [ + "Working with dates in JavaScript can be challenging. You have to navigate various methods, formats, and time zones. In this project, you'll learn how to work with the JavaScript Date object, including its methods and properties. You'll also learn how to correctly format dates.", + "This project will cover concepts such as the getDate(), getMonth(), and getFullYear() methods." + ] + }, + "learn-asynchronous-programming-by-building-an-fcc-forum-leaderboard": { + "title": "Learn Asynchronous Programming by Building an fCC Forum Leaderboard", + "intro": [ + "JavaScript is an asynchronous programming language. And this project will help you gain proficiency in asynchronous concepts. You'll code your own freeCodeCamp forum leaderboard.", + "This project will cover the Fetch API, promises, Async/Await, and the try..catch statement." + ] + }, + "learn-basic-string-and-array-methods-by-building-a-music-player": { + "title": "Learn Basic String and Array Methods by Building a Music Player", + "intro": [ + "Now let's learn some essential string and array methods like the find(), forEach(), map(), and join(). These methods are crucial for developing dynamic web applications.", + "In this project, you'll code a basic MP3 player using HTML, CSS, and JavaScript. The project covers fundamental concepts such as handling audio playback, managing a playlist, implementing play, pause, next, previous, and shuffle functionalities. You'll even learn how to dynamically update your user interface based on the current song." + ] + }, + "learn-recursion-by-building-a-decimal-to-binary-converter": { + "title": "Learn Recursion by Building a Decimal to Binary Converter", + "intro": [ + "Recursion is a programming concept where a function calls itself. This can reduce a complex problem into simpler sub-problems, until they become straightforward to solve.", + "In this project, you’ll build a decimal-to-binary converter using JavaScript. You’ll learn the fundamental concepts of recursion, explore the call stack, and build out a visual representation of the recursion process through an animation." + ] + }, + "learn-introductory-javascript-by-building-a-pyramid-generator": { + "title": "Learn Introductory JavaScript by Building a Pyramid Generator", + "intro": [ + "JavaScript is a powerful scripting language that you can use to make web pages interactive. It's one of the core technologies of the web, along with HTML and CSS. All modern browsers support JavaScript.", + "In this practice project, you'll learn fundamental programming concepts in JavaScript by coding your own Pyramid Generator. You'll learn how to work with arrays, strings, functions, loops, if/else statements, and more." + ] + }, + "review-js-fundamentals-by-building-a-gradebook-app": { + "title": "Review JavaScript Fundamentals by Building a Gradebook App", + "intro": [ + "In this mini project, you will get to review JavaScript fundamentals like functions, variables, conditionals and more by building a gradebook app.", + "This will give you an opportunity to solve small problems and get a better understanding of the basics." + ] + }, + "learn-basic-debugging-by-building-a-random-background-color-changer": { + "title": "Learn Basic Debugging by Building a Random Background Color Changer", + "intro": [ + "Debugging is the process of going through your code, finding any issues, and fixing them.", + "In this project, you will help CamperBot build a random background color changer and help them find and fix errors." + ] + }, + "review-dom-manipulation-by-building-a-rock-paper-scissors-game": { + "title": "Review DOM Manipulation by Building a Rock, Paper, Scissors Game", + "intro": [ + "In the previous projects you learned how to work with basic DOM manipulation. Now it is time to review what you have learned by building a Rock, Paper, Scissors game.", + "In this mini project, you will review conditionals, functions, getElementById, and more. This project will give you an opportunity to solve small problems and get a better understanding of the basics." + ] + } + } + }, + "front-end-development-libraries": { + "title": "Front-End Development Libraries V8", + "intro": [ + "Now that you're familiar with HTML, CSS, and JavaScript, level up your skills by learning some of the most popular front-end libraries in the industry.", + "In the Front-End Development Libraries Certification, you'll learn how to style your site quickly with Bootstrap. You'll also learn how to add logic to your CSS styles and extend them with Sass.", + "Later, you'll build a shopping cart and other applications to learn how to create powerful Single Page Applications (SPAs) with React and Redux." + ], + "note": "", + "blocks": { + "bootstrap": { + "title": "Bootstrap", + "intro": [ + "Bootstrap is a front-end framework used to design responsive web pages and applications. It takes a mobile-first approach to web development, and includes pre-built CSS styles and classes, plus some JavaScript functionality.", + "In this course, you'll learn how to build responsive websites with Bootstrap, and use its included classes to style buttons, images, forms, navigation, and other common elements." + ] + }, + "jquery": { + "title": "jQuery", + "intro": [ + "jQuery is one of the most widely used JavaScript libraries in the world.", + "In 2006 when it was released, all major browsers handled JavaScript slightly differently. jQuery simplified the process of writing client-side JavaScript, and also ensured that your code worked the same way in all browsers.", + "In this course, you'll learn how to use jQuery to select, remove, clone, and modify different elements on the page." + ] + }, + "sass": { + "title": "SASS", + "intro": [ + "Sass, or \"Syntactically Awesome StyleSheets\", is a language extension of CSS. It adds features that aren't available in basic CSS, which make it easier for you to simplify and maintain the style sheets for your projects.", + "In this Sass course, you'll learn how to store data in variables, nest CSS, create reusable styles with mixins, add logic and loops to your styles, and more." + ] + }, + "react": { + "title": "React", + "intro": [ + "React is a popular JavaScript library for building reusable, component-driven user interfaces for web pages or applications.", + "React combines HTML with JavaScript functionality into its own markup language called JSX. React also makes it easy to manage the flow of data throughout the application.", + "In this course, you'll learn how to create different React components, manage data in the form of state props, use different lifecycle methods like componentDidMount, and much more." + ] + }, + "redux": { + "title": "Redux", + "intro": [ + "As applications grow in size and scope, managing shared data becomes much more difficult. Redux is defined as a \"predictable state container for JavaScript apps\" that helps ensure your apps work predictably, and are easier to test.", + "While you can use Redux with any view library, we introduce Redux here before combining it with React in the next set of courses.", + "In this course, you'll learn the fundamentals of Redux stores, actions, reducers and middleware to manage data throughout your application." + ] + }, + "react-and-redux": { + "title": "React and Redux", + "intro": [ + "React and Redux are often mentioned together, and with good reason. The developer who created Redux was a React developer who wanted to make it easier to share data across different components.", + "Now that you know how to manage the flow of shared data with Redux, it's time to combine that knowledge with React. In the React and Redux courses, you'll build a React component and learn how to manage state locally at the component level, and throughout the entire application with Redux." + ] + }, + "front-end-development-libraries-projects": { + "title": "Front-End Development Libraries Projects", + "intro": [ + "It's time to put your front-end development libraries skills to the test. Use Bootstrap, jQuery, Sass, React, and Redux to build 5 projects that will test everything you've learned up to this point.", + "Complete all 5 projects, and you'll earn the Front-End Development Libraries certification." + ] + } + } + }, + "data-visualization": { + "title": "Data Visualization V8", + "intro": [ + "Data is all around us, but it doesn't mean much without shape or context.", + "In the Data Visualization Certification, you'll build charts, graphs, and maps to present different types of data with the D3.js library.", + "You'll also learn about JSON (JavaScript Object Notation), and how to work with data online using an API (Application Programming Interface)." + ], + "note": "", + "blocks": { + "data-visualization-with-d3": { + "title": "Data Visualization with D3", + "intro": [ + "D3, or D3.js, stands for Data Driven Documents. It's a JavaScript library for creating dynamic and interactive data visualizations in the browser.", + "D3 is built to work with common web standards – namely HTML, CSS, and Scalable Vector Graphics (SVG).", + "D3 supports many different kinds of input data formats. Then, using its powerful built-in methods, you can transform those data into different charts, graphs, and maps.", + "In the Data Visualization with D3 courses, you'll learn how to work with data to create different charts, graphs, hover elements, and other ingredients to create dynamic and attractive data visualizations." + ] + }, + "json-apis-and-ajax": { + "title": "JSON APIs and AJAX", + "intro": [ + "Similar to how UIs help people use programs, APIs (Application Programming Interfaces) help programs interact with other programs. APIs are tools that computers use to communicate with one another, in part to send and receive data.", + "Programmers often use AJAX (Asynchronous JavaScript and XML) when working with APIs. AJAX refers to a group of technologies that make asynchronous requests to a server to transfer data, then load any returned data into the page. And the data transferred between the browser and server is often in a format called JSON (JavaScript Object Notation).", + "This course will teach you the basics about working with APIs and different AJAX technologies in the browser." + ] + }, + "data-visualization-projects": { + "title": "Data Visualization Projects", + "intro": [ + "Now that you learned how to work with D3, APIs, and AJAX technologies, put your skills to the test with these 5 Data Visualization projects.", + "In these projects, you'll need to fetch data and parse a dataset, then use D3 to create different data visualizations. Finish them all to earn your Data Visualization certification." + ] + } + } + }, + "learn-data-visualization-with-d3": { + "title": "Learn Data Visualization with D3", + "summary": [ + "Learn how to use D3 to turn data into interactive bar charts and scatterplots." + ], + "intro": [ + "In this course, you'll learn core data visualization concepts and practice using the D3 library to build charts from datasets." + ], + "note": "", + "chapters": { + "learn-data-visualization-with-d3": "Learn Data Visualization with D3" + }, + "modules": { "introduction-to-d3": "Introduction to D3" }, + "module-intros": { + "introduction-to-d3": { + "note": "Coming Late 2026", + "intro": [ + "In this module, you will learn the basics of working with D3." + ] + } + }, + "blocks": { + "lecture-introduction-to-data-visualization": { + "title": "Introduction to Data Visualization", + "intro": [ + "In these lessons, you will learn about basic data visualization concepts." + ] + }, + "lab-bar-chart": { + "title": "Build a Bar Chart", + "intro": ["In this lab, you will use D3 to build a bar chart."] + }, + "lab-scatterplot-graph": { + "title": "Build a Scatterplot Graph", + "intro": [ + "In this lab, you will create a D3 scatterplot graph using a provided dataset." + ] + } + } + }, + "relational-database": { + "title": "Relational Database V8", + "intro": [ + "For these courses, you will use real developer tools and software including VS Code, PostgreSQL, and the Linux / Unix command line to complete interactive tutorials and build projects.", + "These courses start off with basic Bash commands. Using the terminal, you will learn everything from navigating and manipulating a file system, scripting in Bash, all the way to advanced usage.", + "Next, you will learn how to create and use a relational database with PostgreSQL, a database management system, and SQL, the language of these databases.", + "Finally, you will learn Git, the version control system, an essential tool of every developer." + ], + "blocks": { + "build-a-celestial-bodies-database-project": { + "title": "Celestial Bodies Database", + "intro": [ + "This is one of the required projects to earn your certification.", + "For this project, you will build a database of celestial bodies using PostgreSQL." + ] + }, + "build-a-number-guessing-game-project": { + "title": "Number Guessing Game", + "intro": [ + "This is one of the required projects to earn your certification.", + "For this project, you will use Bash scripting, PostgreSQL, and Git to create a number guessing game that runs in the terminal and saves user information." + ] + }, + "build-a-periodic-table-database-project": { + "title": "Periodic Table Database", + "intro": [ + "This is one of the required projects to earn your certification.", + "For this project, you will create a Bash script to get information about chemical elements from a periodic table database." + ] + }, + "build-a-salon-appointment-scheduler-project": { + "title": "Salon Appointment Scheduler", + "intro": [ + "This is one of the required projects to earn your certification.", + "For this project, you will create an interactive Bash program that uses PostgreSQL to track the customers and appointments for your salon." + ] + }, + "build-a-world-cup-database-project": { + "title": "World Cup Database", + "intro": [ + "This is one of the required projects to earn your certification.", + "For this project, you will create a Bash script that enters information from World Cup games into PostgreSQL, then query the database for useful statistics." + ] + }, + "learn-advanced-bash-by-building-a-kitty-ipsum-translator": { + "title": "Learn Advanced Bash by Building a Kitty Ipsum Translator", + "intro": [ + "There's more to Bash commands than you might think.", + "In this 140-lesson course, you will learn some more complex commands, and the details of how commands work." + ] + }, + "learn-bash-and-sql-by-building-a-bike-rental-shop": { + "title": "Learn Bash and SQL by Building a Bike Rental Shop", + "intro": [ + "In this 210-lesson course, you will build an interactive Bash program that stores rental information for your bike rental shop using PostgreSQL." + ] + }, + "learn-bash-by-building-a-boilerplate": { + "title": "Learn Bash by Building a Boilerplate", + "intro": [ + "The terminal allows you to send text commands to your computer that can manipulate the file system, run programs, automate tasks, and much more.", + "In this 170-lesson course, you will learn terminal commands by creating a website boilerplate using only the command line." + ] + }, + "learn-bash-scripting-by-building-five-programs": { + "title": "Learn Bash Scripting by Building Five Programs", + "intro": [ + "Bash scripts combine terminal commands and logic into programs that can execute or automate tasks, and much more.", + "In this 220-lesson course, you will learn more terminal commands and how to use them within Bash scripts by creating five small programs." + ] + }, + "learn-git-by-building-an-sql-reference-object": { + "title": "Learn Git by Building an SQL Reference Object", + "intro": [ + "Git is a version control system that keeps track of all the changes you make to your codebase.", + "In this 240-lesson course, you will learn how Git keeps track of your code by creating an object containing commonly used SQL commands." + ] + }, + "learn-nano-by-building-a-castle": { + "title": "Learn Nano by Building a Castle", + "intro": [ + "Nano is a program that allows you to edit files right in the terminal.", + "In this 40-lesson course, you will learn how to edit files in the terminal with Nano while building a castle." + ] + }, + "learn-relational-databases-by-building-a-database-of-video-game-characters": { + "title": "Learn Relational Databases by Building a Database of Video Game Characters", + "intro": [ + "A relational database organizes data into tables that are linked together through relationships.", + "In this 165-lesson course, you will learn the basics of a relational database by creating a PostgreSQL database filled with video game characters." + ] + }, + "learn-sql-by-building-a-student-database-part-1": { + "title": "Learn SQL by Building a Student Database: Part 1", + "intro": [ + "SQL, or Structured Query Language, is the language for communicating with a relational database.", + "In this 140-lesson course, you will create a Bash script that uses SQL to enter information about your computer science students into PostgreSQL." + ] + }, + "learn-sql-by-building-a-student-database-part-2": { + "title": "Learn SQL by Building a Student Database: Part 2", + "intro": [ + "SQL join commands are used to combine information from multiple tables in a relational database", + "In this 140-lesson course, you will complete your student database while diving deeper into SQL commands." + ] + } + } + }, + "back-end-development-and-apis": { + "title": "Back-End Development and APIs V8", + "intro": [ + "Until this point, you've only used JavaScript on the front-end to add interactivity to a page, solve algorithm challenges, or build an SPA. But JavaScript can also be used on the back-end, or server, to build entire web applications.", + "Today, one of the popular ways to build applications is through microservices, which are small, modular applications that work together to form a larger whole.", + "In the Back-End Development and APIs Certification, you'll learn how to write back-end apps with Node.js and npm. You'll also build web applications with the Express framework, and build a People Finder microservice with MongoDB and the Mongoose library." + ], + "note": "", + "blocks": { + "managing-packages-with-npm": { + "title": "Managing Packages with NPM", + "intro": [ + "npm (Node Package Manager), is a command line tool to install, create, and share packages of JavaScript code written for Node.js. There are many open source packages available on npm, so before starting a project, take some time to explore so you don't end up recreating the wheel for things like working with dates or fetching data from an API.", + "In this course, you'll learn the basics of using npm, including how to work with the package.json and how to manage your installed dependencies." + ] + }, + "basic-node-and-express": { + "title": "Basic Node and Express", + "intro": [ + "Node.js is a JavaScript runtime that allows developers to write back-end (server-side) programs in JavaScript. Node.js comes with a handful of built-in modules — small, independent programs — that help with this. Some of the core modules include HTTP, which acts like a server, and File System, a module to read and modify files.", + "In the last set of courses you learned to install and manage packages from npm, which are collections of smaller modules. These packages can help you build larger, more complex applications.", + "Express is a lightweight web application framework, and is one of the most popular packages on npm. Express makes it much easier to create a server and handle routing for your application, which handles things like directing people to the correct page when they visit a certain endpoint like
/blog
.", + "In this course, you'll learn the basics of Node and Express including how to create a server, serve different files, and handle different requests from the browser." + ] + }, + "mongodb-and-mongoose": { + "title": "MongoDB and Mongoose", + "intro": [ + "MongoDB is a database application that stores JSON documents (or records) that you can use in your application. Unlike SQL, another type of database, MongoDB is a non-relational or \"NoSQL\" database. This means MongoDB stores all associated data within one record, instead of storing it across many preset tables as in a SQL database.", + "Mongoose is a popular npm package for interacting with MongoDB. With Mongoose, you can use plain JavaScript objects instead of JSON, which makes it easier to work with MongoDB. Also, it allows you to create blueprints for your documents called schemas, so you don't accidentally save the wrong type of data and cause bugs later.", + "In the MongoDB and Mongoose courses, you'll learn the fundamentals of working with persistent data including how to set up a model, and save, delete, and find documents in the database." + ] + }, + "back-end-development-and-apis-projects": { + "title": "Back-End Development and APIs Projects", + "intro": [ + "You've worked with APIs before, but now that you know npm, Node, Express, MongoDB, and Mongoose, it's time to build your own. Draw on everything you've learned up to this point to create 5 different microservices, which are smaller applications that are limited in scope.", + "After creating these, you'll have 5 cool microservice APIs you can show off to friends, family, and potential employers. Oh, and you'll have a shiny new Back-End Development and APIs Certification, too." + ] + } + } + }, + "quality-assurance": { + "title": "Quality Assurance", + "intro": [ + "As your programs or web applications become more complex, you'll want to test them to make sure that new changes don't break their original functionality.", + "In the Quality Assurance Certification, you'll learn how to write tests with Chai to ensure your applications work the way you expect them to.", + "Then you'll build a chat application to learn advanced Node and Express concepts. You'll also use Pug as a template engine, Passport for authentication, and Socket.io for real-time communication between the server and connected clients." + ], + "note": "", + "blocks": { + "quality-assurance-and-testing-with-chai": { + "title": "Quality Assurance and Testing with Chai", + "intro": [ + "Chai is a JavaScript testing library that helps you confirm that your program still behaves the way you expect it to after you make changes to your code.", + "Using Chai, you can write tests that describe your program's requirements and see if your program meets them.", + "In this course, you'll learn about assertions, deep equality, truthiness, testing APIs, and other fundamentals for testing JavaScript applications." + ] + }, + "advanced-node-and-express": { + "title": "Advanced Node and Express", + "intro": [ + "Now it's time to take a deep dive into Node.js and Express.js by building a chat application with a sign-in system.", + "To implement the sign-in system safely, you'll need to learn about authentication. This is the act of verifying the identity of a person or process.", + "In this course, you'll learn how to use Passport to manage authentication, Pug to create reusable templates for quickly building the front-end, and web sockets for real-time communication between the clients and server." + ] + }, + "quality-assurance-projects": { + "title": "Quality Assurance Projects", + "intro": [ + "Now that you're well versed in both the front-end and back-end, it's time to apply all the skills and concepts you've learned up to this point. You'll build 5 different web applications, and write tests for each one to make sure they're working and can handle different edge cases.", + "After completing these Quality Assurance projects, you'll have 5 more projects under your belt, and a new certification to show off on your portfolio." + ] + } + } + }, + "scientific-computing-with-python": { + "title": "Scientific Computing with Python", + "intro": [ + "The Scientific Computing with Python curriculum will equip you with the skills to analyze and manipulate data using Python, a powerful and versatile programming language. You'll learn key concepts like data structures, algorithm, Object Oriented Programming, and how to perform complex calculations using a variety of tools.", + "This comprehensive course will guide you through the fundamentals of scientific computing, including data structures, and algorithms." + ], + "note": "", + "blocks": { + "learn-string-manipulation-by-building-a-cipher": { + "title": "Learn String Manipulation by Building a Cipher", + "intro": [ + "Python is a powerful and popular programming language widely used for data science, data visualization, web development, game development, machine learning and more.", + "In this project, you'll learn fundamental programming concepts in Python, such as variables, functions, loops, and conditional statements. You'll use these to code your first programs." + ] + }, + "learn-how-to-work-with-numbers-and-strings-by-implementing-the-luhn-algorithm": { + "title": "Learn How to Work with Numbers and Strings by Implementing the Luhn Algorithm", + "intro": [ + "The Luhn Algorithm is widely used for error-checking in various applications, such as verifying credit card numbers.", + "By building this project, you'll gain experience working with numerical computations and string manipulation." + ] + }, + "learn-list-comprehension-by-building-a-case-converter-program": { + "title": "Learn Python List Comprehension by Building a Case Converter Program", + "intro": [ + "List Comprehension is a way to construct a new Python list from an iterable types: lists, tuples, and strings. All without using a for loop or the .append() list method.", + "In this project, you'll write a program that takes a string formatted in Camel Case or Pascal Case, then converts it into Snake Case.", + "The project has two phases: first you'll use a for loop to implement the program. Then you'll learn how to use List Comprehension instead of a loop to achieve the same results." + ] + }, + "learn-regular-expressions-by-building-a-password-generator": { + "title": "Learn Regular Expressions by Building a Password Generator", + "intro": [ + "A Python module is a file that contains a set of statements and definitions that you can use in your code.", + "In this project, you'll learn how to import modules from the Python standard library. You'll also learn how to use Regular Expressions by building your own password generator program." + ] + }, + "learn-algorithm-design-by-building-a-shortest-path-algorithm": { + "title": "Learn Algorithm Design by Building a Shortest Path Algorithm", + "intro": [ + "Algorithms are step-by-step procedures that developers use to perform calculations and solve computational problems.", + "In this project, you'll learn how to use functions, loops, conditional statements, and dictionary comprehensions to implement a Shortest Path algorithm." + ] + }, + "learn-recursion-by-solving-the-tower-of-hanoi-puzzle": { + "title": "Learn Recursion by Solving the Tower of Hanoi Puzzle", + "intro": [ + "Recursion is a programming approach that allows you to solve complicated computational problems with just a little code.", + "In this project, you'll start with a loop-based approach to solving the tower of Hanoi mathematical puzzle. Then you'll learn how to implement a recursive solution." + ] + }, + "learn-data-structures-by-building-the-merge-sort-algorithm": { + "title": "Learn Data Structures by Building the Merge Sort Algorithm", + "intro": [ + "The Merge Sort Algorithm is a sorting algorithm based on the divide and conquer principle.", + "In this project, you'll learn how to interact with data structures by sorting a list of random numbers using the Merge Sort Algorithm." + ] + }, + "learn-classes-and-objects-by-building-a-sudoku-solver": { + "title": "Learn Classes and Objects by Building a Sudoku Solver", + "intro": [ + "Classes and objects are important programming concepts. These Object-Oriented Programming tools help developers to achieve code modularity, abstraction, and readability. And they promote reusability.", + "In this Sudoku Solver project, you'll learn how to use classes and objects to build a Sudoku grid and to solve a Sudoku puzzle." + ] + }, + "learn-tree-traversal-by-building-a-binary-search-tree": { + "title": "Learn Tree Traversal by Building a Binary Search Tree", + "intro": [ + "A Binary Search Tree (BST) is an common data structure where data is sorted hierarchically.", + "In this project, you'll learn how to construct your own BST and perform an in-order traversal. You'll also learn key operations like insertion, search, and deletion." + ] + }, + "learn-lambda-functions-by-building-an-expense-tracker": { + "title": "Learn Lambda Functions by Building an Expense Tracker", + "intro": [ + "Lambda functions give you a concise way to write small, throwaway functions in your code.", + "In this project, you'll explore the power of Lambda Functions by creating an expense tracker. Your resulting app will demonstrate how you can use Lambda Functions for efficient, streamlined operations." + ] + }, + "build-an-arithmetic-formatter-project": { + "title": "Build an Arithmetic Formatter Project", + "intro": [ + "This is one of the required projects to claim your certification." + ] + }, + "build-a-time-calculator-project": { + "title": "Build a Time Calculator Project", + "intro": [ + "This is one of the required projects to claim your certification." + ] + }, + "build-a-budget-app-project": { + "title": "Build a Budget App Project", + "intro": [ + "This is one of the required projects to claim your certification." + ] + }, + "build-a-polygon-area-calculator-project": { + "title": "Build a Polygon Area Calculator Project", + "intro": [ + "This is one of the required projects to claim your certification." + ] + }, + "build-a-probability-calculator-project": { + "title": "Build a Probability Calculator Project", + "intro": [ + "This is one of the required projects to claim your certification." + ] + }, + "learn-interfaces-by-building-an-equation-solver": { + "title": "Learn Interfaces by Building an Equation Solver", + "intro": [ + "Abstract classes enable you to define formal interfaces - objects acting as blueprints for classes.", + "In this project, you'll discover how to implement an interface in Python while building a simple equation solver program." + ] + }, + "learn-special-methods-by-building-a-vector-space": { + "title": "Learn Special Methods by Building a Vector Space", + "intro": [ + "Python special methods are called in response to specific operations and enable you to customize the behavior of your objects in a detailed and effective way.", + "In this project, you are going to explore some of the most common special methods while learning about vectors by building a vector space." + ] + }, + "learn-encapsulation-by-building-a-projectile-trajectory-calculator": { + "title": "Learn Encapsulation by Building a Projectile Trajectory Calculator", + "intro": [ + "Encapsulation is a core OOP principle based on writing code that limits direct access to data.", + "In this project, you'll discover new concepts related to encapsulation, such as getters, setters, and name mangling, and you'll use them together with what you already learned to create a program that calculates a projectile trajectory." + ] + }, + "learn-the-bisection-method-by-finding-the-square-root-of-a-number": { + "title": "Learn the Bisection Method by Finding the Square Root of a Number", + "intro": [ + "Numerical methods are used to approximate solutions to mathematical problems that are difficult or impossible to solve analytically.", + "In this project, you will explore the numerical method of bisection to find the square root of a number by iteratively narrowing down the possible range of values that contain the square root." + ] + } + } + }, + "data-analysis-with-python": { + "title": "Data Analysis with Python", + "intro": [ + "Data Analysis has been around for a long time. But up until a few years ago, developers practiced it using expensive, closed-source tools like Tableau. But recently, Python, SQL, and other open libraries have changed Data Analysis forever.", + "In the Data Analysis with Python Certification, you'll learn the fundamentals of data analysis with Python. By the end of this certification, you'll know how to read data from sources like CSVs and SQL, and how to use libraries like Numpy, Pandas, Matplotlib, and Seaborn to process and visualize data." + ], + "note": "", + "blocks": { + "data-analysis-with-python-course": { + "title": "Data Analysis with Python", + "intro": [ + "In these comprehensive video courses, created by Santiago Basulto, you will learn the whole process of data analysis. You'll be reading data from multiple sources (CSV, SQL, Excel), process that data using NumPy and Pandas, and visualize it using Matplotlib and Seaborn,", + "Additionally, we've included a thorough Jupyter Notebook course, and a quick Python reference to refresh your programming skills." + ] + }, + "numpy": { + "title": "Numpy", + "intro": [ + "Learn the basics of the NumPy library in the following video course created by Keith Galli.", + "In this course, you'll learn how NumPy works and how it compares to Python's built-in lists. You'll also learn how to write code with NumPy, indexing, reshaping, applied statistics, and much more." + ] + }, + "data-analysis-with-python-projects": { + "title": "Data Analysis with Python Projects", + "intro": [ + "There are many ways to analyze data with Python. By completing these projects, you will demonstrate that you have a good foundational knowledge of data analysis with Python.", + "Finish them all to claim your Data Analysis with Python certification." + ] + } + } + }, + "learn-python-for-beginners": { + "title": "Learn Python for Beginners", + "summary": [ + "Learn the fundamentals of Python programming from the ground up by practicing foundational concepts and building small projects." + ], + "intro": [ + "Python is one of the most popular programming languages today. It's easy to learn, readable, and versatile.", + "In this comprehensive course, you'll learn the fundamentals of Python programming from the ground up. You'll start with basic concepts like variables and data types, progress through control flow and functions, and build projects to practice what you've learned." + ], + "note": "", + "blocks": { + "python-setup-first-steps": { + "title": "Python Setup & First Steps", + "intro": [ + "In these videos, popular programming instructor Mike Dane will introduce you to Python and show you how to setup your local environment." + ] + }, + "core-primitives-in-python": { + "title": "Core Primitives in Python", + "intro": [ + "In these videos, you will learn about variables, data types, strings, numbers, and getting input from the user." + ] + }, + "small-python-projects": { + "title": "Small Python Projects", + "intro": [ + "In these videos, you will practice what you have learned so far by building a basic calculator app and mad libs game." + ] + }, + "lists-and-tuples": { + "title": "Lists and Tuples", + "intro": [ + "In these videos, you will learn about lists, tuples and common operations." + ] + }, + "control-flow-and-functions-in-python": { + "title": "Control Flow and Functions", + "intro": [ + "In these videos, you will learn how to control the flow of your programs with if statements. You will also learn how to write reusable code with functions." + ] + }, + "dictionaries-and-loops": { + "title": "Dictionaries and Loops", + "intro": [ + "In these videos, you will learn how to work with dictionaries and various loops include the while and for loops." + ] + }, + "error-handling-files-and-modules-in-python": { + "title": "Error Handling, Files, and Modules", + "intro": [ + "In these videos, you will learn how to handle errors gracefully, read and write to files, and organize your code with modules and external packages." + ] + }, + "object-oriented-programming-with-python": { + "title": "Object-Oriented Programming with Python", + "intro": [ + "In these videos, you will learn about object-oriented programming by creating classes and objects. You will practice these skills by building a multiple choice quiz application." + ] + } + } + }, + "introduction-to-algorithms-and-data-structures": { + "title": "Introduction to Algorithms and Data Structures", + "summary": [ + "Learn about common algorithms and data structures in this introductory course." + ], + "intro": [ + "Algorithms and Data Structures are the backbone of programming. So it's important to learn how to work with them.", + "In this comprehensive course, you will learn about common sorting and searching algorithms including merge sort, quicksort and binary search.", + "You will also learn how to work with common data structures including arrays and linked lists." + ], + "note": "", + "blocks": { + "searching-algorithms": { + "title": "Searching Algorithms", + "intro": [ + "In these videos, you will learn what an algorithm is and learn how to work with the binary search and linear search algorithms." + ] + }, + "time-complexity": { + "title": "Time Complexity", + "intro": [ + "In these videos, you will learn about time complexity and how it works with measuring efficiency of algorithms." + ] + }, + "algorithms-in-code": { + "title": "Algorithms in Code", + "intro": [ + "In these videos, you will write Python code for the linear and binary search algorithms." + ] + }, + "recursion-and-space-complexity": { + "title": "Recursion and Space Complexity", + "intro": [ + "In these videos, you will learn about recursion and space complexity for algorithms." + ] + }, + "introduction-to-arrays": { + "title": "Introduction to Arrays", + "intro": [ + "In these videos, you will learn how to work with arrays. You will learn about different operations including insert, delete and search." + ] + }, + "introduction-to-linked-lists": { + "title": "Introduction to Linked Lists", + "intro": [ + "In these videos, you will learn about linked lists. You will learn how to add nodes to a list as well as remove and search a list." + ] + }, + "merge-sort-algorithm": { + "title": "Merge Sort Algorithm", + "intro": [ + "In these videos, you will learn about the merge sort algorithm." + ] + }, + "sorting-a-linked-list": { + "title": "Sorting a Linked List", + "intro": [ + "In these videos, you will learn more about how to sort linked lists." + ] + }, + "sorting-algorithms": { + "title": "Sorting Algorithms", + "intro": [ + "In these videos, you will learn about common sorting algorithms including selection sort and quicksort." + ] + }, + "searching-names-using-sorting-and-searching-algorithms": { + "title": "Searching Names using Sorting and Searching Algorithms", + "intro": [ + "In these videos, you will practice searching for names using the binary and linear search algorithms and comparing the runtimes for them." + ] + } + } + }, + "learn-rag-mcp-fundamentals": { + "title": "Learn RAG and MCP Fundamentals", + "summary": [ + "Learn the fundamentals of RAG and MCP in this comprehensive video course." + ], + "intro": [ + "RAG stands for Retrieval-Augmented Generation. MCP stands for Model Context Protocol. These are powerful frameworks for building AI agents that can retrieve information from a knowledge base, generate responses based on that information, and plan their actions accordingly.", + "In this course, you'll learn the fundamentals of RAG and MCP and how to implement them in your own projects. You'll explore the components of RAG and MCP, including retrieval, generation, memory, context, and planning. By the end of this course, you'll have a solid understanding of how RAG and MCP work and how to use them to build intelligent agents." + ], + "note": "", + "blocks": { + "understanding-rag": { + "title": "Understanding RAG", + "intro": [ + "Learn the fundamentals of Retrieval-Augmented Generation (RAG), including what it is, when to use it, and core concepts." + ] + }, + "retrieval-engine-internals": { + "title": "Retrieval Engine Internals", + "intro": [ + "Dive into semantic search, embedding models, vector databases, and chunking to understand how retrieval works under the hood." + ] + }, + "designing-reliable-rag-systems": { + "title": "Designing Reliable RAG Systems", + "intro": [ + "Explore RAG architecture, monitoring, error handling, and how to deploy RAG systems in production." + ] + }, + "mcp-ecosystem-and-tooling": { + "title": "MCP Ecosystem & Tooling", + "intro": [ + "Learn why MCP exists, its architecture, JSON-RPC, and how to build and use MCP servers and clients effectively." + ] + } + } + }, + "introduction-to-precalculus": { + "title": "Introduction to Precalculus", + "summary": [ + "Learn the fundamentals of precalculus, including functions, and trigonometry." + ], + "intro": [ + "Precalculus is a branch of mathematics that prepares you for calculus. It covers a wide range of topics including functions, and trigonometry." + ], + "note": "", + "blocks": { + "function-basics": { + "title": "Function Basics", + "intro": [ + "In these videos, you will learn about functions and how to work with them." + ] + }, + "angles-and-circular-motion": { + "title": "Angles and Circular Motion", + "intro": [ + "In these videos, you will learn about angles and circular motion." + ] + }, + "right-triangle-trigonometry": { + "title": "Right Triangle Trigonometry", + "intro": [ + "In these videos, you will learn about right triangle trigonometry and how to work with it." + ] + }, + "trig-graphs-inverses": { + "title": "Trigonometric Graphs and Inverses", + "intro": [ + "In these videos, you will learn about trigonometric graphs and inverse functions." + ] + }, + "solving-trig-equations": { + "title": "Solving Trigonometric Equations", + "intro": [ + "In these videos, you will learn how to solve trigonometric equations." + ] + }, + "trig-identities-formulas": { + "title": "Trigonometric Identities and Formulas", + "intro": [ + "In these videos, you will learn about trigonometric identities and formulas." + ] + }, + "advanced-trig-conics": { + "title": "Advanced Trigonometry and Conics", + "intro": [ + "In these videos, you will learn about advanced trigonometry and conic sections." + ] + } + } + }, + "introduction-to-bash": { + "title": "Introduction to Bash", + "summary": [ + "Learn how to use the terminal and write Bash scripts to automate tasks and manage files and processes." + ], + "intro": [ + "Bash is a Unix shell and command language that provides a powerful interface for interacting with your computer's operating system. It allows you to execute commands, automate tasks, and manage files and processes efficiently.", + "In this course, you'll learn the basics of Bash scripting, including how to navigate the file system, manipulate files and directories." + ], + "note": "", + "blocks": { + "lecture-understanding-the-command-line-and-working-with-bash": { + "title": "Understanding the Command Line and Working with Bash", + "intro": [ + "Learn about the Command Line and Working with Bash in these lessons." + ] + }, + "workshop-bash-boilerplate": { + "title": "Build a Boilerplate", + "intro": [ + "The terminal allows you to send text commands to your computer that can manipulate the file system, run programs, automate tasks, and much more.", + "In this 170-lesson workshop, you will learn terminal commands by creating a website boilerplate using only the command line." + ] + }, + "review-bash-commands": { + "title": "Bash Commands Review", + "intro": [ + "Review the Bash Commands concepts to prepare for the upcoming quiz." + ] + }, + "quiz-bash-commands": { + "title": "Bash Commands Quiz", + "intro": ["Test what you've learned bash commands with this quiz."] + } + } + }, + "introduction-to-sql-and-postgresql": { + "title": "Introduction to SQL and PostgreSQL", + "summary": [ + "Learn how to use SQL and PostgreSQL to create and manage relational databases." + ], + "intro": [ + "SQL (Structured Query Language) is a programming language used to manage and manipulate relational databases. It allows you to create, read, update, and delete data in a database.", + "PostgreSQL is a powerful, open-source relational database management system that uses SQL as its query language. It provides a robust and scalable platform for storing and managing data." + ], + "note": "", + "blocks": { + "lecture-working-with-relational-databases": { + "title": "Working with Relational Databases", + "intro": [ + "Learn how to work with Relational Databases in these lessons." + ] + }, + "workshop-database-of-video-game-characters": { + "title": "Build a Database of Video Game Characters", + "intro": [ + "A relational database organizes data into tables that are linked together through relationships.", + "In this 165-lesson workshop, you will learn the basics of a relational database by creating a PostgreSQL database filled with video game characters." + ] + }, + "lab-celestial-bodies-database": { + "title": "Build a Celestial Bodies Database", + "intro": [ + "For this project, you will build a database of celestial bodies using PostgreSQL." + ] + }, + "review-sql-and-postgresql": { + "title": "SQL and PostgreSQL Review", + "intro": [ + "Review SQL and PostgreSQL concepts to prepare for the upcoming quiz." + ] + }, + "quiz-sql-and-postgresql": { + "title": "SQL and PostgreSQL Quiz", + "intro": [ + "Test what you've learned about SQL and PostgreSQL with this quiz." + ] + } + } + }, + "learn-bash-scripting": { + "title": "Learn Bash Scripting", + "summary": [ + "Learn how to write Bash scripts to automate tasks and manage files and processes." + ], + "intro": [ + "Bash scripts combine terminal commands and logic into programs that can execute or automate tasks, and much more.", + "In this course, you will learn more terminal commands and how to use them within Bash scripts by creating five small programs." + ], + "note": "", + "blocks": { + "lecture-understanding-bash-scripting": { + "title": "Understanding Bash Scripting", + "intro": ["Learn about Bash Scripting in these lessons."] + }, + "workshop-bash-five-programs": { + "title": "Build Five Programs", + "intro": [ + "Bash scripts combine terminal commands and logic into programs that can execute or automate tasks, and much more.", + "In this 220-lesson workshop, you will learn more terminal commands and how to use them within Bash scripts by creating five small programs." + ] + }, + "review-bash-scripting": { + "title": "Bash Scripting Review", + "intro": [ + "Review the bash scripting concepts you've learned to prepare for the upcoming quiz." + ] + }, + "quiz-bash-scripting": { + "title": "Bash Scripting Quiz", + "intro": ["Test what you've learned on bash scripting in this quiz."] + } + } + }, + "learn-sql-and-bash": { + "title": "Learn SQL and Bash", + "summary": [ + "Learn how to use SQL and Bash together to manage and manipulate relational databases." + ], + "intro": [ + "SQL, or Structured Query Language, is the language for communicating with a relational database. Bash is a Unix shell and command language that provides a powerful interface for interacting with your computer's operating system.", + "In this course, you will create a Bash script that uses SQL to enter information about your computer science students into PostgreSQL." + ], + "note": "", + "blocks": { + "lecture-working-with-sql": { + "title": "Working With SQL", + "intro": [ + "In these lessons, you will learn about SQL injection, normalization, and the N+1 problem." + ] + }, + "workshop-sql-student-database-part-1": { + "title": "Build a Student Database: Part 1", + "intro": [ + "SQL, or Structured Query Language, is the language for communicating with a relational database.", + "In this 140-lesson workshop, you will create a Bash script that uses SQL to enter information about your computer science students into PostgreSQL." + ] + }, + "workshop-sql-student-database-part-2": { + "title": "Build a Student Database: Part 2", + "intro": [ + "SQL join commands are used to combine information from multiple tables in a relational database", + "In this 140-lesson workshop, you will complete your student database while diving deeper into SQL commands." + ] + }, + "workshop-kitty-ipsum-translator": { + "title": "Build a Kitty Ipsum Translator", + "intro": [ + "There's more to Bash commands than you might think.", + "In this 140-lesson workshop, you will learn some more complex commands, and the details of how commands work." + ] + }, + "workshop-bike-rental-shop": { + "title": "Build a Bike Rental Shop", + "intro": [ + "In this 210-lesson workshop, you will build an interactive Bash program that stores rental information for your bike rental shop using PostgreSQL." + ] + }, + "lab-world-cup-database": { + "title": "Build a World Cup Database", + "intro": [ + "For this project, you will create a Bash script that enters information from World Cup games into PostgreSQL, then query the database for useful statistics." + ] + }, + "lab-salon-appointment-scheduler": { + "title": "Build a Salon Appointment Scheduler", + "intro": [ + "For this lab, you will create an interactive Bash program that uses PostgreSQL to track the customers and appointments for your salon." + ] + }, + "review-bash-and-sql": { + "title": "Bash and SQL Review", + "intro": [ + "Review the Bash and SQL concepts to prepare for the upcoming quiz." + ] + }, + "quiz-bash-and-sql": { + "title": "Bash and SQL Quiz", + "intro": ["Test what you've learned in this quiz on Bash and SQL."] + } + } + }, + "introduction-to-nano": { + "title": "Introduction to Nano", + "summary": [ + "Learn how to use the Nano text editor to create and edit files in the terminal." + ], + "intro": [ + "Nano is a simple, user-friendly text editor that runs in the terminal. It allows you to create and edit files without leaving the command line.", + "In this course, you'll learn how to use Nano to create and edit files, navigate through text, and perform basic editing operations." + ], + "note": "", + "blocks": { + "lecture-working-with-nano": { + "title": "Working With Nano", + "intro": ["Learn about Nano in this lesson."] + }, + "workshop-castle": { + "title": "Build a Castle", + "intro": [ + "Nano is a program that allows you to edit files right in the terminal.", + "In this 40-lesson workshop, you will learn how to edit files in the terminal with Nano while building a castle." + ] + } + } + }, + "introduction-to-git-and-github": { + "title": "Introduction to Git and GitHub", + "summary": [ + "Learn how to use Git and GitHub to manage and collaborate on software projects." + ], + "intro": [ + "Git is a version control system that allows developers to track changes in their code and collaborate with others. GitHub is a web-based platform that provides hosting for Git repositories, making it easier for developers to share and collaborate on projects.", + "In this course, you'll learn the basics of Git and GitHub, including how to create repositories, commit changes, and collaborate with others on software projects." + ], + "note": "", + "blocks": { + "lecture-introduction-to-git-and-github": { + "title": "Introduction to Git and GitHub", + "intro": ["Learn how to work with Git and GitHub in these lessons."] + }, + "lecture-working-with-code-reviews-branching-deployment-and-ci-cd": { + "title": "Working With Code Reviews, Branching, Deployment, and CI/CD", + "intro": [ + "Learn about code reviews, branching, deployment, and CI/CD in these lessons." + ] + }, + "workshop-sql-reference-object": { + "title": "Build an SQL Reference Object", + "intro": [ + "Git is a version control system that keeps track of all the changes you make to your codebase.", + "In this 240-lesson workshop, you will learn how Git keeps track of your code by creating an object containing commonly used SQL commands." + ] + }, + "review-git": { + "title": "Git Review", + "intro": ["Review Git concepts to prepare for the upcoming quiz."] + }, + "quiz-git": { + "title": "Git Quiz", + "intro": ["Test what you've learned on Git with this quiz."] + } + } + }, + "learn-oop-with-python": { + "title": "Learn OOP with Python", + "summary": [ + "In this video course, you will learn about object-oriented programming using Python." + ], + "intro": [ + "Object-Oriented Programming (OOP) is a programming paradigm based on the concept of objects, which can contain data and code to manipulate that data. This course introduces the key principles of OOP, including classes, objects, inheritance, and shows how to apply them in practice." + ], + "note": "", + "blocks": { + "oop-basics": { + "title": "OOP Basics", + "intro": [ + "In these videos, learn the basics of OOP including how to create classes and work with constructors." + ] + }, + "methods-and-inheritance": { + "title": "Methods and Inheritance", + "intro": [ + "In these videos, learn about methods and inheritance in OOP." + ] + }, + "advanced-oop-concepts": { + "title": "Advanced OOP Concepts", + "intro": [ + "In these videos, learn about advanced OOP concepts including getters, setters and other important OOP principles." + ] + } + } + }, + "introduction-to-python-basics": { + "title": "Introduction to Python Basics", + "summary": ["Learn the fundamentals of Python programming."], + "intro": [ + "In this interactive course, you will learn the basic syntax, data types, and control structures of Python." + ], + "note": "", + "blocks": { + "lecture-introduction-to-python": { + "title": "Introduction to Python", + "intro": [ + "In these lessons, you will learn what Python is and some common uses in the industry." + ] + }, + "lecture-understanding-variables-and-data-types": { + "title": "Understanding Variables and Data Types", + "intro": [ + "In these lessons, you will learn about variables and data types in Python." + ] + }, + "workshop-report-card-printer": { + "title": "Build a Report Card Printer", + "intro": [ + "In this workshop, you will practice working with primitive data types in Python by creating and printing data for a simple report card." + ] + }, + "lecture-introduction-to-python-strings": { + "title": "Introduction to Strings", + "intro": ["In these lessons, you will learn about strings in Python."] + }, + "workshop-employee-profile-generator": { + "title": "Build an Employee Profile Generator", + "intro": [ + "In this workshop, you will practice the fundamentals of string manipulation in Python by building a tool that generates formatted employee badges and analyzes employee codes." + ] + }, + "lecture-numbers-and-mathematical-operations": { + "title": "Numbers and Mathematical Operations", + "intro": [ + "In these lessons, you will learn about numbers and mathematical operations in Python." + ] + }, + "workshop-bill-splitter": { + "title": "Build a Bill Splitter", + "intro": [ + "In this workshop, you will build a bill splitter to practice working with numbers and mathematical operations in Python." + ] + }, + "lecture-booleans-and-conditionals": { + "title": "Booleans and Conditionals", + "intro": [ + "In these lessons, you will learn about booleans and conditionals in Python." + ] + }, + "workshop-movie-ticket-booking-calculator": { + "title": "Build a Movie Ticket Booking Calculator", + "intro": [ + "In this workshop, you will practice how to use booleans and conditional statements in Python by building a movie ticket booking calculator." + ] + }, + "lab-travel-weather-planner": { + "title": "Build a Travel Weather Planner", + "intro": [ + "In this lab, you will build a travel weather planner using conditionals." + ] + }, + "lecture-understanding-functions-and-scope": { + "title": "Understanding Functions and Scope", + "intro": [ + "In these lessons, you will learn about functions and scope in Python." + ] + }, + "lab-discount-calculator": { + "title": "Build an Apply Discount Function", + "intro": [ + "In this lab, you will practice basic Python by building a calculator to apply a discount to a price." + ] + }, + "workshop-caesar-cipher": { + "title": "Build a Caesar Cipher", + "intro": [ + "In this workshop, you'll build a Caesar cipher using basic Python concepts such as strings, conditionals, functions, and more." + ] + }, + "lab-rpg-character": { + "title": "Build an RPG Character", + "intro": [ + "In this lab you will practice basic Python by building an RPG character." + ] + }, + "review-python-basics": { + "title": "Python Basics Review", + "intro": [ + "Before you're quizzed on Python basics, you should review what you've learned about it.", + "In this review page, you will review working with strings, functions, comparison operators and more." + ] + }, + "quiz-python-basics": { + "title": "Python Basics Quiz", + "intro": [ + "Test what you've learned about Python basics with this quiz." + ] + } + } + }, + "learn-python-loops-and-sequences": { + "title": "Learn Python Loops and Sequences", + "summary": ["Learn how to work with loops and sequences in Python."], + "intro": [ + "In this interactive course, you will learn how to work with loops and sequences in Python." + ], + "note": "", + "blocks": { + "lecture-working-with-loops-and-sequences": { + "title": "Working with Loops and Sequences", + "intro": [ + "Learn about working with loops and sequences in these lessons." + ] + }, + "workshop-pin-extractor": { + "title": "Build a Pin Extractor", + "intro": [ + "In this workshop you will build a function to extract secret pins hidden in poems." + ] + }, + "lab-number-pattern-generator": { + "title": "Build a Number Pattern Generator", + "intro": ["In this lab you will build a number pattern generator."] + }, + "review-loops-and-sequences": { + "title": "Loops and Sequences Review", + "intro": [ + "Before you're quizzed on loops and sequences, you should review what you've learned about them.", + "Open up this page to review concepts around loops, lists, tuples and some of their common methods." + ] + }, + "quiz-loops-and-sequences": { + "title": "Loops and Sequences Quiz", + "intro": [ + "Test what you've learned about loops and sequences in Python with this quiz." + ] + } + } + }, + "learn-python-dictionaries-and-sets": { + "title": "Learn Python Dictionaries and Sets", + "summary": ["Learn how to work with dictionaries and sets in Python."], + "intro": [ + "In this interactive course, you will learn how to work with dictionaries and sets in Python." + ], + "note": "", + "blocks": { + "lecture-working-with-dictionaries-and-sets": { + "title": "Working with Dictionaries and Sets", + "intro": [ + "Learn about working with dictionaries and sets in these lessons." + ] + }, + "lecture-working-with-modules": { + "title": "Working with Modules", + "intro": ["Learn about working with modules in these lessons."] + }, + "workshop-medical-data-validator": { + "title": "Build a Medical Data Validator", + "intro": [ + "In this workshop, you'll practice working with dictionaries and sets while validating a collection of medical data." + ] + }, + "lab-user-configuration-manager": { + "title": "Build a User Configuration Manager", + "intro": [ + "In this lab, you will practice working with dictionaries in Python." + ] + }, + "review-dictionaries-and-sets": { + "title": "Dictionaries and Sets Review", + "intro": [ + "Before you're quizzed on dictionaries and sets, you should review what you've learned about them.", + "Open up this page to review concepts around dictionaries, sets, and how to import modules." + ] + }, + "quiz-dictionaries-and-sets": { + "title": "Dictionaries and Sets Quiz", + "intro": [ + "Test what you've learned about dictionaries and sets in Python with this quiz." + ] + } + } + }, + "learn-error-handling-in-python": { + "title": "Learn Error Handling in Python", + "summary": ["Learn how to handle errors and exceptions in Python."], + "intro": [ + "In this interactive course, you will learn how to handle errors and exceptions in Python." + ], + "note": "", + "blocks": { + "lecture-understanding-error-handling": { + "title": "Understanding Error Handling", + "intro": [ + "In these lessons, you will learn about error handling in Python. You will learn about the different types of errors, some good debugging practices, what exceptions are, and how to handle them." + ] + }, + "lab-isbn-validator": { + "title": "Debug an ISBN Validator", + "intro": [ + "In this lab, you will start with a bugged app, and you will need to debug and fix the bugs until it is working properly." + ] + }, + "review-error-handling": { + "title": "Error Handling Review", + "intro": [ + "Before you're quizzed on error handling, you should review what you've learned about it." + ] + }, + "quiz-error-handling": { + "title": "Error Handling Quiz", + "intro": [ + "Test what you've learned about Error Handling in Python with this quiz." + ] + } + } + }, + "learn-python-classes-and-objects": { + "title": "Learn Python Classes and Objects", + "summary": ["Learn how to work with classes and objects in Python."], + "intro": [ + "In this interactive course, you will learn how to work with classes and objects in Python." + ], + "note": "", + "blocks": { + "lecture-classes-and-objects": { + "title": "Classes and Objects", + "intro": ["Learn about classes and objects in these lessons."] + }, + "workshop-musical-instrument-inventory": { + "title": "Build a Musical Instrument Inventory", + "intro": [ + "In this workshop, you will learn about classes, objects, and methods in Python by building a simple musical instrument inventory." + ] + }, + "lab-planet-class": { + "title": "Build a Planet Class", + "intro": [ + "In this lab you will create a class that represents a planet." + ] + }, + "workshop-email-simulator": { + "title": "Build an Email Simulator", + "intro": [ + "In this workshop you will implement classes and objects by building an email simulator that simulates sending, receiving, and managing emails between different users." + ] + }, + "lab-budget-app": { + "title": "Build a Budget App", + "intro": [ + "In this lab you will build a budget app and practice creating a class and methods for that class." + ] + }, + "review-classes-and-objects": { + "title": "Classes and Objects Review", + "intro": [ + "Before you're quizzed on classes and objects, you should review what you've learned about them.", + "Open up this page to review concepts like how classes work, what are objects, methods, attributes, special methods and more." + ] + }, + "quiz-classes-and-objects": { + "title": "Classes and Objects Quiz", + "intro": [ + "Test what you've learned about classes and objects in Python with this quiz." + ] + } + } + }, + "introduction-to-oop-in-python": { + "title": "Introduction to OOP in Python", + "summary": [ + "Learn the basics of Object-Oriented Programming (OOP) in Python." + ], + "intro": [ + "In this interactive course, you will learn the basics of Object-Oriented Programming (OOP) in Python." + ], + "note": "", + "blocks": { + "lecture-understanding-object-oriented-programming-and-encapsulation": { + "title": "Understanding Object Oriented Programming and Encapsulation", + "intro": [ + "Learn about understanding object oriented programming and encapsulation in these lessons." + ] + }, + "workshop-salary-tracker": { + "title": "Build a Salary Tracker", + "intro": [ + "In this workshop, you'll practice encapsulation, properties, and other OOP concepts by building a salary tracking system for employees." + ] + }, + "lab-game-character-stats": { + "title": "Build a Game Character Stats Tracker", + "intro": [ + "In this lab, you will build a game character with different stats using object-oriented programming." + ] + }, + "lecture-understanding-inheritance-and-polymorphism": { + "title": "Understanding Inheritance and Polymorphism", + "intro": [ + "Learn about understanding inheritance and polymorphism in these lessons." + ] + }, + "workshop-media-catalogue": { + "title": "Build a Media Catalogue", + "intro": [ + "In this workshop, you will create a media catalogue application using object-oriented programming principles." + ] + }, + "lecture-understanding-abstraction": { + "title": "Understanding Abstraction", + "intro": ["Learn about understanding abstraction in these lessons."] + }, + "workshop-discount-calculator": { + "title": "Build a Discount Calculator", + "intro": [ + "In this workshop you will build a flexible discount pricing calculator through abstract base classes, allowing multiple discount algorithms to be applied interchangeably without modifying the core logic." + ] + }, + "lab-player-interface": { + "title": "Build a Player Interface", + "intro": [ + "In this lab, you'll use the abc module to build a player interface." + ] + }, + "lab-polygon-area-calculator": { + "title": "Build a Polygon Area Calculator", + "intro": [ + "In this lab, you will use object-oriented programming to calculate the areas of different polygons like squares and rectangles." + ] + }, + "review-object-oriented-programming": { + "title": "Object Oriented Programming Review", + "intro": [ + "Before you're quizzed on object oriented programming, you should review what you've learned about it." + ] + }, + "quiz-object-oriented-programming": { + "title": "Object Oriented Programming Quiz", + "intro": [ + "Test what you've learned about object oriented programming in Python with this quiz." + ] + } + } + }, + "introduction-to-linear-data-structures-in-python": { + "title": "Introduction to Linear Data Structures in Python", + "summary": ["Learn the basics of linear data structures in Python."], + "intro": [ + "In this interactive course, you will learn the basics of linear data structures in Python." + ], + "note": "", + "blocks": { + "lecture-working-with-common-data-structures": { + "title": "Working with Common Data Structures", + "intro": [ + "Learn about working with common data structures in these lessons." + ] + }, + "workshop-linked-list-class": { + "title": "Build a Linked List", + "intro": [ + "In this workshop, you'll practice working with data structures by building a linked list." + ] + }, + "lab-hash-table": { + "title": "Build a Hash Table", + "intro": [ + "A hash table is a data structure that is used to store key-value pairs and is optimized for quick lookups.", + "In this lab, you will use your knowledge about data structures to build a hash table." + ] + }, + "review-data-structures": { + "title": "Data Structures Review", + "intro": [ + "Before you're quizzed on data structures, you should review what you've learned about them.", + "Open up this page to review concepts like the different data structures, algorithms, time and space complexity, and big O notation." + ] + }, + "quiz-data-structures": { + "title": "Data Structures Quiz", + "intro": [ + "Test what you've learned about data structures in Python with this quiz." + ] + } + } + }, + "learn-algorithms-in-python": { + "title": "Learn Algorithms in Python", + "summary": ["Learn the basics of algorithms in Python."], + "intro": [ + "In this interactive course, you will learn the basics of algorithms in Python." + ], + "note": "", + "blocks": { + "lecture-searching-and-sorting-algorithms": { + "title": "Searching and Sorting Algorithms", + "intro": [ + "Learn about fundamental searching and sorting algorithms, including linear search, binary search, and merge sort.", + "These lessons cover algorithm implementations, time and space complexity analysis, and the divide and conquer programming paradigm." + ] + }, + "workshop-binary-search": { + "title": "Implement the Binary Search Algorithm", + "intro": [ + "The binary search algorithm is a searching algorithm used to find a target item in a sorted list.", + "In this workshop, you'll implement the binary search algorithm and return the path it took to find the target or return 'Value not found'." + ] + }, + "lab-bisection-method": { + "title": "Implement the Bisection Method", + "intro": [ + "In this lab, you will implement the bisection method to find the square root of a number." + ] + }, + "workshop-merge-sort": { + "title": "Implement the Merge Sort Algorithm", + "intro": [ + "The merge sort algorithm is a sorting algorithm based on the divide and conquer principle.", + "In this workshop, you'll implement the merge sort algorithm to sort a list of random numbers." + ] + }, + "lab-quicksort": { + "title": "Implement the Quicksort Algorithm", + "intro": [ + "In this lab you will implement the quicksort algorithm to sort a list of integers." + ] + }, + "lab-selection-sort": { + "title": "Implement the Selection Sort Algorithm", + "intro": [ + "In this lab you will implement the selection sort algorithm." + ] + }, + "lab-luhn-algorithm": { + "title": "Implement the Luhn Algorithm", + "intro": [ + "In this lab, you will implement the Luhn algorithm to validate identification numbers such as credit card numbers." + ] + }, + "lab-tower-of-hanoi": { + "title": "Implement the Tower of Hanoi Algorithm", + "intro": [ + "In this lab, you will implement an algorithm to solve the Tower of Hanoi puzzle." + ] + }, + "review-searching-and-sorting-algorithms": { + "title": "Searching and Sorting Algorithms Review", + "intro": [ + "Before you're quizzed on searching and sorting algorithms, you should review what you've learned about them." + ] + }, + "quiz-searching-and-sorting-algorithms": { + "title": "Searching and Sorting Algorithms Quiz", + "intro": [ + "Test what you've learned about searching and sorting algorithms in Python with this quiz." + ] + } + } + }, + "learn-graphs-and-trees-in-python": { + "title": "Learn Graphs and Trees in Python", + "summary": ["Learn the basics of graphs and trees in Python."], + "intro": [ + "In this interactive course, you will learn the basics of graphs and trees in Python." + ], + "note": "", + "blocks": { + "lecture-understanding-graphs-and-trees": { + "title": "Understanding Graphs and Trees", + "intro": [ + "In this lesson, you will learn about fundamental data structures like graphs, trees, and their practical applications in computer science." + ] + }, + "workshop-shortest-path-algorithm": { + "title": "Implement the Shortest Path Algorithm", + "intro": [ + "In this workshop you will implement an algorithm to find the shortest path between two nodes in a graph." + ] + }, + "lab-adjacency-list-to-matrix-converter": { + "title": "Build an Adjacency List to Matrix Converter", + "intro": [ + "In this lab, you will implement a function that converts an adjacency list representation of a graph into an adjacency matrix representation." + ] + }, + "workshop-breadth-first-search": { + "title": "Implement the Breadth-First Search Algorithm", + "intro": [ + "In this workshop, you will use the breadth-first search algorithm to generate all valid combinations of parentheses." + ] + }, + "lab-depth-first-search": { + "title": "Implement the Depth-First Search Algorithm", + "intro": [ + "In this lab, you will implement the Depth-First Search Algorithm." + ] + }, + "lab-n-queens-problem": { + "title": "Implement the N-Queens Algorithm", + "intro": [ + "In this lab, you will implement a solution for the N-Queens problem." + ] + }, + "review-graphs-and-trees": { + "title": "Graphs and Trees Review", + "intro": [ + "Before you're quizzed on graphs and trees, you should review what you've learned about them." + ] + }, + "quiz-graphs-and-trees": { + "title": "Graphs and Trees Quiz", + "intro": [ + "Test what you've learned about graphs and trees in Python with this quiz." + ] + } + } + }, + "learn-dynamic-programming-in-python": { + "title": "Learn Dynamic Programming in Python", + "summary": ["Learn the basics of dynamic programming in Python."], + "intro": [ + "In this interactive course, you will learn the basics of dynamic programming in Python." + ], + "note": "", + "blocks": { + "lecture-understanding-dynamic-programming": { + "title": "Understanding Dynamic Programming", + "intro": [ + "In this lesson, you will learn about dynamic programming, an algorithmic technique used to solve complex problems efficiently by breaking them down into simpler subproblems." + ] + }, + "lab-nth-fibonacci-number": { + "title": "Build an Nth Fibonacci Number Calculator", + "intro": [ + "In this lab you will implement a Fibonacci sequence calculator using a dynamic programming approach." + ] + }, + "review-dynamic-programming": { + "title": "Dynamic Programming Review", + "intro": [ + "Before you're quizzed on dynamic programming, you should review what you've learned about it." + ] + }, + "quiz-dynamic-programming": { + "title": "Dynamic Programming Quiz", + "intro": [ + "Test what you've learned about dynamic programming in Python with this quiz." + ] + } + } + }, + "introduction-to-variables-and-strings-in-javascript": { + "title": "Introduction to Variables and Strings in JavaScript", + "summary": ["Learn the basics of variables and strings in JavaScript."], + "intro": [ + "In this interactive course, you will learn about variables and strings, which are fundamental concepts in JavaScript programming." + ], + "note": "", + "blocks": { + "lecture-introduction-to-javascript": { + "title": "Introduction to JavaScript", + "intro": [ + "In these lectures, you will learn the fundamentals of JavaScript. Topics covered include, but are not limited to, variables, data types, how JavaScript interacts with HTML and CSS, strings, and much more." + ] + }, + "lecture-introduction-to-strings": { + "title": "Introduction to Strings", + "intro": [ + "In these lessons, you will learn how to work with strings, string concatenation, and console.log()." + ] + }, + "lecture-understanding-code-clarity": { + "title": "Understanding Code Clarity", + "intro": [ + "In these lessons, you will learn about comments in JavaScript and the role of semicolons in programming." + ] + }, + "workshop-greeting-bot": { + "title": "Build a Greeting Bot", + "intro": [ + "In this workshop, you will learn JavaScript fundamentals by building a greeting bot.", + "You will learn about variables, let, const, console.log and basic string usage." + ] + }, + "lab-javascript-trivia-bot": { + "title": "Build a JavaScript Trivia Bot", + "intro": [ + "In this lab, you'll practice working with JavaScript variables and strings by building a trivia bot." + ] + }, + "lab-sentence-maker": { + "title": "Build a Sentence Maker", + "intro": [ + "In this lab, you will continue practicing with strings and concatenation by creating and customizing various stories." + ] + }, + "lecture-working-with-data-types": { + "title": "Working with Data Types", + "intro": [ + "In the following lectures, you will learn how to work with data types in JavaScript. You will also learn how dynamic typing differs from static typing, the typeof operator, and the typeof null bug." + ] + }, + "review-javascript-variables-and-data-types": { + "title": "JavaScript Variables and Data Types Review", + "intro": [ + "Before you are quizzed on JavaScript variables and data types you first need to review the concepts.", + "Open up this page to review variables, data types, logging and commenting." + ] + }, + "quiz-javascript-variables-and-data-types": { + "title": "JavaScript Variables and Data Types Quiz", + "intro": [ + "Test your knowledge of JavaScript variables and data types with this quiz." + ] + }, + "lecture-working-with-strings-in-javascript": { + "title": "Working with Strings in JavaScript", + "intro": [ + "In these lectures, you will learn how to work with strings in JavaScript. You will learn how to access characters from a string, how to use template literals and interpolation, how to create a new line in strings, and much more." + ] + }, + "workshop-teacher-chatbot": { + "title": "Build a Teacher Chatbot", + "intro": [ + "In this workshop, you will continue to learn more about JavaScript strings by building a chatbot.", + "You will learn how to work with template literals, and the indexOf method." + ] + }, + "lecture-working-with-string-character-methods": { + "title": "Working with String Character Methods", + "intro": [ + "In this lecture you will learn about ASCII character encoding and how to use JavaScript's charCodeAt() and fromCharCode() methods to convert between characters and their numerical ASCII values." + ] + }, + "lecture-working-with-string-search-and-slice-methods": { + "title": "Working with String Search and Slice Methods", + "intro": [ + "In this lecture you will learn how to search for substrings using the includes() method and how to extract portions of strings using the slice() method." + ] + }, + "workshop-string-inspector": { + "title": "Build a String Inspector", + "intro": [ + "In this workshop, you will practice working with the includes() and slice() methods by building a string inspector." + ] + }, + "lecture-working-with-string-formatting-methods": { + "title": "Working with String Formatting Methods", + "intro": [ + "In this lecture you will learn how to format strings by changing their case using toUpperCase() and toLowerCase() methods, and how to remove whitespace using trim(), trimStart(), and trimEnd() methods." + ] + }, + "workshop-string-formatter": { + "title": "Build a String Formatter", + "intro": [ + "In this workshop, you will practice working with various string methods including trim(), toUpperCase() and toLowerCase()." + ] + }, + "lecture-working-with-string-modification-methods": { + "title": "Working with String Modification Methods", + "intro": [ + "In this lecture you will learn how to modify strings by replacing parts of them using the replace() method and how to repeat strings multiple times using the repeat() method." + ] + }, + "workshop-string-transformer": { + "title": "Build a String Transformer", + "intro": [ + "In this workshop, you will practice working with the replace(), replaceAll() and repeat() methods." + ] + }, + "review-javascript-strings": { + "title": "JavaScript Strings Review", + "intro": [ + "Before you are quizzed on working with JavaScript strings, you first need to review.", + "Open up this page to review how to work with template literals, the slice method, the includes method, the trim method and more." + ] + }, + "quiz-javascript-strings": { + "title": "JavaScript Strings Quiz", + "intro": ["Test your knowledge of JavaScript strings with this quiz."] + } + } + }, + "introduction-to-booleans-and-numbers-in-javascript": { + "title": "Introduction to Booleans and Numbers in JavaScript", + "summary": ["Learn the basics of booleans and numbers in JavaScript."], + "intro": [ + "In this interactive course, you will learn how to work with booleans and numbers in JavaScript." + ], + "note": "", + "blocks": { + "lecture-working-with-numbers-and-arithmetic-operators": { + "title": "Working with Numbers and Arithmetic Operators", + "intro": [ + "In these lectures you will learn about the number type, arithmetic operators, and using them with numbers and strings." + ] + }, + "lab-debug-type-coercion-errors": { + "title": "Debug Type Coercion Errors in a Buggy App", + "intro": [ + "In this lab, you will be working with a buggy app that contains several type coercion errors.", + "Your task is to identify and fix these errors to ensure the app functions correctly." + ] + }, + "lecture-working-with-operator-behavior": { + "title": "Working with Operator Behavior", + "intro": [ + "In these lectures you will learn about operator precedence, the increment and decrement operators, and compound assignment operators." + ] + }, + "lab-debug-increment-and-decrement-operator-errors": { + "title": "Debug Increment and Decrement Operator Errors in a Buggy App", + "intro": [ + "In this lab, you'll debug an app that has several errors related to the increment and decrement operators.", + "Your task is to identify and fix the errors so that the app works as intended." + ] + }, + "lecture-working-with-comparison-and-boolean-operators": { + "title": "Working with Comparison and Boolean Operators", + "intro": [ + "In these lectures you will learn about booleans, and equality and inequality operators, and other comparison operators." + ] + }, + "workshop-logic-checker-app": { + "title": "Build a Logic Checker App", + "intro": [ + "In this workshop, you'll practice working with conditional statements and comparison operators by building a logic checker app." + ] + }, + "lecture-working-with-unary-and-bitwise-operators": { + "title": "Working with Unary and Bitwise Operators", + "intro": [ + "In these lectures, you will learn about unary and bitwise operators." + ] + }, + "lecture-working-with-conditional-logic-and-math-methods": { + "title": "Working with Conditional Logic and Math Methods", + "intro": [ + "In these lectures, you will learn about conditional statements, binary logical operators, and the Math object." + ] + }, + "workshop-mathbot": { + "title": "Build a Mathbot", + "intro": [ + "In this workshop, you will review how to work with the different Math object methods by building a Mathbot." + ] + }, + "lab-fortune-teller": { + "title": "Build a Fortune Teller", + "intro": [ + "In this lab, you'll build a fortune teller by randomly selecting a fortune from the available fortunes.", + "You'll practice how to work with the Math.random() method and the Math.floor() method to generate random numbers." + ] + }, + "lecture-working-with-numbers-and-common-number-methods": { + "title": "Working with Numbers and Common Number Methods", + "intro": [ + "In these lectures, you will learn about numbers and common number methods. These include isNaN(), parseInt(), parseFloat(), and toFixed()." + ] + }, + "review-javascript-math": { + "title": "JavaScript Math Review", + "intro": [ + "Before you're quizzed on working with the Math object, you should review what you've learned.", + "Open up this page to review how to work with the Math.random() method, the Math.floor() method and more." + ] + }, + "quiz-javascript-math": { + "title": "JavaScript Math Quiz", + "intro": [ + "Test your knowledge of the JavaScript Math object with this quiz." + ] + }, + "lecture-understanding-comparisons-and-conditionals": { + "title": "Understanding Comparisons and Conditionals", + "intro": [ + "In these lectures, you will learn about comparison operators and conditionals. You will learn how the various conditionals differ from one another, and how comparisons work with null and undefined." + ] + }, + "review-javascript-comparisons-and-conditionals": { + "title": "JavaScript Comparisons and Conditionals Review", + "intro": [ + "Before you're quizzed on working with conditionals, you should review what you've learned about them.", + "Open up this page to review how to work with switch statements, other types of conditionals and more." + ] + }, + "quiz-javascript-comparisons-and-conditionals": { + "title": "JavaScript Comparisons and Conditionals Quiz", + "intro": [ + "Test your knowledge of JavaScript Comparisons and Conditionals with this quiz." + ] + } + } + }, + "introduction-functions-in-javascript": { + "title": "Introduction to Functions in JavaScript", + "summary": ["Learn the basics of functions in JavaScript."], + "intro": [ + "In this interactive course, you will learn how to work with functions in JavaScript." + ], + "note": "", + "blocks": { + "lecture-working-with-functions": { + "title": "Working with Functions", + "intro": [ + "In these lectures, you will learn how to reuse a block of code with functions. You will learn what the purpose of a function is and how they work, and how scope works in programming. " + ] + }, + "workshop-calculator": { + "title": "Build a Calculator", + "intro": [ + "In this workshop, you will review your knowledge of functions by building a calculator." + ] + }, + "lab-boolean-check": { + "title": "Build a Boolean Check Function", + "intro": [ + "In this lab, you'll implement a function that checks if a value is a boolean." + ] + }, + "lab-email-masker": { + "title": "Build an Email Masker", + "intro": [ + "In this lab, you'll build an email masker that will take an email address and obscure it.", + "You'll practice string slicing, concatenation, and using functions." + ] + }, + "workshop-loan-qualification-checker": { + "title": "Build a Loan Qualification Checker", + "intro": [ + "In this workshop, you will continue to learn how to work with conditionals by building a loan qualification checker app.", + "You will learn more about if statements, and how to use comparison operators and multiple conditions in an if statement." + ] + }, + "lab-celsius-to-fahrenheit-converter": { + "title": "Build a Celsius to Fahrenheit Converter", + "intro": [ + "In this lab you will implement a function that converts the temperature from Celsius to Fahrenheit." + ] + }, + "lab-counting-cards": { + "title": "Build a Card Counting Assistant", + "intro": ["In this lab you will use JavaScript to count dealt cards."] + }, + "lab-leap-year-calculator": { + "title": "Build a Leap Year Calculator ", + "intro": [ + "In this lab you'll use conditional statements and loops to determine if a year is a leap year." + ] + }, + "lab-truncate-string": { + "title": "Implement the Truncate String Algorithm", + "intro": [ + "In this lab, you will practice truncating a string at a certain length." + ] + }, + "lab-string-ending-checker": { + "title": "Build a Confirm the Ending Tool", + "intro": [ + "In this lab, you will implement a function that checks if a given string ends with a specified target string." + ] + }, + "review-javascript-functions": { + "title": "JavaScript Functions Review", + "intro": [ + "Before you're quizzed on JavaScript functions, you should review what you've learned about them.", + "Open up this page to review functions, arrow functions and scope." + ] + }, + "quiz-javascript-functions": { + "title": "JavaScript Functions Quiz", + "intro": ["Test your knowledge of JavaScript functions with this quiz."] + } + } + }, + "introduction-to-arrays-in-javascript": { + "title": "Introduction to Arrays in JavaScript", + "summary": ["Learn the basics of arrays in JavaScript."], + "intro": [ + "In this interactive course, you will learn how to work with arrays in JavaScript." + ], + "note": "", + "blocks": { + "lecture-working-with-arrays": { + "title": "Working with Arrays", + "intro": [ + "In these lectures, you will learn how to work with JavaScript arrays. You will learn about what makes an array, one-dimensional and two-dimensional arrays, how to access and update the elements in an array, and much more." + ] + }, + "workshop-shopping-list": { + "title": "Build a Shopping List", + "intro": [ + "In this workshop, you will practice how to work with arrays by building a shopping list.", + "You will review how to add and remove elements from an array using methods like push, pop, shift, and unshift." + ] + }, + "lab-lunch-picker-program": { + "title": "Build a Lunch Picker Program", + "intro": [ + "In this lab, you'll review working with arrays and random numbers by building a lunch picker program." + ] + }, + "lab-golf-score-translator": { + "title": "Build a Golf Score Translator", + "intro": [ + "For this lab, you will use array methods to translate golf scores into their nickname." + ] + }, + "lecture-working-with-common-array-methods": { + "title": "Working with Common Array Methods", + "intro": [ + "In these lectures, you will learn about the array methods for performing more advanced operations like getting the position of an item in an array, checking if an array contains a certain element, copying an array, and lots more." + ] + }, + "review-javascript-arrays": { + "title": "JavaScript Arrays Review", + "intro": [ + "Before you're quizzed on JavaScript arrays, you should review what you've learned about them.", + "Open up this page to review concepts like array destructuring, how to add and remove elements from an array, and more." + ] + }, + "quiz-javascript-arrays": { + "title": "JavaScript Arrays Quiz", + "intro": ["Test your knowledge of JavaScript arrays with this quiz."] + } + } + }, + "introduction-to-objects-in-javascript": { + "title": "Introduction to Objects in JavaScript", + "summary": ["Learn the basics of objects in JavaScript."], + "intro": [ + "In this interactive course, you will learn how to work with objects in JavaScript." + ], + "note": "", + "blocks": { + "lecture-introduction-to-javascript-objects-and-their-properties": { + "title": "Introduction to JavaScript Objects and Their Properties", + "intro": [ + "In these lectures, you will learn the fundamentals of JavaScript objects, including how to create them, access their properties, and understand the difference between primitive and non-primitive data types." + ] + }, + "workshop-wildlife-tracker": { + "title": "Build a Wildlife Tracker", + "intro": [ + "In this workshop, you will build a simple Wildlife Tracker using JavaScript objects.", + "You will practice creating objects, accessing and updating properties, removing properties, checking for property existence, and working with bracket notation." + ] + }, + "lab-cargo-manifest-validator": { + "title": "Build a Cargo Manifest Validator", + "intro": [ + "In this lab, you will use JavaScript to normalize and validate cargo manifests." + ] + }, + "lecture-working-with-json": { + "title": "Working with JSON", + "intro": [ + "In these lectures, you will learn about JavaScript Object Notation (JSON), including how to access JSON data and use the JSON.parse() and JSON.stringify() methods." + ] + }, + "lecture-working-with-optional-chaining-and-object-destructuring": { + "title": "Working with Optional Chaining and Object Destructuring", + "intro": [ + "In these lectures, you will learn about advanced object manipulation techniques in JavaScript, including the optional chaining operator and object destructuring syntax." + ] + }, + "workshop-recipe-tracker": { + "title": "Build a Recipe Tracker", + "intro": [ + "In this workshop, you will review working with JavaScript objects by building a recipe tracker." + ] + }, + "lab-quiz-game": { + "title": "Build a Quiz Game", + "intro": [ + "In this lab, you'll build a quiz game using JavaScript arrays and objects.", + "You'll also practice using functions to randomly select a question and an answer from an array and compare them." + ] + }, + "lab-record-collection": { + "title": "Build a Record Collection", + "intro": [ + "In this lab you will build a function to manage a record collection." + ] + }, + "review-javascript-objects": { + "title": "JavaScript Objects Review", + "intro": [ + "Before you're quizzed on JavaScript objects, you should review what you've learned about them.", + "Open up this page to review concepts including how to access information from objects, object destructuring, working with JSON, and more." + ] + }, + "quiz-javascript-objects": { + "title": "JavaScript Objects Quiz", + "intro": ["Test your knowledge of JavaScript objects with this quiz."] + } + } + }, + "introduction-to-loops-in-javascript": { + "title": "Introduction to Loops in JavaScript", + "summary": ["Learn the basics of loops in JavaScript."], + "intro": [ + "In this interactive course, you will learn how to work with loops in JavaScript." + ], + "note": "", + "blocks": { + "lecture-working-with-loops": { + "title": "Working with Loops", + "intro": [ + "Loops are an essential part of JavaScript. That's why the following lectures have been prepared for you to learn about the different types of loops and how they work, and also how iteration works." + ] + }, + "workshop-word-counter": { + "title": "Build a Word Counter", + "intro": [ + "In this workshop, you will practice using for...of loops by building a function that counts the occurrences of a string in an array of strings." + ] + }, + "workshop-sentence-analyzer": { + "title": "Build a Sentence Analyzer", + "intro": [ + "In this workshop, you'll review how to work with JavaScript loops by building a sentence analyzer app." + ] + }, + "lab-traffic-light-sequencer": { + "title": "Build a Traffic Light Sequencer", + "intro": [ + "In this lab, you will use JavaScript loops to build a traffic light sequencer." + ] + }, + "workshop-space-mission-roster": { + "title": "Build a Space Mission Roster", + "intro": [ + "In this workshop, you'll leverage JavaScript loops to build a space mission roster." + ] + }, + "workshop-heritage-library-catalog": { + "title": "Build a Heritage Library Catalog", + "intro": [ + "In this workshop, you will digitize historical catalog cards for a heritage library.", + "You will practice using loops, objects, and string methods to parse raw text data, search and group entries, render formatted output, and export to JSON and CSV." + ] + }, + "lab-longest-word-in-a-string": { + "title": "Build a Longest Word Finder App", + "intro": [ + "In this lab, you will use JavaScript loops to find the length of the longest word in the given sentence." + ] + }, + "lab-factorial-calculator": { + "title": "Build a Factorial Calculator ", + "intro": [ + "In this lab, you'll build a factorial calculator.", + "You'll practice using loops and conditionals to calculate the factorial of a number." + ] + }, + "lab-mutations": { + "title": "Implement the Mutations Algorithm", + "intro": [ + "In this lab, you will practice iterating over two different strings to compare their characters." + ] + }, + "lab-chunky-monkey": { + "title": "Implement the Chunky Monkey Algorithm", + "intro": [ + "In this lab, you will practice dividing an array into smaller arrays with the technique of your choice." + ] + }, + "lab-profile-lookup": { + "title": "Build a Profile Lookup", + "intro": [ + "In this lab, you'll create a function that looks up profile information." + ] + }, + "lab-repeat-a-string": { + "title": "Build a String Repeating Function", + "intro": [ + "In this lab, you will implement loops to repeat a string a specified number of times." + ] + }, + "workshop-festival-crowd-flow-simulator": { + "title": "Build a Festival Crowd Flow Simulator", + "intro": [ + "In this workshop, you will use JavaScript to simulate the flow of attendants at a music festival." + ] + }, + "lab-missing-letter-detector": { + "title": "Build a Missing Letter Detector", + "intro": [ + "In this lab, you will build a function that finds the missing letter in a given range of consecutive letters and returns it." + ] + }, + "lab-smart-pantry-restocker": { + "title": "Build a Smart Pantry Restocker", + "intro": [ + "In this lab, you will build a small pantry management program using basic JavaScript concepts like arrays, objects, loops, and conditionals." + ] + }, + "lab-proofreading-tool": { + "title": "Build a Proofreading Tool", + "intro": [ + "In this lab, you will build a proofreading tool that analyzes arrays of words for palindromes and repeated phrases.", + "You will practice for loops and nested loops to check palindromes and find repeated word sequences." + ] + }, + "review-javascript-loops": { + "title": "JavaScript Loops Review", + "intro": [ + "Before you're quizzed on the different JavaScript loops, you should review them.", + "Open up this page to review the for...of loop, while loop, break and continue statements and more." + ] + }, + "quiz-javascript-loops": { + "title": "JavaScript Loops Quiz", + "intro": ["Test your knowledge of JavaScript loops with this quiz."] + } + } + }, + "javascript-fundamentals-review": { + "title": "JavaScript Fundamentals Review", + "summary": ["Review the core concepts of JavaScript."], + "intro": [ + "In this interactive course, you will practice core JavaScript fundamentals including loops, objects, arrays and more." + ], + "note": "", + "blocks": { + "lecture-working-with-types-and-objects": { + "title": "Working with Types and Objects", + "intro": [ + "In these lectures you will learn about string objects, the toString() method, the Number constructor and more." + ] + }, + "lecture-working-with-arrays-variables-and-naming-practices": { + "title": "Working with Arrays, Variables, and Naming Practices", + "intro": [ + "In these lectures you will learn about common practices for naming variables and functions, and how to work with arrays." + ] + }, + "lecture-working-with-code-quality-and-execution-concepts": { + "title": "Working with Code Quality and Execution Concepts", + "intro": [ + "In these lectures you will learn what are linters and formatters, what is memory management, and closures." + ] + }, + "lab-reverse-a-string": { + "title": "Build a String Inverter", + "intro": [ + "In this lab, you create a function that reverses a given string." + ] + }, + "lab-largest-number-finder": { + "title": "Build the Largest Number Finder", + "intro": [ + "In this lab, you will use JavaScript fundamentals to create a function that finds the largest number in each sub-array of a given array." + ] + }, + "lab-first-element-finder": { + "title": "Build a First Element Finder", + "intro": [ + "In this lab, you will create a function that looks through an array and returns the first element in it that passes a \"truth test\"." + ] + }, + "lab-slice-and-splice": { + "title": "Implement the Slice and Splice Algorithm", + "intro": [ + "In this lab, you will practice merging an array with another." + ] + }, + "lab-pyramid-generator": { + "title": "Build a Pyramid Generator", + "intro": [ + "In this lab you'll build a pyramid generator.", + "You'll take a number as input and generate a pyramid with that many levels using a loop." + ] + }, + "lab-gradebook-app": { + "title": "Build a Gradebook App", + "intro": [ + "For this lab, you'll create a gradebook app.", + "You'll practice conditionals to determine the student's grade based on their score." + ] + }, + "lab-story-fragment-restoration": { + "title": "Restore a Coherent Narrative from an Array of Story Fragments", + "intro": [ + "In this lab, you'll restore a coherent narrative from a corrupted array of story fragments.", + "You will practice working with loops by implementing fundamental array algorithms from scratch." + ] + }, + "lecture-the-var-keyword-and-hoisting": { + "title": "The var Keyword and Hoisting", + "intro": [ + "In these lectures, you will learn about the var keyword and why it is not recommended for use anymore. You will also learn about hoisting in JavaScript so you can avoid subtle bugs in your code." + ] + }, + "lab-title-case-converter": { + "title": "Build a Title Case Converter", + "intro": [ + "In this lab, you will build a function that converts a string to title case." + ] + }, + "lab-falsy-remover": { + "title": "Implement a Falsy Remover", + "intro": [ + "In this lab, you will create a function that removes all falsy values from an array." + ] + }, + "lab-inventory-management-program": { + "title": "Build an Inventory Management Program", + "intro": [ + "For this lab, you'll build an inventory management program using JavaScript.", + "You'll use JavaScript array of objects to manage the inventory." + ] + }, + "lecture-understanding-modules-imports-and-exports": { + "title": "Understanding Modules, Imports, and Exports", + "intro": [ + "In this lecture, you will learn about modules, imports, and exports in JavaScript." + ] + }, + "lecture-working-with-the-arguments-object-and-rest-parameters": { + "title": "Working With the Arguments Object and Rest Parameters", + "intro": [ + "In these lessons, you will learn how to work with the arguments object and rest parameter syntax." + ] + }, + "lab-unique-sorted-union": { + "title": "Implement a Unique Sorted Union", + "intro": [ + "In this lab, you will create a function that takes two or more arrays and returns a new array of unique values in the order of the original provided arrays." + ] + }, + "lab-password-generator": { + "title": "Build a Password Generator App", + "intro": [ + "In this lab, you'll build a password generator app based on the user's input." + ] + }, + "lab-sum-all-numbers-algorithm": { + "title": "Design a Sum All Numbers Algorithm", + "intro": [ + "In this lab, you will design a sum all numbers algorithm. This algorithm takes an array of two numbers and returns the sum of those two numbers plus the sum of all the numbers between them." + ] + }, + "lab-dna-pair-generator": { + "title": "Implement a DNA Pair Generator", + "intro": [ + "In this lab you will implement a DNA base pairing algorithm that converts a single DNA strand into complementary base pairs." + ] + }, + "lab-html-entitiy-converter": { + "title": "Implement an HTML Entity Converter", + "intro": [ + "In this lab, you will convert special characters in a string to their corresponding HTML entities." + ] + }, + "lab-odd-fibonacci-sum-calculator": { + "title": "Build an Odd Fibonacci Sum Calculator", + "intro": [ + "In this lab you will build an odd Fibonacci sum calculator that takes a number and returns the sum of all odd Fibonacci numbers that are less than or equal to that number." + ] + }, + "lab-element-skipper": { + "title": "Implement an Element Skipper", + "intro": [ + "In this lab you will create a function that skips elements in an array based on a specified step value." + ] + }, + "lab-playlist-remix-engine": { + "title": "Build a Playlist Remix Engine", + "intro": [ + "In this lab, you will build a Playlist Remix Engine using JavaScript arrays.", + "You will apply array methods and logic to transform data and generate a final remix schedule." + ] + }, + "review-javascript-fundamentals": { + "title": "JavaScript Fundamentals Review", + "intro": [ + "Before you are quizzed on JavaScript fundamentals, you first need to review the concepts.", + "Open up this page to review concepts like closures, memory management, and more." + ] + }, + "quiz-javascript-fundamentals": { + "title": "JavaScript Fundamentals Quiz", + "intro": [ + "Test your knowledge of JavaScript fundamentals with this quiz." + ] + } + } + }, + "introduction-to-higher-order-functions-and-callbacks-in-javascript": { + "title": "Introduction to Higher-Order Functions and Callbacks in JavaScript", + "summary": [ + "Learn the basics of higher-order functions and callbacks in JavaScript." + ], + "intro": [ + "In this interactive course, you will learn how to work with higher-order functions and callbacks in JavaScript." + ], + "note": "", + "blocks": { + "lecture-working-with-higher-order-functions-and-callbacks": { + "title": "Working with Higher Order Functions and Callbacks", + "intro": [ + "In these lectures, you will learn how to work with higher order functions and callbacks. The higher order functions you will learn include map(), filter(), reduce(), sort(), every(), and some(). You will also learn how to chain these methods together to achieve your desired results." + ] + }, + "workshop-library-manager": { + "title": "Build a Library Manager", + "intro": [ + "In this workshop, you will learn higher order array methods by building a library manager." + ] + }, + "lab-book-organizer": { + "title": "Build a Book Organizer", + "intro": [ + "In this lab, you'll build a book organizer using higher order functions in JavaScript." + ] + }, + "lab-sorted-index-finder": { + "title": "Implement a Sorted Index Finder", + "intro": [ + "In this lab, you will create a function that finds the index at which a given number should be inserted into a sorted array to maintain the array's sorted order." + ] + }, + "lab-symmetric-difference": { + "title": "Build a Symmetric Difference Function", + "intro": [ + "In this lab, you will practice using higher order functions to find the symmetric difference between two arrays." + ] + }, + "lab-value-remover-function": { + "title": "Implement a Value Remover Function", + "intro": [ + "In this lab, you will create a function that removes all instances of a specified value from an array." + ] + }, + "lab-matching-object-filter": { + "title": "Implement a Matching Object Filter", + "intro": [ + "In this lab, you will create a function that looks through an array of objects and returns an array of all objects that have matching property and value pairs." + ] + }, + "lab-range-based-lcm-calculator": { + "title": "Implement a Range-Based LCM Calculator", + "intro": [ + "In this lab, you will create a function that takes an array of two numbers and returns the least common multiple (LCM) of those two numbers and all the numbers between them." + ] + }, + "lab-deep-flattening-tool": { + "title": "Create a Deep Flattening Tool", + "intro": [ + "In this lab you will create a function that can flatten deeply nested arrays, handling any level of nesting without using built-in flat methods." + ] + }, + "lab-all-true-property-validator": { + "title": "Build an All-True Property Validator", + "intro": [ + "In this lab you will build a function that checks if all objects in an array have a truthy value for a specific property." + ] + }, + "review-javascript-higher-order-functions": { + "title": "JavaScript Higher Order Functions Review", + "intro": [ + "Before you're quizzed on JavaScript higher order functions, you should review them.", + "Open up this page to review concepts including how to work with the map(), filter(), and reduce() methods." + ] + }, + "quiz-javascript-higher-order-functions": { + "title": "JavaScript Higher Order Functions Quiz", + "intro": [ + "Test what you've learned about JavaScript higher order functions with this quiz." + ] + } + } + }, + "learn-dom-manipulation-and-events-with-javascript": { + "title": "Learn DOM Manipulation and Events with JavaScript", + "summary": [ + "Learn how to manipulate the DOM and work with events in JavaScript." + ], + "intro": [ + "In this interactive course, you will learn how to manipulate the DOM and work with events in JavaScript." + ], + "note": "", + "blocks": { + "lecture-working-with-the-dom-click-events-and-web-apis": { + "title": "Working with the DOM, Click Events, and Web APIs", + "intro": [ + "In these lectures, you will learn how to work with the Document Object Model (DOM), the addEventListener() method and events, and web APIs." + ] + }, + "workshop-storytelling-app": { + "title": "Build a Storytelling App", + "intro": [ + "In this workshop, you will build a storytelling app that will allow you to list different stories based on genre." + ] + }, + "workshop-emoji-reactor": { + "title": "Build an Emoji Reactor", + "intro": [ + "In this workshop, you will build an emoji reactor to practice querySelector and querySelectorAll." + ] + }, + "lab-favorite-icon-toggler": { + "title": "Build a Favorite Icon Toggler", + "intro": [ + "In this lab, you'll build a favorite icon toggler by utilizing JavaScript click events." + ] + }, + "lecture-understanding-the-event-object-and-event-delegation": { + "title": "Understanding the Event Object and Event Delegation", + "intro": [ + "In these lectures, you will learn about the event object, the change event, event bubbling, and event delegation." + ] + }, + "workshop-music-instrument-filter": { + "title": "Build a Music Instrument Filter", + "intro": [ + "In this workshop, you will build a music instrument filter with JavaScript." + ] + }, + "lab-real-time-counter": { + "title": "Build a Real Time Counter", + "intro": [ + "In this lab, you'll build a real-time character counter", + "You'll practice how to work with the input event when the user types in the input field." + ] + }, + "lab-lightbox-viewer": { + "title": "Build a Lightbox Viewer", + "intro": [ + "In this lab, you'll build a lightbox viewer for viewing images in a focused mode.", + "You'll practice click events and toggling classes." + ] + }, + "workshop-rps-game": { + "title": "Build a Rock, Paper, Scissors Game", + "intro": [ + "In this workshop, you will review DOM manipulation and events by building a Rock, Paper, Scissors Game." + ] + }, + "lab-football-team-cards": { + "title": "Build a Set of Football Team Cards", + "intro": [ + "In this lab, you'll use DOM manipulation, object destructuring, event handling, and data filtering to build a set of football team cards." + ] + }, + "review-dom-manipulation-and-click-events-with-javascript": { + "title": "DOM Manipulation and Click Events with JavaScript Review", + "intro": [ + "Before you're quizzed on the DOM, you should review what you've learned about it.", + "Open up this page to review concepts including how to work with the DOM, Web APIs, the addEventListener() method, change events, event bubbling and more." + ] + }, + "quiz-dom-manipulation-and-click-event-with-javascript": { + "title": "DOM Manipulation and Click Events with JavaScript Quiz", + "intro": [ + "Test your knowledge of DOM manipulation and click events in JavaScript with this quiz." + ] + } + } + }, + "introduction-to-javascript-and-accessibility": { + "title": "Introduction to JavaScript and Accessibility", + "summary": ["Learn how to use JavaScript to enhance web accessibility."], + "intro": [ + "In this interactive course, you will learn how to use JavaScript to enhance web accessibility." + ], + "note": "", + "blocks": { + "lecture-understanding-aria-expanded-aria-live-and-common-aria-states": { + "title": "Understanding aria-expanded, aria-live, and Common ARIA States", + "intro": [ + "In these lectures you will learn more about ARIA attributes like aria-expanded, aria-live, and common ARIA states." + ] + }, + "workshop-planets-tablist": { + "title": "Build a Planets Tablist", + "intro": [ + "In this workshop, you will build a dynamic tabbed interface that showcases facts about the planets in the solar system." + ] + }, + "workshop-note-taking-app": { + "title": "Build a Note Taking App", + "intro": [ + "In this workshop, you are going to build an accessible note taking app.", + "This will provide you with the opportunity to practice working with aria-live attribute." + ] + }, + "lab-theme-switcher": { + "title": "Build a Theme Switcher", + "intro": [ + "In this lab, you will build a theme switcher and practice working with the aria-haspopup, aria-expanded, and aria-controls attributes." + ] + }, + "review-js-a11y": { + "title": "JavaScript and Accessibility Review", + "intro": [ + "Before you're quizzed on JavaScript and accessibility, you should review what you've learned about it.", + "Open up this page to review concepts including how to work with the aria-expanded, aria-live, and aria-controls attributes." + ] + }, + "quiz-js-a11y": { + "title": "JavaScript and Accessibility Quiz", + "intro": [ + "Test your knowledge of JavaScript and accessibility best practices with this quiz." + ] + } + } + }, + "learn-javascript-debugging": { + "title": "Learn JavaScript Debugging", + "summary": ["Learn how to debug JavaScript code effectively."], + "intro": [ + "In this interactive course, you will learn how to debug JavaScript code." + ], + "note": "", + "blocks": { + "lecture-debugging-techniques": { + "title": "Debugging Techniques", + "intro": [ + "In these lectures, you will learn about the common errors in JavaScript and the techniques you can use to fix them – a process called debugging." + ] + }, + "lab-random-background-color-changer": { + "title": "Debug a Random Background Color Changer", + "intro": [ + "In this lab, you'll debug a random background color changer and fix the errors to make it work properly." + ] + }, + "review-debugging-javascript": { + "title": "Debugging JavaScript Review", + "intro": [ + "Before you're quizzed on common debugging techniques, you should review what you've learned.", + "Open up this page to review concepts including how to work with the throw statement, try...catch...finally and more." + ] + }, + "quiz-debugging-javascript": { + "title": "Debugging JavaScript Quiz", + "intro": ["Test your knowledge of JavaScript debugging with this quiz."] + } + } + }, + "learn-basic-regex-with-javascript": { + "title": "Learn Basic Regex with JavaScript", + "summary": ["Learn the basics of regular expressions in JavaScript."], + "intro": [ + "In this interactive course, you will learn the fundamentals of regular expressions and how to use them in JavaScript." + ], + "note": "", + "blocks": { + "lecture-working-with-regular-expressions": { + "title": "Working with Regular Expressions", + "intro": [ + "In these lectures, you will learn about regular expressions in JavaScript. You will learn about the methods for working with regular expressions, modifiers, character classes, lookaheads, lookbehinds, back-references, quantifiers, and more." + ] + }, + "workshop-spam-filter": { + "title": "Build a Spam Filter", + "intro": [ + "Regular expressions, often shortened to \"regex\" or \"regexp\", are patterns that help programmers match, search, and replace text. Regular expressions are powerful, but can be difficult to understand because they use so many special characters.", + "In this workshop, you'll use capture groups, positive lookaheads, negative lookaheads, and other techniques to match any text you want." + ] + }, + "lab-palindrome-checker": { + "title": "Build a Palindrome Checker", + "intro": [ + "For this lab, you'll build an application that checks whether a given word is a palindrome." + ] + }, + "lab-regex-sandbox": { + "title": "Build a RegEx Sandbox", + "intro": ["In this lab you'll build a regex sandbox."] + }, + "lab-spinal-case-converter": { + "title": "Implement a Spinal Case Converter", + "intro": [ + "In this lab, you will create a function that converts a given string to spinal case which is a style of writing where all letters are lowercase and separated by hyphens." + ] + }, + "lab-pig-latin": { + "title": "Implement a Pig Latin Translator", + "intro": [ + "In this lab, you'll implement a Pig Latin translator using JavaScript.", + "You'll practice string manipulation, conditional logic, and regular expressions." + ] + }, + "lab-smart-word-replacement": { + "title": "Build a Smart Word Replacement Function", + "intro": [ + "In this lab, you will use regex to create a function that performs a search and replace operation on a given string." + ] + }, + "lab-markdown-to-html-converter": { + "title": "Build a Markdown to HTML Converter", + "intro": [ + "For this lab, you'll build a Markdown to HTML converter using JavaScript.", + "You'll practice regular expressions, string manipulation, and more." + ] + }, + "review-javascript-regular-expressions": { + "title": "JavaScript Regular Expressions Review", + "intro": [ + "Before you're quizzed on Regular Expressions, you should review what you've learned.", + "Open up this page to review concepts like lookaheads, lookbehinds, common regex modifiers and more." + ] + }, + "quiz-javascript-regular-expressions": { + "title": "JavaScript Regular Expressions Quiz", + "intro": [ + "Test your knowledge of JavaScript Regular Expressions with this quiz." + ] + } + } + }, + "introduction-to-dates-in-javascript": { + "title": "Introduction to Dates in JavaScript", + "summary": ["Learn how to work with dates in JavaScript."], + "intro": [ + "In this interactive course, you will learn how to work with dates in JavaScript." + ], + "note": "", + "blocks": { + "lecture-working-with-dates": { + "title": "Working with Dates", + "intro": [ + "In these lectures, you will learn about the JavaScript date object. You will learn about the methods for working with dates and how to format dates." + ] + }, + "lab-date-conversion": { + "title": "Build a Date Conversion Program", + "intro": [ + "In this lab, you'll build a program to convert a date from one format to another." + ] + }, + "review-javascript-dates": { + "title": "JavaScript Dates Review", + "intro": [ + "Before you're quizzed on working with dates, you should review what you've learned.", + "Open up this page to review the Date() object and common methods." + ] + }, + "quiz-javascript-dates": { + "title": "JavaScript Dates Quiz", + "intro": [ + "Test what you've learned about JavaScript Dates with this quiz." + ] + } + } + }, + "learn-audio-and-video-events-with-javascript": { + "title": "Learn Audio and Video Events with JavaScript", + "summary": ["Learn how to work with audio and video events in JavaScript."], + "intro": [ + "In this interactive course, you will learn how to work with audio and video events in JavaScript." + ], + "note": "", + "blocks": { + "lecture-working-with-audio-and-video": { + "title": "Working with Audio and Video", + "intro": [ + "In these lectures, you will learn how to work with audio and video files using JavaScript. You will learn about the Audio and Video constructors, their methods and properties, audio and video formats, codecs, the HTMLMediaElement API, and much more." + ] + }, + "workshop-music-player": { + "title": "Build a Music Player", + "intro": [ + "In this workshop, you'll code a basic MP3 player using HTML, CSS, and JavaScript.", + "The project covers fundamental concepts such as handling audio playback, managing a playlist, implementing play, pause, next, and previous functionalities and dynamically update your user interface based on the current song." + ] + }, + "lab-drum-machine": { + "title": "Build a Drum Machine", + "intro": [ + "For this lab you will use the audio element to build a drum machine." + ] + }, + "review-javascript-audio-and-video": { + "title": "JavaScript Audio and Video Review", + "intro": [ + "Before you're quizzed on working with audio and video in JavaScript, you should review what you've learned about them.", + "Open up this page to review concepts including the Audio constructor, the HTMLMediaElement API and more." + ] + }, + "quiz-javascript-audio-and-video": { + "title": "JavaScript Audio and Video Quiz", + "intro": [ + "Test what you've learned about JavaScript audio and video with this quiz." + ] + } + } + }, + "introduction-to-maps-and-sets-in-javascript": { + "title": "Introduction to Maps and Sets in JavaScript", + "summary": ["Learn about the Map and Set objects in JavaScript."], + "intro": [ + "In this interactive course, you will learn about the Map and Set objects in JavaScript." + ], + "note": "", + "blocks": { + "lecture-working-with-maps-and-sets": { + "title": "Working with Maps and Sets", + "intro": [ + "In these lectures, you will learn about JavaScript Map and Set. You will also learn how they both differ from WeakSets and WeakMaps." + ] + }, + "workshop-plant-nursery-catalog": { + "title": "Build a Plant Nursery Catalog", + "intro": [ + "In this workshop, you will practice using Maps and Sets by building a plant nursery catalog." + ] + }, + "lab-voting-system": { + "title": "Build a Voting System", + "intro": [ + "In this lab, you'll build a voting system using Maps and Sets.", + "You'll practice how to use the Map object to store key-value pairs and the Set object to store unique values." + ] + }, + "review-javascript-maps-and-sets": { + "title": "JavaScript Maps and Sets Review", + "intro": [ + "Before you're quizzed on JavaScript Maps and Sets, you should review what you've learned about them.", + "Open up this page to review concepts such as the Map and Set objects, as well as WeakSet and WeakMap." + ] + }, + "quiz-javascript-maps-and-sets": { + "title": "JavaScript Maps and Sets Quiz", + "intro": [ + "Test what you've learned about JavaScript Maps and Sets with this quiz." + ] + } + } + }, + "learn-localstorage-and-crud-operations-with-javascript": { + "title": "Learn localStorage and CRUD Operations with JavaScript", + "summary": [ + "Learn how to use localStorage and perform CRUD operations in JavaScript." + ], + "intro": [ + "In this interactive course, you will learn how to use localStorage and perform CRUD operations in JavaScript." + ], + "note": "", + "blocks": { + "lecture-working-with-client-side-storage-and-crud-operations": { + "title": "Working with Client-Side Storage and CRUD Operations", + "intro": [ + "In these lectures, you will learn about client-side storage and CRUD operations in JavaScript. You will learn about localStorage and sessionStorage alongside their methods and properties, cookies, the Cache API, IndexedDB, and much more." + ] + }, + "workshop-todo-app": { + "title": "Build a Todo App using Local Storage", + "intro": [ + "Local storage is a web browser feature that lets web applications store key-value pairs persistently within a user's browser. This allows web apps to save data during one session, then retrieve it in a later page session.", + "In this workshop, you'll learn how to handle form inputs, manage local storage, perform CRUD (Create, Read, Update, Delete) operations on tasks, implement event listeners, and toggle UI elements." + ] + }, + "lab-bookmark-manager-app": { + "title": "Build a Bookmark Manager App", + "intro": [ + "For this lab, you'll build a bookmark manager app.", + "You'll utilize local storage to store bookmarks, and practice how to add, remove, and display bookmarks." + ] + }, + "review-local-storage-and-crud": { + "title": "Local Storage and CRUD Review", + "intro": [ + "Before you are quizzed on working with localStorage, you first need to review the concepts.", + "Open up this page to review the localStorage property, sessionStorage property and more." + ] + }, + "quiz-local-storage-and-crud": { + "title": "Local Storage and CRUD Quiz", + "intro": [ + "Test what you've learned about local storage and CRUD with this quiz." + ] + } + } + }, + "introduction-to-javascript-classes": { + "title": "Introduction to JavaScript Classes", + "summary": ["Learn about classes in JavaScript and how to use them."], + "intro": [ + "In this interactive course, you will learn about classes in JavaScript and how to use them." + ], + "note": "", + "blocks": { + "lecture-understanding-how-to-work-with-classes-in-javascript": { + "title": "Understanding How to Work with Classes in JavaScript", + "intro": [ + "In these lectures, you will learn about classes in JavaScript. You will learn about inheritance, the this keyword, static properties and methods, and more." + ] + }, + "workshop-shopping-cart": { + "title": "Build a Shopping Cart", + "intro": [ + "In this workshop you'll create a shopping cart using JavaScript classes.", + "You will practice how to use the this keyword, create class instances, implement methods for data manipulation and more." + ] + }, + "lab-project-idea-board": { + "title": "Build a Project Idea Board", + "intro": [ + "In this lab, you'll build a project idea board using OOP in JavaScript.", + "You'll practice how to create classes, add methods to classes, and create instances of classes." + ] + }, + "lab-bank-account-manager": { + "title": "Build a Bank Account Management Program", + "intro": [ + "In this lab, you'll build a simple transaction management system for a bank account." + ] + }, + "review-javascript-classes": { + "title": "JavaScript Classes Review", + "intro": [ + "Before you're quizzed on how to work with classes, you should review what you've learned about them.", + "Open up this page to review concepts including the this keyword, class inheritance and more." + ] + }, + "quiz-javascript-classes": { + "title": "JavaScript Classes Quiz", + "intro": [ + "Test what you've learned about JavaScript classes with this quiz." + ] + } + } + }, + "learn-recursion-with-javascript": { + "title": "Learn Recursion with JavaScript", + "summary": [ + "Understand the concept of recursion and how to implement it in JavaScript." + ], + "intro": [ + "In this interactive course, you'll learn about recursion in JavaScript and how to use it to solve problems." + ], + "note": "", + "blocks": { + "lecture-understanding-recursion-and-the-call-stack": { + "title": "Understanding Recursion and the Call Stack", + "intro": [ + "In this lecture, you will learn about recursion and the call stack." + ] + }, + "workshop-countup": { + "title": "Build a Countup", + "intro": [ + "In this workshop you will build a countup function that returns an array of numbers counting up from 1 to a given number." + ] + }, + "lab-countdown": { + "title": "Build a Countdown", + "intro": [ + "For this lab, you will build a countdown function that returns an array of numbers counting down from given number to 1." + ] + }, + "lab-range-of-numbers": { + "title": "Build a Range of Numbers Generator", + "intro": [ + "In this lab, you'll use recursion to generate an array of numbers within a specified range.", + "You'll practice recursive function calls, base cases, and building arrays through recursion." + ] + }, + "workshop-decimal-to-binary-converter": { + "title": "Build a Decimal to Binary Converter", + "intro": [ + "Recursion is a programming concept where a function calls itself. This can reduce a complex problem into simpler sub-problems, until they become straightforward to solve.", + "In this workshop, you'll build a decimal-to-binary converter using JavaScript. You'll practice the fundamental concepts of recursion, explore the call stack, and build out a visual representation of the recursion process through an animation." + ] + }, + "lab-permutation-generator": { + "title": "Build a Permutation Generator", + "intro": [ + "For this lab, you'll build a permutation generator that produces all possible permutations of a given string." + ] + }, + "review-recursion": { + "title": "Recursion Review", + "intro": [ + "Before you're quizzed on recursion, you should review what you've learned.", + "Open up this page to review what is recursion and what is it used for." + ] + }, + "quiz-recursion": { + "title": "Recursion Quiz", + "intro": ["Test your knowledge of Recursion with this quiz."] + } + } + }, + "introduction-to-functional-programming-with-javascript": { + "title": "Introduction to Functional Programming with JavaScript", + "summary": [ + "Learn the fundamentals of functional programming in JavaScript." + ], + "intro": [ + "In this interactive course, you will learn about functional programming concepts and techniques in JavaScript." + ], + "note": "", + "blocks": { + "lecture-understanding-functional-programming": { + "title": "Understanding Functional Programming", + "intro": [ + "In these lectures, you will learn about functional programming and how to nest functions using a technique called currying." + ] + }, + "workshop-recipe-ingredient-converter": { + "title": "Build a Recipe Ingredient Converter", + "intro": [ + "In the previous lectures, you learned the core concepts behind functional programming and currying.", + "Now you will be able to apply what you have learned about currying and functional programming by building a recipe ingredient converter application." + ] + }, + "lab-optional-arguments-sum-function": { + "title": "Build an Optional Arguments Sum Function", + "intro": [ + "In this lab you will build a function that accepts up to two arguments, and sum them, but if there is only one argument returns a function that waits for the second number to sum." + ] + }, + "lab-sorting-visualizer": { + "title": "Build a Sorting Visualizer", + "intro": [ + "For this lab, you'll use JavaScript to visualize the steps that the Bubble Sort algorithm takes to reorder an array of integers." + ] + }, + "review-javascript-functional-programming": { + "title": "JavaScript Functional Programming Review", + "intro": [ + "Before you're quizzed on functional programming, you should review what you've learned.", + "Open up this page to review concepts on functional programming, currying and more." + ] + }, + "quiz-javascript-functional-programming": { + "title": "JavaScript Functional Programming Quiz", + "intro": [ + "Test what you've learned about JavaScript functional programming with this quiz." + ] + } + } + }, + "introduction-to-asynchronous-javascript": { + "title": "Introduction to Asynchronous JavaScript", + "summary": [ + "Learn the fundamentals of asynchronous programming in JavaScript." + ], + "intro": [ + "In this interactive course, you will learn about asynchronous programming concepts and techniques in JavaScript." + ], + "note": "", + "blocks": { + "lecture-understanding-asynchronous-programming": { + "title": "Understanding Asynchronous Programming", + "intro": [ + "In these lectures, you will learn about asynchronous programming in JavaScript. You will learn about the differences between synchronous and asynchronous programming, how the async keyword works, the Fetch API, promises, async/await, the Geolocation API, and much more." + ] + }, + "workshop-fcc-authors-page": { + "title": "Build an fCC Authors Page", + "intro": [ + "One common aspect of web development is learning how to fetch data from an external API, then work with asynchronous JavaScript.", + "In this workshop you will practice how to use the fetch method, dynamically update the DOM to display the fetched data and paginate your data so you can load results in batches." + ] + }, + "lab-fcc-forum-leaderboard": { + "title": "Build an fCC Forum Leaderboard", + "intro": [ + "For this lab you'll practice asynchronous JavaScript by coding your own freeCodeCamp forum leaderboard." + ] + }, + "lab-weather-app": { + "title": "Build a Weather App", + "intro": [ + "In this lab you'll build a Weather App using an API", + "You'll practice how to fetch data from the API, store and display it on your app." + ] + }, + "review-asynchronous-javascript": { + "title": "Asynchronous JavaScript Review", + "intro": [ + "Review asynchronous JavaScript concepts to prepare for the upcoming quiz." + ] + }, + "quiz-asynchronous-javascript": { + "title": "Asynchronous JavaScript Quiz", + "intro": [ + "Test what you've learned about asynchronous JavaScript with this quiz." + ] + } + } + }, + "information-security": { + "title": "Information Security", + "intro": [ + "With everything we do online, there's a vast amount of sensitive information at risk: email addresses, passwords, phone numbers, and much more.", + "With the Information Security Certification, you'll build a secure web app with HelmetJS to learn the fundamentals of protecting people's information online.", + "You'll also build a TCP client, and an Nmap and port scanner in Python. This will help you learn the basics of penetration testing — an important component of good information security." + ], + "note": "", + "blocks": { + "information-security-with-helmetjs": { + "title": "Information Security with HelmetJS", + "intro": [ + "This programming course focuses on HelmetJS, a type of middleware for Express-based applications that automatically sets HTTP headers. This way it can prevent sensitive information from unintentionally being passed between the server and client.", + "Completing the courses below will help you understand how to protect your website from malicious behavior." + ] + }, + "python-for-penetration-testing": { + "title": "Python for Penetration Testing", + "intro": [ + "These video courses teach you penetration testing with Python. Also known as a pen test, penetration testing is a simulated attack against a system to check for vulnerabilities.", + "In this course, you'll learn about sockets, create a TCP server and client, build an Nmap scanner, and other tools and techniques that pen testers use daily." + ] + }, + "information-security-projects": { + "title": "Information Security Projects", + "intro": [ + "Now it’s time to put your new information security skills to work. These projects will give you a chance to apply the infosec skills, principles, and concepts you've learned.", + "When you are done, you will have plenty of information security projects under your belt, along with a certification that you can show off to friends, family, and employers." + ] + } + } + }, + "machine-learning-with-python": { + "title": "Machine Learning with Python", + "intro": [ + "Machine learning has many practical applications that you can use in your projects or on the job.", + "In the Machine Learning with Python Certification, you'll use the TensorFlow framework to build several neural networks and explore more advanced techniques like natural language processing and reinforcement learning.", + "You'll also dive into neural networks, and learn the principles behind how deep, recurrent, and convolutional neural networks work." + ], + "note": "", + "blocks": { + "tensorflow": { + "title": "TensorFlow", + "intro": [ + "TensorFlow is an open source framework that makes machine learning and neural networking easier to use.", + "The following video course was created by Tim Ruscica, also known as “Tech With Tim”. It will help you to understand TensorFlow and some of its powerful capabilities." + ] + }, + "how-neural-networks-work": { + "title": "How Neural Networks Work", + "intro": [ + "Neural networks are at the core of what we call artificial intelligence today. But historically they've been hard to understand. Especially for beginners in the machine learning field.", + "Even if you are completely new to neural networks, these video courses by Brandon Rohrer will get you comfortable with the concepts and the math behind them." + ] + }, + "machine-learning-with-python-projects": { + "title": "Machine Learning with Python Projects", + "intro": [ + "Machine learning has many practical applications. By completing these free and challenging coding projects, you will demonstrate that you have a good foundational knowledge of machine learning, and qualify for your Machine Learning with Python certification." + ] + } + } + }, + "college-algebra-with-python": { + "title": "College Algebra with Python", + "intro": [ + "This course is designed as a one-semester college course. It consists of instructional videos, with Google Colaboratory notebooks to follow along interactively, assignments, and challenging projects.", + "As you go through each part of this course in sequence, you will gain a full understanding of Algebra and how to write Python code to solve Algebra problems.", + "Throughout this course, you will also build your own Algebra Colab notebook that you will be able to use as your custom calculator. This course (and the code you write here) will give you the foundation for a deeper math and data science understanding." + ], + "note": "", + "blocks": { + "learn-ratios-and-proportions": { + "title": "Learn Ratios and Proportions", + "intro": [ + "Your journey begins here as you learn how to set up a Colab Notebook that can run Python code. Then, use the notebook to follow along with the videos to learn ratios and proportions using Python." + ] + }, + "learn-how-to-solve-for-x": { + "title": "Learn How to Solve for X", + "intro": [ + "This unit will focus on how to solve for an unknown number (often referred to as \"x\") using written Algebra and Python code." + ] + }, + "learn-fractions-and-decimals": { + "title": "Learn Fractions and Decimals", + "intro": [ + "This unit will focus on converting decimals to fractions and percents." + ] + }, + "learn-functions-and-graphing": { + "title": "Learn Functions and Graphing", + "intro": ["This unit will teach you about math functions."] + }, + "learn-linear-functions": { + "title": "Learn Linear Functions", + "intro": [ + "This unit will show you how to develop linear equations from two points." + ] + }, + "learn-common-factors-and-square-roots": { + "title": "Learn Common Factors and Square Roots", + "intro": [ + "In this unit, you will learn how to find common factors and divide them out. This will be useful when simplifying fractions and factoring square roots." + ] + }, + "build-a-multi-function-calculator-project": { + "title": "Multi-Function Calculator", + "intro": [ + "This is one of the required projects to earn your certification.", + "For this project, you will build a multi-function calculator." + ] + }, + "learn-how-to-graph-systems-of-equations": { + "title": "Learn How to Graph Systems of Equations", + "intro": [ + "This unit will focus on graphing two equations on the same coordinate plane, so that you can see where the lines intersect." + ] + }, + "learn-how-to-solve-systems-of-equations": { + "title": "Learn How to Solve Systems of Equations", + "intro": [ + "In this unit, you will learn how to solve a system of two equations (with two variables) without graphing. You will see how you can factor an equation and solve for a certain variable in Python. By the end of this unit, you will be able to solve and graph the system with one block of code." + ] + }, + "learn-applications-of-linear-systems": { + "title": "Learn Applications of Linear Systems", + "intro": [ + "In this unit, you will see how you can use the algebra you learned so far to solve real world problems." + ] + }, + "learn-quadratic-equations": { + "title": "Learn Quadratic Equations", + "intro": [ + "This unit will go beyond linear equations, to work with exponents and graph parabolas. You will learn how to find key points in parabolas and how to solve quadratic equations." + ] + }, + "build-a-graphing-calculator-project": { + "title": "Graphing Calculator", + "intro": [ + "This is one of the required projects to earn your certification.", + "For this project, you will build a graphing calculator." + ] + }, + "learn-parent-graphs-and-polynomials": { + "title": "Learn Parent Graphs and Polynomials", + "intro": [ + "This unit will show you many different types of \"parent\" graphs, the basic patterns that make up more complicated graphs. Polynomials are mathematical expressions with \"multiple things\" - the more complicated equations that are built with basic patterns. You will see what these graphs look like, how to modify them, and how to do this all with Python code." + ] + }, + "build-three-math-games-project": { + "title": "Three Math Games", + "intro": [ + "This is one of the required projects to earn your certification.", + "For this project, you will build three math games." + ] + }, + "learn-business-applications-of-college-algebra": { + "title": "Learn Business Applications of College Algebra", + "intro": [ + "This unit will show you how to apply your solving and graphing skills to find cost, revenue, and profit. You will write code to develop a demand function from two points. You will see how price affects the profit graph and how all of these equations relate to each other." + ] + }, + "learn-simple-and-compound-interest": { + "title": "Learn Simple and Compound Interest", + "intro": [ + "This unit will show you how to calculate interest, loan payments, and the estimated value of investments. You will see the math formula and turn that into code. Because these formulas tend to get complicated, you will appreciate having the code where you can just modify a few values." + ] + }, + "learn-exponents-and-logarithms": { + "title": "Learn Exponents and Logarithms", + "intro": [ + "This unit will show you how exponents and logarithms are inverse functions, and how you can use these functions in various applications." + ] + }, + "build-a-financial-calculator-project": { + "title": "Financial Calculator", + "intro": [ + "This is one of the required projects to earn your certification.", + "For this project, you will build a financial calculator." + ] + }, + "college-algebra-with-python-conclusion": { + "title": "College Algebra with Python: Conclusion", + "intro": [ + "This will be the last unit in this course. Let's look at how you can connect your Math and Python knowledge with external data." + ] + }, + "build-a-data-graph-explorer-project": { + "title": "Data Graph Explorer", + "intro": [ + "This is one of the required projects to earn your certification.", + "For this project, you will build a data graph explorer." + ] + } + } + }, + "python-for-everybody": { + "title": "Legacy Python for Everybody", + "intro": [ + "Python is one of the most popular, flexible programming languages today. You can use it for everything from basic scripting to machine learning." + ], + "note": "", + "blocks": { + "python-for-everybody": { + "title": "Python for Everybody", + "intro": [ + "Python for everybody is a free video course series that teaches the basics of using Python 3.", + "The courses were created by Dr. Charles Severance (also known as Dr. Chuck). He is a Clinical Professor at the University of Michigan School of Information, where he teaches various technology-oriented courses including programming, database design, and web development." + ] + } + } + }, + "coding-interview-prep": { + "title": "Coding Interview Prep", + "intro": [ + "If you're looking for free coding exercises to prepare for your next job interview, we've got you covered.", + "This section contains dozens of coding challenges that test your knowledge of algorithms, data structures, and mathematics. It also has a number of take-home projects you can use to strengthen your skills, or add to your portfolio.", + "This work incorporates material from Wikipedia, which is licensed under the Creative Commons Attribution-ShareAlike License 4.0. The original content might have been modified and adapted. For the unaltered version and additional details, see the original page on Wikipedia." + ], + "blocks": { + "algorithms": { + "title": "Algorithms", + "intro": [ + "These free programming exercises will teach you about some common algorithms that you will likely encounter in real life. They are a great opportunity to improve your logic and programming skills.", + "These algorithms are frequently used in job interviews to test a candidate's skills. We'll give you clear and concise explanations of how these different algorithms work so you can implement a solution for each one.", + "NOTE: These challenges support JavaScript only solutions." + ] + }, + "data-structures": { + "title": "Data Structures", + "intro": [ + "These free programming courses are meant to help you deal with large and complex data structures that you may not yet be familiar with.", + "Working through the courses below, you will learn about each type of data structure, and implement algorithms to reinforce your understanding of them.", + "NOTE: These challenges support JavaScript only solutions." + ] + }, + "take-home-projects": { + "title": "Take Home Projects", + "intro": [ + "Programming interviews have always been stressful. Job applicants are sometimes given a take home project to be completed outside of the interview. These types of interviews usually require a lot of work, but they're a great way for employers to see how you might perform on the job.", + "Build the bonus coding projects below for extra practice. Take your time, make them great, and put them on your resume or portfolio to show potential employers." + ] + } + } + }, + "the-odin-project": { + "title": "The Odin Project - freeCodeCamp Remix", + "intro": [ + "The Odin Project was created in 2013 by a lone developer, Erik Trautman. Over the years, an open source community has sprung up to maintain and expand the project.", + "freeCodeCamp has expanded upon the open source curriculum to make it run interactively in the browser, with tests to evaluate your code and ensure you've understood key concepts.", + "If you want the original experience of configuring all of The Odin Project to run on your local computer, you can check out the original Odin Project on The Odin Project website. A huge thanks to The Odin Project community for continuing to maintain this valuable learning resource for developers all around the world.", + "This course is unofficial, and not endorsed by The Odin Project. Changes to The Odin Project curriculum content have been made, and all instructional material for this course is licensed under CC-BY-SA-NC 4.0", + "© The Odin Project", + "This course includes content from JavaScript.info, which is licensed under CC-BY-NC-SA 4.0." + ], + "blocks": { + "top-learn-html-foundations": { + "title": "Learn HTML Foundations", + "intro": [ + "Get a solid grasp of HTML essentials with this course. From structuring web pages to understanding semantic tags, you'll build a strong foundation for creating well-organized and accessible content on the web." + ] + }, + "top-working-with-text": { + "title": "Working with Text", + "intro": [ + "Explore the intricacies of working with text in web development. Learn about text formatting, manipulation, and presentation to enhance your skills in creating web content." + ] + }, + "top-links-and-images": { + "title": "Links and Images", + "intro": [ + "Learn how to incorporate links and images into your web projects. This course covers the fundamentals of creating links and embedding images to make your websites more interactive and visually appealing." + ] + }, + "top-build-a-recipe-project": { + "title": "Learn HTML Foundations by Building a Recipe Page", + "intro": [ + "Put your HTML skills into practice by building a recipe page. This hands-on project allows you to apply your knowledge and create a functional web page while reinforcing key concepts of HTML development." + ] + }, + "top-learn-css-foundations": { + "title": "Learn CSS Foundations", + "intro": [ + "Dive into the world of Cascading Style Sheets (CSS) and learn how to style your HTML elements. Explore styling properties, selectors, and layouts to bring your web pages to life." + ] + }, + "top-learn-css-foundations-projects": { + "title": "Learn CSS Foundations Projects", + "intro": [ + "Take your CSS skills to the next level by working on practical projects. This course provides hands-on experience in applying CSS to create responsive designs for real-world scenarios." + ] + }, + "top-learn-css-specificity": { + "title": "Learn CSS Specificity", + "intro": [ + "Learn CSS specificity and gain a better understanding of how styles are applied to HTML elements. This course explores the nuances of CSS rules and helps you write efficient and targeted styles for your web pages." + ] + }, + "top-the-box-model": { + "title": "Learn the Box Model", + "intro": [ + "Learn the CSS box model with this course. Understand how elements are rendered on the web, and learn to manipulate spacing, borders, and padding to achieve your desired layout and design." + ] + }, + "top-learn-block-and-inline": { + "title": "Learn the difference between Block and Inline", + "intro": [ + "Explore the distinctions between block and inline elements in HTML and CSS. This course provides insights into how these display types affect layout and behavior, empowering you to make informed design decisions." + ] + }, + "top-introduction-to-flexbox": { + "title": "Introduction to Flexbox", + "intro": [ + "Discover the power of Flexbox, a layout model that simplifies the design of flexible and responsive web layouts. Learn how to create dynamic and adaptive page structures with ease." + ] + }, + "top-learn-variables-and-operators": { + "title": "Learn Variables and Operators", + "intro": [ + "Get started with JavaScript by learning about variables and operators. This course covers the fundamentals of JavaScript programming, including data types, operators, and variable declarations." + ] + }, + "top-learn-data-types-and-conditionals": { + "title": "Learn Data Types and Conditionals", + "intro": ["Learn about data types and conditionals in JavaScript."] + }, + "top-learn-function-basics": { + "title": "Learn Function Basics", + "intro": ["Learn about functions in JavaScript."] + }, + "top-basic-function-projects": { + "title": "Basic Function Projects", + "intro": [ + "Put your JavaScript skills to the test by building basic functions." + ] + }, + "top-learn-arrays-and-loops": { + "title": "Learn Arrays and Loops", + "intro": ["Learn about arrays and loops in JavaScript."] + }, + "top-learn-to-solve-problems-and-understand-errors": { + "title": "Learn to Solve Problems and Understand Errors", + "intro": [ + "Learn how to solve problems and understand errors in JavaScript." + ] + }, + "top-build-a-rock-paper-scissors-game": { + "title": "Build a Rock Paper Scissors Game", + "intro": [ + "Put your JavaScript skills to the test by building a Rock Paper Scissors game." + ] + } + } + }, + "project-euler": { + "title": "Project Euler", + "intro": [ + "Complete the programming challenges below, from the massive Project Euler archives. These will harden your algorithm and mathematics knowledge.", + "These problems range in difficulty and, for many, the experience is inductive chain learning. That is, by solving one problem, it will expose you to a new concept that allows you to undertake a previously inaccessible problem. Can you finish them all?" + ], + "blocks": { + "project-euler-problems-1-to-100": { + "title": "Project Euler Problems 1 to 100", + "intro": [ + "In this first set of challenges, you will use mathematical concepts like the Fibonacci sequence, prime number theory, and combinatorics to write efficient algorithms to solve these problems.", + "NOTE: These challenges support JavaScript only solutions." + ] + }, + "project-euler-problems-101-to-200": { + "title": "Project Euler Problems 101 to 200", + "intro": [ + "In this set of challenges, you'll build upon the skills you learned in the first part of the course and use more advanced concepts like vector computation, Pascal's pyramid, and the RSA algorithm to solve these problems efficiently.", + "NOTE: These challenges support JavaScript only solutions." + ] + }, + "project-euler-problems-201-to-300": { + "title": "Project Euler Problems 201 to 300", + "intro": [ + "In this set of challenges, you'll continue to build upon the skills you learned earlier and use concepts like the binomial theorem, Hamming numbers, and the Collatz sequence to further develop your math and problem solving skills.", + "NOTE: These challenges support JavaScript only solutions." + ] + }, + "project-euler-problems-301-to-400": { + "title": "Project Euler Problems 301 to 400", + "intro": [ + "Here you will continue to flex your mathematical and algorithmic skills as you use concepts such as combinatorial game theory, bitwise operations, and Golomb's self-describing sequence to develop efficient solutions to these problems.", + "NOTE: These challenges support JavaScript only solutions." + ] + }, + "project-euler-problems-401-to-480": { + "title": "Project Euler Problems 401 to 480", + "intro": [ + "In this final set of challenges, you will need draw upon everything you learned up to this point and use advanced concepts like unitary divisors, the Kaprekar routine, and much more to solve these complex problems.", + "NOTE: These challenges support JavaScript only solutions." + ] + } + } + }, + "foundational-c-sharp-with-microsoft": { + "title": "Free Foundational C# with Microsoft Certification", + "intro": [ + "This course offers a comprehensive introduction to C# programming, covering its core concepts, syntax, and practical application in software development.", + "Through hands-on exercises and projects, you will learn the fundamentals of C#, including variables, data types, control structures, and object-oriented programming principles.", + "By the end of this course, you will have gained the practical skills and knowledge needed to confidently leverage C# for building applications." + ], + "note": "Each section below has a trophy associated with it that you must earn on the Microsoft Learn platform. After earning each trophy, you need to verify them on freeCodeCamp. Once you have done those, you can qualify for the certification exam.", + "blocks": { + "write-your-first-code-using-c-sharp": { + "title": "Write Your First Code Using C#", + "intro": [ + "Begin your journey by learning to write your first code using C#. Develop a strong foundation as you explore the fundamentals and syntax of the language, setting the stage for your programming adventures." + ] + }, + "create-and-run-simple-c-sharp-console-applications": { + "title": "Create and Run Simple C# Console Applications", + "intro": [ + "Master the art of creating and running simple C# console applications. Dive into the world of console-based programming, where you will gain hands-on experience executing your code and seeing it in action." + ] + }, + "add-logic-to-c-sharp-console-applications": { + "title": "Add Logic to C# Console Applications", + "intro": [ + "Unlock the power of logic in C# console applications. Learn how to add logic and decision-making capabilities to your code, enabling your applications to make dynamic choices and respond intelligently to different scenarios." + ] + }, + "work-with-variable-data-in-c-sharp-console-applications": { + "title": "Work with Variable Data in C# Console Applications", + "intro": [ + "Discover the versatility of variable data in C# console applications. Harness the ability to store and manipulate different types of data, such as numbers and text, as you delve into the essential concepts of variables and data handling." + ] + }, + "create-methods-in-c-sharp-console-applications": { + "title": "Create Methods in C# Console Applications", + "intro": [ + "Take your C# console applications to the next level by mastering the art of creating methods. Learn how to organize and modularize your code, making it more manageable, reusable, and efficient." + ] + }, + "debug-c-sharp-console-applications": { + "title": "Debug C# Console Applications", + "intro": [ + "Sharpen your troubleshooting skills as you dive into the world of debugging C# console applications. Gain the ability to identify and fix issues in your code, ensuring your applications run smoothly and deliver the desired results." + ] + }, + "foundational-c-sharp-with-microsoft-certification-exam": { + "title": "Foundational C# with Microsoft Certification Exam", + "intro": [ + "Use what you've learned to pass the exam to earn your Foundational C# with Microsoft Certification" + ] + } + } + }, + "a2-english-for-developers": { + "title": "A2 English for Developers Certification (Beta)", + "intro": [ + "In this English for Developers Curriculum, you'll learn the essentials of English communication. This will follow the A2 level of the Common European Framework of Reference (CEFR). And we've focused on vocabulary that is particularly useful for developers.", + "The first half of the curriculum will help you get comfortable with English grammar and usage. It will give you tons of hands-on practice. You'll learn basics like introducing yourself, making small talk, and discussing your work.", + "In the second half, you'll practice vocabulary specific to software development. You'll learn how to describe code, discuss tech trends, and participate in stand-up meetings.", + "This entire A2-level curriculum includes 105 different dialogues. Each is designed to build your vocabulary and boost your confidence when speaking in a professional tech setting." + ], + "note": "This certification is currently in beta.", + "blocks": { + "learn-greetings-in-your-first-day-at-the-office": { + "title": "Learn Greetings in your First Day at the Office", + "intro": [ + "In this first course, you'll learn common expressions for situations you may encounter on your first day at work. You'll learn about introductions, getting to know people, asking for lunch recommendations, and getting an access card from security." + ] + }, + "en-a2-quiz-first-day-conversations-at-work": { + "title": "First Day Conversations at Work Quiz", + "intro": ["", ""] + }, + "learn-introductions-in-an-online-team-meeting": { + "title": "Learn Introductions in an Online Team Meeting", + "intro": [ + "In this course, you'll learn how to give a personal introduction. You'll also learn how to state your profession, and share your goals in group meetings." + ] + }, + "en-a2-quiz-meeting-introductions-at-work": { + "title": "Meeting Introductions at Work Quiz", + "intro": ["", ""] + }, + "learn-conversation-starters-in-the-break-room": { + "title": "Learn Conversation Starters in the Break Room", + "intro": [ + "In this course, you'll learn how to start a conversation in casual settings. You'll also learn how to talk about your hobbies and personality traits. You'll even learn how to ask about places around the town." + ] + }, + "en-a2-quiz-conversation-starters-at-work": { + "title": "Break Room Conversations Quiz", + "intro": ["", ""] + }, + "learn-how-to-talk-about-a-typical-workday-and-tasks": { + "title": "Learn How to Talk About a Typical Workday and Tasks", + "intro": [ + "In this course, you'll learn how to talk about your workday and the tasks that you perform in the workplace and how to share them with others. It mainly focuses on the structures used for describing your activities and task-related vocabulary." + ] + }, + "en-a2-quiz-work-routines-and-tasks": { + "title": "Talking About Your Workday Quiz", + "intro": ["", ""] + }, + "learn-how-to-discuss-your-morning-or-evening-routine": { + "title": "Learn How to Discuss Your Morning or Evening Routine", + "intro": [ + "In this course, you'll learn how to talk about details of your routine and share them with someone else. It mainly focuses on the structures used for declaring routine actions and related vocabulary." + ] + }, + "en-a2-quiz-daily-life-routines": { + "title": "Daily Routines at Work Quiz", + "intro": ["", ""] + }, + "learn-how-to-describe-your-current-project": { + "title": "Learn How to Describe Your Current Project", + "intro": [ + "In this course, you'll learn how to talk about the projects that you are involved in and how to inform others of what you are doing in these projects. It mainly focuses on the structures used for informing it and on the related vocabulary." + ] + }, + "en-a2-quiz-what-are-you-working-on": { + "title": "Describing Your Current Project Quiz", + "intro": ["", ""] + }, + "learn-how-to-ask-and-share-about-educational-and-professional-background": { + "title": "Learn How to Ask and Share About Educational and Professional Background", + "intro": [ + "In this course, you'll learn how to ask about another person's educational and professional backgrounds and you'll learn how to share information about your background as well." + ] + }, + "en-a2-quiz-educational-and-professional-background": { + "title": "Educational and Professional Background Quiz", + "intro": ["", ""] + }, + "learn-how-to-talk-about-hobbies-and-interests": { + "title": "Learn How to Talk About Hobbies and Interests", + "intro": [ + "In this course, you'll learn different ways to talk about hobbies and things that interest you. You'll also learn how to ask about other people's hobbies and how to invite them to join you in these activities." + ] + }, + "en-a2-quiz-hobbies-and-interests": { + "title": "Talking About Hobbies and Interests Quiz", + "intro": ["", ""] + }, + "learn-how-to-discuss-roles-and-responsibilities": { + "title": "Learn How to Discuss Roles and Responsibilities", + "intro": [ + "In this course, you'll discuss people's roles and responsibilities in a company and out of it. You'll discover how to ask about these roles and responsibilities and how to share information about you related to the topic." + ] + }, + "en-a2-quiz-discuss-roles-responsibilities": { + "title": "Roles and Responsibilities Quiz", + "intro": ["", ""] + }, + "learn-how-to-have-a-conversation-about-preferences-and-motivations": { + "title": "Learn How to Have a Conversation About Preferences and Motivations", + "intro": [ + "In this course, you'll learn how to ask about what motivates people in their personal and professional lives, answer questions related to your motivations, and discuss about people's preferences." + ] + }, + "en-a2-quiz-preferences-and-motivations": { + "title": "Preferences and Motivations Quiz", + "intro": ["", ""] + }, + "learn-how-to-discuss-popular-trends-in-technology": { + "title": "Learn How to Discuss Popular Trends in Technology", + "intro": [ + "In this course, you'll learn how to discuss about things that everybody's talking about in technology these days." + ] + }, + "en-a2-quiz-sharing-opinions": { + "title": "Technology Trends Quiz", + "intro": ["", ""] + }, + "learn-how-to-clarify-information-in-different-interactions": { + "title": "Learn How to Clarify Information in Different Interactions", + "intro": [ + "In this course, you'll learn how to check to see if the information you had is correct and how to ask for clarification when something is not clear to you." + ] + }, + "en-a2-quiz-getting-the-details-right": { + "title": "Clarifying Information Quiz", + "intro": ["", ""] + }, + "learn-how-to-use-basic-programming-vocabulary-in-conversations": { + "title": "Learn How to Use Basic Programming Vocabulary in Conversations", + "intro": [ + "This course will present basic vocabulary related to programming. You'll learn how to ask questions related to basic programming concepts." + ] + }, + "en-a2-quiz-basic-programming-vocabulary": { + "title": "Basic Programming Vocabulary Quiz", + "intro": ["", ""] + }, + "learn-how-to-use-code-related-concepts-and-terms": { + "title": "Learn How to Use Code-related Concepts and Terms", + "intro": [ + "In this course, you will be introduced to terms related to coding and learn how to use them in conversation." + ] + }, + "en-a2-quiz-key-programming-terms": { + "title": "Code Concepts and Terms Quiz", + "intro": ["", ""] + }, + "learn-how-to-discuss-tech-trends-and-updates": { + "title": "Learn How to Discuss Tech Trends and Updates", + "intro": [ + "In this course, you will be introduced to some recent trends in the world of technology and learn how to discuss them in English." + ] + }, + "en-a2-quiz-discussing-new-ideas": { + "title": "Tech Updates and Trends Quiz", + "intro": ["", ""] + }, + "learn-how-to-help-a-coworker-troubleshoot-on-github": { + "title": "Learn How to Help a Coworker Troubleshoot on GitHub", + "intro": [ + "In this course, you will learn expression related to how to ask for help from a coworker as well as how to offer them some assistance." + ] + }, + "en-a2-quiz-discussing-problems-and-solutions": { + "title": "Helping a Coworker on GitHub Quiz", + "intro": ["", ""] + }, + "learn-how-to-share-your-progress-in-weekly-stand-up-meetings": { + "title": "Learn How to Share Your Progress in Weekly Stand-up Meetings", + "intro": [ + "This course will show you how to talk about your projects in terms of what you have already done and what you are currently doing in them." + ] + }, + "en-a2-quiz-collaborating-in-meetings": { + "title": "Weekly Meeting Progress Quiz", + "intro": ["", ""] + }, + "learn-how-to-ask-for-clarification-on-code-understanding": { + "title": "Learn How to Ask for Clarification on Code Understanding", + "intro": [ + "In this course, you will see how you can ask questions to clarify things which are not very clear to you in a code." + ] + }, + "en-a2-quiz-understanding-problems": { + "title": "Asking for Code Clarification Quiz", + "intro": ["", ""] + }, + "learn-how-to-document-code-for-a-project": { + "title": "Learn How to Document Code for a Project", + "intro": [ + "This course will show you expressions related to what to do when documenting code." + ] + }, + "en-a2-quiz-document-code-project": { + "title": "Documenting Code Quiz", + "intro": ["", ""] + }, + "learn-how-to-read-and-understand-code-documentation": { + "title": "Learn How to Read and Understand Code Documentation", + "intro": [ + "This course will present more expressions related to code documentation and bring tips on how to understand it." + ] + }, + "en-a2-quiz-read-understand-code-documentation": { + "title": "Understanding Code Documentation Quiz", + "intro": ["", ""] + }, + "learn-how-to-analyze-code-documentation": { + "title": "Learn How to Analyze Code Documentation", + "intro": [ + "In this course, you will see some ideas to help you to approach documentation and analyze it in simple terms." + ] + }, + "en-a2-quiz-analyzing-documentation": { + "title": "Analyzing Code Documentation Quiz", + "intro": ["", ""] + }, + "learn-how-to-share-progress-and-accomplishments": { + "title": "Learn How to Share Progress and Accomplishments", + "intro": [ + "In this course, you will learn how to share your progress with coworkers and tell about what successes you've had in your projects." + ] + }, + "en-a2-quiz-discussing-progress-and-results": { + "title": "Sharing Progress and Achievements Quiz", + "intro": ["", ""] + }, + "learn-how-to-talk-about-updates-and-plans-for-tasks-and-projects": { + "title": "Learn How to Talk about Updates and Plans for Tasks and Projects", + "intro": [ + "This course will show you how to speak about the most recent advancements in your projects and about your plans." + ] + }, + "en-a2-quiz-task-project-updates-plans": { + "title": "Task and Project Updates Quiz", + "intro": ["", ""] + }, + "learn-how-to-express-agreement-or-disagreement": { + "title": "Learn How to Express Agreement or Disagreement", + "intro": [ + "This course will introduce how to say that you agree with what another person says and to tell them politely that you do not agree with them." + ] + }, + "en-a2-quiz-express-agreement-disagreement": { + "title": "Expressing Agreement and Disagreement Quiz", + "intro": ["", ""] + }, + "learn-how-to-offer-technical-support-and-guidance": { + "title": "Learn How to Offer Technical Support and Guidance", + "intro": [ + "In this course, you will see ways of offering some help in terms of technical specifics to another person." + ] + }, + "en-a2-quiz-following-best-practices": { + "title": "Offering Technical Support Quiz", + "intro": ["", ""] + }, + "learn-how-to-request-and-receive-guidance": { + "title": "Learn How to Request and Receive Guidance", + "intro": [ + "This course will show you how to ask for assistance from a coworker when you need it." + ] + }, + "en-a2-quiz-asking-for-help": { + "title": "Requesting and Receiving Guidance Quiz", + "intro": ["", ""] + }, + "learn-how-to-provide-explanations-when-helping-others": { + "title": "Learn How to Provide Explanations When Helping Others", + "intro": [ + "This course will provide you with ways to explain things to other people while assisting them." + ] + }, + "en-a2-quiz-giving-adivice-and-suggestions": { + "title": "Explaining Things to Others Quiz", + "intro": ["", ""] + }, + "en-a2-certification-exam": { + "title": "A2 English for Developers Certification Exam", + "intro": [ + "This exam is required to claim the A2 English for Developers Certification." + ] + } + } + }, + "b1-english-for-developers": { + "title": "B1 English for Developers Certification (Beta)", + "intro": [ + "In this English for Developers Curriculum, you'll learn the essentials of English communication. This will follow the B1 level of the Common European Framework of Reference (CEFR). And we've focused on vocabulary that is particularly useful for developers.", + "It will help you strengthen your foundational skills while introducing more complex grammar and usage. You'll learn how to describe places and things, share past experiences, and confidently use tenses like Present Perfect and Future. Practical communication strategies are included as well, such as managing conversations, expressing opinions, and building agreement or disagreement in discussions.", + "You'll also focus on applying these skills in professional and technical settings. You'll practice vocabulary and phrases essential for developers, such as describing code, participating in stand-up meetings, and discussing tech trends. Advanced topics include conditionals, comparative structures, and conversation management, so you can prepare for real-world interactions in the tech industry.", + "This entire B1-level curriculum includes 73 different dialogues. Each is designed to build your vocabulary and boost your confidence when speaking in a professional tech setting." + ], + "note": "This certification is currently in beta.", + "blocks": { + "learn-how-to-describe-places-and-events": { + "title": "Learn How to Describe Places and Events", + "intro": [ + "This course will show you ways of talking about places and events conversationally." + ] + }, + "en-b1-quiz-describe-places-events": { + "title": "Describing Places and Events Quiz", + "intro": ["", ""] + }, + "learn-how-to-talk-about-past-experiences": { + "title": "Learn How to Talk About Past Experiences", + "intro": [ + "In this course, you will learn how to share experiences that you had in the past." + ] + }, + "en-b1-quiz-past-experiences": { + "title": "Talking About Past Experiences Quiz", + "intro": ["", ""] + }, + "learn-how-to-talk-about-past-activities": { + "title": "Learn How to Talk About Past Activities", + "intro": [ + "In this course, you will learn how talk about things that you did." + ] + }, + "en-b1-quiz-past-activities": { + "title": "Talking About Past Activities Quiz", + "intro": ["", ""] + }, + "learn-present-perfect-while-talking-about-accessibility": { + "title": "Learn Present Perfect while Talking About Accessibility", + "intro": [ + "In this course, you will learn to use the Present Perfect structure and learn a bit more about accessibility." + ] + }, + "en-b1-quiz-present-perfect-accessibility": { + "title": "Present Perfect and Accessibility Quiz", + "intro": ["", ""] + }, + "learn-how-to-plan-future-events": { + "title": "Learn How to Plan Future Events", + "intro": [ + "In this course, you will learn to use the different forms of the future to plan for upcoming events." + ] + }, + "en-b1-quiz-plan-future-events": { + "title": "Planning Future Events Quiz", + "intro": ["", ""] + }, + "learn-future-continuous-while-describing-actions": { + "title": "Learn Future Continuous while Describing Actions", + "intro": [ + "In this course, you will learn to use the Future Continuous tense, and how to describe actions to be performed." + ] + }, + "en-b1-quiz-future-continuous-actions": { + "title": "Future Continuous Actions Quiz", + "intro": ["", ""] + }, + "learn-how-to-use-conditionals": { + "title": "Learn How to Use Conditionals", + "intro": [ + "In this course, you will learn to use the conditional sentences to describe hypothetical outcomes depending on the fact that certain conditions are met." + ] + }, + "en-b1-quiz-conditionals": { + "title": "Using Conditionals Quiz", + "intro": ["", ""] + }, + "learn-how-to-share-feedback": { + "title": "Learn How to Share Feedback", + "intro": [ + "In this course, you will see ways of telling other people how you feel about their work, highlighting both their strengths and points for improvement." + ] + }, + "en-b1-quiz-share-feedback": { + "title": "Sharing Feedback Quiz", + "intro": ["", ""] + }, + "learn-how-to-share-your-opinion": { + "title": "Learn How to Share Your Opinion", + "intro": [ + "This course will show you how to express your ideas and feeling towards topics in a discussion." + ] + }, + "en-b1-quiz-share-opinions": { + "title": "Sharing Opinions Quiz", + "intro": ["", ""] + }, + "learn-how-to-express-agreement": { + "title": "Learn How to Express Agreement", + "intro": [ + "In this course, you will learn to express agreement in different professional settings." + ] + }, + "en-b1-quiz-express-agreement": { + "title": "Expressing Agreement Quiz", + "intro": ["", ""] + }, + "learn-how-to-express-disagreement": { + "title": "Learn How to Express Disagreement", + "intro": [ + "In this course, you will learn to express disagreement in different professional settings." + ] + }, + "en-b1-quiz-express-disagreement": { + "title": "Expressing Disagreement Quiz", + "intro": ["", ""] + }, + "learn-how-to-express-concerns": { + "title": "Learn How to Express Concerns", + "intro": [ + "In this course, you will learn to inform other people that you are worried about things that might happen to your projects and tasks." + ] + }, + "en-b1-quiz-express-concerns": { + "title": "Expressing Concerns Quiz", + "intro": ["", ""] + }, + "learn-how-to-express-decisions-based-on-comparisons": { + "title": "Learn How to Express Decisions Based on Comparisons", + "intro": [ + "In this course, you will learn how to compare things like tools or companies using words like better, faster, and the best. You will also practice having friendly conversations to give opinions and make decisions" + ] + }, + "en-b1-quiz-decisions-comparisons": { + "title": "Making Decisions with Comparisons Quiz", + "intro": ["", ""] + }, + "learn-how-to-use-modal-verbs": { + "title": "Learn How to Use Modal Verbs", + "intro": [ + "In this course, you will learn how to talk about rules, describe things that are necessary, and what could happen if they aren't. You'll also practice asking and answering questions clearly, and adding helpful details to your ideas." + ] + }, + "en-b1-quiz-modal-verbs": { + "title": "Using Modal Verbs Quiz", + "intro": ["", ""] + }, + "learn-how-to-manage-a-conversation": { + "title": "Learn How to Manage a Conversation", + "intro": [ + "In this course, you will learn how to manage conversations at work — like how to continue a talk after a break, change topics politely, or interrupt when needed. You'll also practice using useful expressions to keep the conversation clear, friendly, and organized." + ] + }, + "en-b1-quiz-manage-conversations": { + "title": "Managing Conversations Quiz", + "intro": ["", ""] + }, + "learn-how-to-clarify-misunderstandings": { + "title": "Learn How to Clarify Misunderstandings", + "intro": [ + "In this course, you will learn how to ask for and give explanations when something is not clear, using polite questions and helpful responses. You'll also practice guessing the meaning of new words, describing problems, and clearing up misunderstandings in a friendly and professional way." + ] + }, + "en-b1-quiz-clarify-misunderstandings": { + "title": "Clarifying Misunderstandings Quiz", + "intro": ["", ""] + }, + "learn-about-speculation-and-requests": { + "title": "Learn About Speculation and Requests", + "intro": [ + "In this course, you will learn how to talk about things that should or could have happened in the past, and how to give suggestions or make polite requests. You'll also practice using expressions to guess what might have caused a problem and how to work together to solve it in a clear and respectful way." + ] + }, + "en-b1-quiz-speculation-requests": { + "title": "Speculation and Requests Quiz", + "intro": ["", ""] + }, + "learn-about-adverbial-phrases": { + "title": "Learn About Adverbial Phrases", + "intro": [ + "In this course, you will learn how to use phrases that give more information about when, where, how often, or how much something happens. You'll also practice using these phrases to describe tasks, talk about plans, and explain results more clearly in your daily work." + ] + }, + "en-b1-quiz-adverbial-phrases": { + "title": "Adverbial Phrases Quiz", + "intro": ["", ""] + }, + "learn-how-to-use-adjectives-in-conversations": { + "title": "Learn How to Use Adjectives in Conversations", + "intro": [ + "In this course, you will learn how to use adjectives to describe things clearly, compare options, and highlight important details in professional conversations. You'll also practice how to make your ideas stronger and more persuasive." + ] + }, + "en-b1-quiz-adjectives-conversations": { + "title": "Using Adjectives in Conversations Quiz", + "intro": ["", ""] + }, + "learn-determiners-and-advanced-use-of-articles": { + "title": "Learn Determiners and Advanced Use of Articles", + "intro": [ + "In this course, you will learn how to use determiners to give clear information about quantity, choice, and distribution. You will also practice using articles in more advanced ways, especially in professional conversations about planning, tasks, and resources." + ] + }, + "en-b1-quiz-determiners-articles": { + "title": "Determiners and Articles Quiz", + "intro": ["", ""] + }, + "learn-how-to-use-reported-speech": { + "title": "Learn How to Use Reported Speech", + "intro": [ + "In this course, you will learn how to report what someone else said in a clear and natural way. You will also practice using the correct verb tenses and sentence structures to share feedback, explain situations, and talk about past events in professional conversations." + ] + }, + "en-b1-quiz-reported-speech": { + "title": "Using Reported Speech Quiz", + "intro": ["", ""] + }, + "learn-how-to-use-prepositions-according-to-context": { + "title": "Learn How to Use Prepositions According to Context", + "intro": [ + "In this course, you will learn how to use prepositions to describe time, place, and direction clearly in everyday work situations. You will also practice talking about schedules, giving directions, and explaining where people or things are located using natural and accurate language." + ] + }, + "en-b1-quiz-prepositions-context": { + "title": "Using Prepositions by Context Quiz", + "intro": ["", ""] + }, + "learn-how-to-talk-about-numbers-with-a-coworker": { + "title": "Learn How to Talk About Numbers with a Coworker", + "intro": [ + "In this course, you will learn how to use numbers to talk about tasks, schedules, budgets, and resources in the workplace. You will practice using cardinal and ordinal numbers, percentages, and fractions to organize work, explain progress, and share inventory or financial updates clearly with your team." + ] + }, + "en-b1-quiz-numbers-at-work": { + "title": "Talking About Numbers at Work Quiz", + "intro": ["", ""] + }, + "learn-common-phrasal-verbs-and-idioms": { + "title": "Learn Common Phrasal Verbs and Idioms", + "intro": [ + "In this course, you will learn how to use common phrasal verbs and idioms to sound more natural and confident at work. You will practice using expressions to give opinions, make suggestions, organize meetings, and talk about tasks in everyday professional conversations." + ] + }, + "en-b1-quiz-phrasal-verbs-idioms": { + "title": "Phrasal Verbs and Idioms Quiz", + "intro": ["", ""] + }, + "en-b1-certification-exam": { + "title": "B1 English for Developers Certification Exam", + "intro": [ + "This exam is required to claim the B1 English for Developers Certification." + ] + } + } + }, + "rosetta-code": { + "title": "Rosetta Code", + "intro": [ + "Level up your creative problem solving skills with these free programming tasks from the classic Rosetta Code library.", + "These challenges can prove to be difficult, but they will push your algorithm logic to new heights.", + "Attribute: Rosetta Code" + ], + "blocks": { + "rosetta-code-challenges": { + "title": "Rosetta Code Challenges", + "intro": [ + "These are the challenges for Rosetta Code.", + "NOTE: These challenges support JavaScript only solutions." + ] + } + } + }, + "javascript-v9": { + "title": "JavaScript Certification", + "intro": [ + "This course teaches you core JavaScript programming concepts such as working with variables, functions, objects, arrays, and control flow. You'll also learn how to manipulate the DOM, handle events, and apply techniques like asynchronous programming, functional programming, and accessibility best practices.", + "To earn your JavaScript Certification:", + "- Complete the five required projects to qualify for the certification exam.", + "- Pass the JavaScript Certification exam." + ], + "chapters": { + "javascript": "JavaScript", + "javascript-certification-exam": "JavaScript Certification Exam" + }, + "modules": { + "javascript-variables-and-strings": "Variables and Strings", + "javascript-booleans-and-numbers": "Booleans and Numbers", + "javascript-functions": "Functions", + "javascript-arrays": "Arrays", + "javascript-objects": "Objects", + "javascript-loops": "Loops", + "review-javascript-fundamentals": "JavaScript Fundamentals Review", + "higher-order-functions-and-callbacks": "Higher Order Functions and Callbacks", + "dom-manipulation-and-events": "DOM Manipulation and Events", + "js-a11y": "JavaScript and Accessibility", + "debugging-javascript": "Debugging", + "basic-regex": "Basic Regex", + "lab-markdown-to-html-converter": "Build a Markdown to HTML Converter", + "form-validation": "Form Validation", + "javascript-dates": "Dates", + "audio-and-video-events": "Audio and Video Events", + "lab-drum-machine": "Build a Drum Machine", + "maps-and-sets": "Maps and Sets", + "lab-voting-system": "Build a Voting System", + "localstorage-and-crud-operations": "localStorage and CRUD Operations", + "classes-and-the-this-keyword": "Classes", + "lab-bank-account-manager": "Build a Bank Account Management Program", + "recursion": "Recursion", + "data-structures": "Data Structures", + "algorithms": "Algorithms", + "graphs-and-trees": "Graphs and Trees", + "dynamic-programming": "Dynamic Programming", + "functional-programming": "Functional Programming", + "asynchronous-javascript": "Asynchronous JavaScript", + "lab-weather-app": "Build a Weather App", + "review-javascript": "JavaScript Review", + "javascript-certification-exam": "JavaScript Certification Exam" + }, + "blocks": { + "lecture-introduction-to-javascript": { + "title": "Introduction to JavaScript", + "intro": [ + "In these lectures, you will learn the fundamentals of JavaScript. Topics covered include, but are not limited to, variables, data types, how JavaScript interacts with HTML and CSS, strings, and much more." + ] + }, + "lecture-introduction-to-strings": { + "title": "Introduction to Strings", + "intro": [ + "In these lessons, you will learn how to work with strings and string concatenation." + ] + }, + "lecture-understanding-code-clarity": { + "title": "Understanding Code Clarity", + "intro": [ + "In these lessons, you will learn about comments in JavaScript and the role of semicolons in programming." + ] + }, + "workshop-greeting-bot": { + "title": "Build a Greeting Bot", + "intro": [ + "In this workshop, you will learn JavaScript fundamentals by building a greeting bot.", + "You will learn about variables, let, const, console.log and basic string usage." + ] + }, + "lab-javascript-trivia-bot": { + "title": "Build a JavaScript Trivia Bot", + "intro": [ + "In this lab, you'll practice working with JavaScript variables and strings by building a trivia bot." + ] + }, + "lab-sentence-maker": { + "title": "Build a Sentence Maker", + "intro": [ + "In this lab, you will continue practicing with strings and concatenation by creating and customizing various stories." + ] + }, + "lecture-working-with-data-types": { + "title": "Working with Data Types", + "intro": [ + "In the following lectures, you will learn how to work with data types in JavaScript. You will also learn how dynamic typing differs from static typing, the typeof operator, and the typeof null bug." + ] + }, + "review-javascript-variables-and-data-types": { + "title": "JavaScript Variables and Data Types Review", + "intro": [ + "Before you are quizzed on JavaScript variables and data types you first need to review the concepts.", + "Open up this page to review variables, data types, logging and commenting." + ] + }, + "quiz-javascript-variables-and-data-types": { + "title": "JavaScript Variables and Data Types Quiz", + "intro": [ + "Test your knowledge of JavaScript variables and data types with this quiz." + ] + }, + "lecture-working-with-strings-in-javascript": { + "title": "Working with Strings in JavaScript", + "intro": [ + "In these lectures, you will learn how to work with strings in JavaScript. You will learn how to access characters from a string, how to use template literals and interpolation, how to create a new line in strings, and much more." + ] + }, + "workshop-teacher-chatbot": { + "title": "Build a Teacher Chatbot", + "intro": [ + "In this workshop, you will continue to learn more about JavaScript strings by building a chatbot.", + "You will learn how to work with template literals, and the indexOf method." + ] + }, + "lecture-working-with-string-character-methods": { + "title": "Working with String Character Methods", + "intro": [ + "In this lecture you will learn about ASCII character encoding and how to use JavaScript's charCodeAt() and fromCharCode() methods to convert between characters and their numerical ASCII values." + ] + }, + "lecture-working-with-string-search-and-slice-methods": { + "title": "Working with String Search and Slice Methods", + "intro": [ + "In this lecture you will learn how to search for substrings using the includes() method and how to extract portions of strings using the slice() method." + ] + }, + "workshop-string-inspector": { + "title": "Build a String Inspector", + "intro": [ + "In this workshop, you will practice working with the includes() and slice() methods by building a string inspector." + ] + }, + "lecture-working-with-string-formatting-methods": { + "title": "Working with String Formatting Methods", + "intro": [ + "In this lecture you will learn how to format strings by changing their case using toUpperCase() and toLowerCase() methods, and how to remove whitespace using trim(), trimStart(), and trimEnd() methods." + ] + }, + "workshop-string-formatter": { + "title": "Build a String Formatter", + "intro": [ + "In this workshop, you will practice working with various string methods including trim(), toUpperCase() and toLowerCase()." + ] + }, + "lecture-working-with-string-modification-methods": { + "title": "Working with String Modification Methods", + "intro": [ + "In this lecture you will learn how to modify strings by replacing parts of them using the replace() method and how to repeat strings multiple times using the repeat() method." + ] + }, + "workshop-string-transformer": { + "title": "Build a String Transformer", + "intro": [ + "In this workshop, you will practice working with the replace(), replaceAll() and repeat() methods." + ] + }, + "review-javascript-strings": { + "title": "JavaScript Strings Review", + "intro": [ + "Before you are quizzed on working with JavaScript strings, you first need to review.", + "Open up this page to review how to work with template literals, the slice method, the includes method, the trim method and more." + ] + }, + "quiz-javascript-strings": { + "title": "JavaScript Strings Quiz", + "intro": ["Test your knowledge of JavaScript strings with this quiz."] + }, + "lecture-working-with-numbers-and-arithmetic-operators": { + "title": "Working with Numbers and Arithmetic Operators", + "intro": [ + "In these lectures you will learn about the number type, arithmetic operators, and using them with numbers and strings." + ] + }, + "lab-debug-type-coercion-errors": { + "title": "Debug Type Coercion Errors in a Buggy App", + "intro": [ + "In this lab, you will be working with a buggy app that contains several type coercion errors.", + "Your task is to identify and fix these errors to ensure the app functions correctly." + ] + }, + "lecture-working-with-operator-behavior": { + "title": "Working with Operator Behavior", + "intro": [ + "In these lectures you will learn about operator precedence, the increment and decrement operators, and compound assignment operators." + ] + }, + "lab-debug-increment-and-decrement-operator-errors": { + "title": "Debug Increment and Decrement Operator Errors in a Buggy App", + "intro": [ + "In this lab, you'll debug an app that has several errors related to the increment and decrement operators.", + "Your task is to identify and fix the errors so that the app works as intended." + ] + }, + "lecture-working-with-comparison-and-boolean-operators": { + "title": "Working with Comparison and Boolean Operators", + "intro": [ + "In these lectures you will learn about booleans, and equality and inequality operators, and other comparison operators." + ] + }, + "workshop-logic-checker-app": { + "title": "Build a Logic Checker App", + "intro": [ + "In this workshop, you'll practice working with conditional statements and comparison operators by building a logic checker app." + ] + }, + "lecture-working-with-unary-and-bitwise-operators": { + "title": "Working with Unary and Bitwise Operators", + "intro": [ + "In these lectures, you will learn about unary and bitwise operators." + ] + }, + "lecture-working-with-conditional-logic-and-math-methods": { + "title": "Working with Conditional Logic and Math Methods", + "intro": [ + "In these lectures, you will learn about conditional statements, binary logical operators, and the Math object." + ] + }, + "workshop-mathbot": { + "title": "Build a Mathbot", + "intro": [ + "In this workshop, you will review how to work with the different Math object methods by building a Mathbot." + ] + }, + "lab-fortune-teller": { + "title": "Build a Fortune Teller", + "intro": [ + "In this lab, you'll build a fortune teller by randomly selecting a fortune from the available fortunes.", + "You'll practice how to work with the Math.random() method and the Math.floor() method to generate random numbers." + ] + }, + "lecture-working-with-numbers-and-common-number-methods": { + "title": "Working with Numbers and Common Number Methods", + "intro": [ + "In these lectures, you will learn about numbers and common number methods. These include isNaN(), parseInt(), parseFloat(), and toFixed()." + ] + }, + "review-javascript-math": { + "title": "JavaScript Math Review", + "intro": [ + "Before you're quizzed on working with the Math object, you should review what you've learned.", + "Open up this page to review how to work with the Math.random() method, the Math.floor() method and more." + ] + }, + "quiz-javascript-math": { + "title": "JavaScript Math Quiz", + "intro": [ + "Test your knowledge of the JavaScript Math object with this quiz." + ] + }, + "lecture-understanding-comparisons-and-conditionals": { + "title": "Understanding Comparisons and Conditionals", + "intro": [ + "In these lectures, you will learn about comparison operators and conditionals. You will learn how the various conditionals differ from one another, and how comparisons work with null and undefined." + ] + }, + "review-javascript-comparisons-and-conditionals": { + "title": "JavaScript Comparisons and Conditionals Review", + "intro": [ + "Before you're quizzed on working with conditionals, you should review what you've learned about them.", + "Open up this page to review how to work with switch statements, other types of conditionals and more." + ] + }, + "quiz-javascript-comparisons-and-conditionals": { + "title": "JavaScript Comparisons and Conditionals Quiz", + "intro": [ + "Test your knowledge of JavaScript Comparisons and Conditionals with this quiz." + ] + }, + "lecture-working-with-functions": { + "title": "Working with Functions", + "intro": [ + "In these lectures, you will learn how to reuse a block of code with functions. You will learn what the purpose of a function is and how they work, and how scope works in programming. " + ] + }, + "workshop-calculator": { + "title": "Build a Calculator", + "intro": [ + "In this workshop, you will review your knowledge of functions by building a calculator." + ] + }, + "lab-boolean-check": { + "title": "Build a Boolean Check Function", + "intro": [ + "In this lab, you'll implement a function that checks if a value is a boolean." + ] + }, + "lab-email-masker": { + "title": "Build an Email Masker", + "intro": [ + "In this lab, you'll build an email masker that will take an email address and obscure it.", + "You'll practice string slicing, concatenation, and using functions." + ] + }, + "workshop-loan-qualification-checker": { + "title": "Build a Loan Qualification Checker", + "intro": [ + "In this workshop, you will continue to learn how to work with conditionals by building a loan qualification checker app.", + "You will learn more about if statements, and how to use comparison operators and multiple conditions in an if statement." + ] + }, + "lab-celsius-to-fahrenheit-converter": { + "title": "Build a Celsius to Fahrenheit Converter", + "intro": [ + "In this lab you will implement a function that converts the temperature from Celsius to Fahrenheit." + ] + }, + "lab-counting-cards": { + "title": "Build a Card Counting Assistant", + "intro": ["In this lab you will use JavaScript to count dealt cards."] + }, + "lab-leap-year-calculator": { + "title": "Build a Leap Year Calculator ", + "intro": [ + "In this lab you'll use conditional statements and loops to determine if a year is a leap year." + ] + }, + "lab-truncate-string": { + "title": "Implement the Truncate String Algorithm", + "intro": [ + "In this lab, you will practice truncating a string at a certain length." + ] + }, + "lab-string-ending-checker": { + "title": "Build a Confirm the Ending Tool", + "intro": [ + "In this lab, you will implement a function that checks if a given string ends with a specified target string." + ] + }, + "review-javascript-functions": { + "title": "JavaScript Functions Review", + "intro": [ + "Before you're quizzed on JavaScript functions, you should review what you've learned about them.", + "Open up this page to review functions, arrow functions and scope." + ] + }, + "quiz-javascript-functions": { + "title": "JavaScript Functions Quiz", + "intro": ["Test your knowledge of JavaScript functions with this quiz."] + }, + "lecture-working-with-arrays": { + "title": "Working with Arrays", + "intro": [ + "In these lectures, you will learn how to work with JavaScript arrays. You will learn about what makes an array, one-dimensional and two-dimensional arrays, how to access and update the elements in an array, and much more." + ] + }, + "workshop-shopping-list": { + "title": "Build a Shopping List", + "intro": [ + "In this workshop, you will practice how to work with arrays by building a shopping list.", + "You will review how to add and remove elements from an array using methods like push, pop, shift, and unshift." + ] + }, + "lab-lunch-picker-program": { + "title": "Build a Lunch Picker Program", + "intro": [ + "In this lab, you'll review working with arrays and random numbers by building a lunch picker program." + ] + }, + "lab-golf-score-translator": { + "title": "Build a Golf Score Translator", + "intro": [ + "For this lab, you will use array methods to translate golf scores into their nickname." + ] + }, + "lecture-working-with-common-array-methods": { + "title": "Working with Common Array Methods", + "intro": [ + "In these lectures, you will learn about the array methods for performing more advanced operations like getting the position of an item in an array, checking if an array contains a certain element, copying an array, and lots more." + ] + }, + "review-javascript-arrays": { + "title": "JavaScript Arrays Review", + "intro": [ + "Before you're quizzed on JavaScript arrays, you should review what you've learned about them.", + "Open up this page to review concepts like array destructuring, how to add and remove elements from an array, and more." + ] + }, + "quiz-javascript-arrays": { + "title": "JavaScript Arrays Quiz", + "intro": ["Test your knowledge of JavaScript arrays with this quiz."] + }, + "lecture-introduction-to-javascript-objects-and-their-properties": { + "title": "Introduction to JavaScript Objects and Their Properties", + "intro": [ + "In these lectures, you will learn the fundamentals of JavaScript objects, including how to create them, access their properties, and understand the difference between primitive and non-primitive data types." + ] + }, + "workshop-wildlife-tracker": { + "title": "Build a Wildlife Tracker", + "intro": [ + "In this workshop, you will build a simple Wildlife Tracker using JavaScript objects.", + "You will practice creating objects, accessing and updating properties, removing properties, checking for property existence, and working with bracket notation." + ] + }, + "lab-cargo-manifest-validator": { + "title": "Build a Cargo Manifest Validator", + "intro": [ + "In this lab, you will use JavaScript to normalize and validate cargo manifests." + ] + }, + "lecture-working-with-json": { + "title": "Working with JSON", + "intro": [ + "In these lectures, you will learn about JavaScript Object Notation (JSON), including how to access JSON data and use the JSON.parse() and JSON.stringify() methods." + ] + }, + "lecture-working-with-optional-chaining-and-object-destructuring": { + "title": "Working with Optional Chaining and Object Destructuring", + "intro": [ + "In these lectures, you will learn about advanced object manipulation techniques in JavaScript, including the optional chaining operator and object destructuring syntax." + ] + }, + "lab-device-loan-ledger": { + "title": "Build a Device Loan Ledger", + "intro": [ + "In this lab, you will build a device loan ledger to manage IT hardware provisioned by your company's Service Desk.", + "You will practice working with nested objects and JSON by implementing functions to check devices in and out, track overdue loans, and convert between JSON strings and JavaScript objects." + ] + }, + "workshop-recipe-tracker": { + "title": "Build a Recipe Tracker", + "intro": [ + "In this workshop, you will review working with JavaScript objects by building a recipe tracker." + ] + }, + "lab-quiz-game": { + "title": "Build a Quiz Game", + "intro": [ + "In this lab, you'll build a quiz game using JavaScript arrays and objects.", + "You'll also practice using functions to randomly select a question and an answer from an array and compare them." + ] + }, + "lab-record-collection": { + "title": "Build a Record Collection", + "intro": [ + "In this lab you will build a function to manage a record collection." + ] + }, + "review-javascript-objects": { + "title": "JavaScript Objects Review", + "intro": [ + "Before you're quizzed on JavaScript objects, you should review what you've learned about them.", + "Open up this page to review concepts including how to access information from objects, object destructuring, working with JSON, and more." + ] + }, + "quiz-javascript-objects": { + "title": "JavaScript Objects Quiz", + "intro": ["Test your knowledge of JavaScript objects with this quiz."] + }, + "lecture-working-with-loops": { + "title": "Working with Loops", + "intro": [ + "Loops are an essential part of JavaScript. That's why the following lectures have been prepared for you to learn about the different types of loops and how they work, and also how iteration works." + ] + }, + "workshop-word-counter": { + "title": "Build a Word Counter", + "intro": [ + "In this workshop, you will practice using for...of loops by building a function that counts the occurrences of a string in an array of strings." + ] + }, + "workshop-sentence-analyzer": { + "title": "Build a Sentence Analyzer", + "intro": [ + "In this workshop, you'll review how to work with JavaScript loops by building a sentence analyzer app." + ] + }, + "lab-traffic-light-sequencer": { + "title": "Build a Traffic Light Sequencer", + "intro": [ + "In this lab, you will use JavaScript loops to build a traffic light sequencer." + ] + }, + "workshop-space-mission-roster": { + "title": "Build a Space Mission Roster", + "intro": [ + "In this workshop, you'll leverage JavaScript loops to build a space mission roster." + ] + }, + "workshop-heritage-library-catalog": { + "title": "Build a Heritage Library Catalog", + "intro": [ + "In this workshop, you will digitize historical catalog cards for a heritage library.", + "You will practice using loops, objects, and string methods to parse raw text data, search and group entries, render formatted output, and export to JSON and CSV." + ] + }, + "lab-longest-word-in-a-string": { + "title": "Build a Longest Word Finder App", + "intro": [ + "In this lab, you will use JavaScript loops to find the length of the longest word in the given sentence." + ] + }, + "lab-factorial-calculator": { + "title": "Build a Factorial Calculator ", + "intro": [ + "In this lab, you'll build a factorial calculator.", + "You'll practice using loops and conditionals to calculate the factorial of a number." + ] + }, + "lab-mutations": { + "title": "Implement the Mutations Algorithm", + "intro": [ + "In this lab, you will practice iterating over two different strings to compare their characters." + ] + }, + "lab-chunky-monkey": { + "title": "Implement the Chunky Monkey Algorithm", + "intro": [ + "In this lab, you will practice dividing an array into smaller arrays with the technique of your choice." + ] + }, + "lab-profile-lookup": { + "title": "Build a Profile Lookup", + "intro": [ + "In this lab, you'll create a function that looks up profile information." + ] + }, + "lab-repeat-a-string": { + "title": "Build a String Repeating Function", + "intro": [ + "In this lab, you will implement loops to repeat a string a specified number of times." + ] + }, + "workshop-festival-crowd-flow-simulator": { + "title": "Build a Festival Crowd Flow Simulator", + "intro": [ + "In this workshop, you will use JavaScript to simulate the flow of attendants at a music festival." + ] + }, + "lab-missing-letter-detector": { + "title": "Build a Missing Letter Detector", + "intro": [ + "In this lab, you will build a function that finds the missing letter in a given range of consecutive letters and returns it." + ] + }, + "lab-smart-pantry-restocker": { + "title": "Build a Smart Pantry Restocker", + "intro": [ + "In this lab, you will build a small pantry management program using basic JavaScript concepts like arrays, objects, loops, and conditionals." + ] + }, + "lab-proofreading-tool": { + "title": "Build a Proofreading Tool", + "intro": [ + "In this lab, you will build a proofreading tool that analyzes arrays of words for palindromes and repeated phrases.", + "You will practice for loops and nested loops to check palindromes and find repeated word sequences." + ] + }, + "review-javascript-loops": { + "title": "JavaScript Loops Review", + "intro": [ + "Before you're quizzed on the different JavaScript loops, you should review them.", + "Open up this page to review the for...of loop, while loop, break and continue statements and more." + ] + }, + "quiz-javascript-loops": { + "title": "JavaScript Loops Quiz", + "intro": ["Test your knowledge of JavaScript loops with this quiz."] + }, + "lecture-working-with-types-and-objects": { + "title": "Working with Types and Objects", + "intro": [ + "In these lectures you will learn about string objects, the toString() method, the Number constructor and more." + ] + }, + "lecture-working-with-arrays-variables-and-naming-practices": { + "title": "Working with Arrays, Variables, and Naming Practices", + "intro": [ + "In these lectures you will learn about common practices for naming variables and functions, and how to work with arrays." + ] + }, + "lecture-working-with-code-quality-and-execution-concepts": { + "title": "Working with Code Quality and Execution Concepts", + "intro": [ + "In these lectures you will learn what are linters and formatters, what is memory management, and closures." + ] + }, + "lab-reverse-a-string": { + "title": "Build a String Inverter", + "intro": [ + "In this lab, you create a function that reverses a given string." + ] + }, + "lab-largest-number-finder": { + "title": "Build the Largest Number Finder", + "intro": [ + "In this lab, you will use JavaScript fundamentals to create a function that finds the largest number in each sub-array of a given array." + ] + }, + "lab-first-element-finder": { + "title": "Build a First Element Finder", + "intro": [ + "In this lab, you will create a function that looks through an array and returns the first element in it that passes a \"truth test\"." + ] + }, + "lab-slice-and-splice": { + "title": "Implement the Slice and Splice Algorithm", + "intro": [ + "In this lab, you will practice merging an array with another." + ] + }, + "lab-pyramid-generator": { + "title": "Build a Pyramid Generator", + "intro": [ + "In this lab you'll build a pyramid generator.", + "You'll take a number as input and generate a pyramid with that many levels using a loop." + ] + }, + "lab-gradebook-app": { + "title": "Build a Gradebook App", + "intro": [ + "For this lab, you'll create a gradebook app.", + "You'll practice conditionals to determine the student's grade based on their score." + ] + }, + "lab-story-fragment-restoration": { + "title": "Restore a Coherent Narrative from an Array of Story Fragments", + "intro": [ + "In this lab, you'll restore a coherent narrative from a corrupted array of story fragments.", + "You will practice working with loops by implementing fundamental array algorithms from scratch." + ] + }, + "lecture-the-var-keyword-and-hoisting": { + "title": "The var Keyword and Hoisting", + "intro": [ + "In these lectures, you will learn about the var keyword and why it is not recommended for use anymore. You will also learn about hoisting in JavaScript so you can avoid subtle bugs in your code." + ] + }, + "lab-title-case-converter": { + "title": "Build a Title Case Converter", + "intro": [ + "In this lab, you will build a function that converts a string to title case." + ] + }, + "lab-falsy-remover": { + "title": "Implement a Falsy Remover", + "intro": [ + "In this lab, you will create a function that removes all falsy values from an array." + ] + }, + "lab-inventory-management-program": { + "title": "Build an Inventory Management Program", + "intro": [ + "For this lab, you'll build an inventory management program using JavaScript.", + "You'll use JavaScript array of objects to manage the inventory." + ] + }, + "lecture-understanding-modules-imports-and-exports": { + "title": "Understanding Modules, Imports, and Exports", + "intro": [ + "In this lecture, you will learn about modules, imports, and exports in JavaScript." + ] + }, + "lecture-working-with-the-arguments-object-and-rest-parameters": { + "title": "Working With the Arguments Object and Rest Parameters", + "intro": [ + "In these lessons, you will learn how to work with the arguments object and rest parameter syntax." + ] + }, + "lab-unique-sorted-union": { + "title": "Implement a Unique Sorted Union", + "intro": [ + "In this lab, you will create a function that takes two or more arrays and returns a new array of unique values in the order of the original provided arrays." + ] + }, + "lab-password-generator": { + "title": "Build a Password Generator App", + "intro": [ + "In this lab, you'll build a password generator app based on the user's input." + ] + }, + "lab-sum-all-numbers-algorithm": { + "title": "Design a Sum All Numbers Algorithm", + "intro": [ + "In this lab, you will design a sum all numbers algorithm. This algorithm takes an array of two numbers and returns the sum of those two numbers plus the sum of all the numbers between them." + ] + }, + "lab-dna-pair-generator": { + "title": "Implement a DNA Pair Generator", + "intro": [ + "In this lab you will implement a DNA base pairing algorithm that converts a single DNA strand into complementary base pairs." + ] + }, + "lab-html-entitiy-converter": { + "title": "Implement an HTML Entity Converter", + "intro": [ + "In this lab, you will convert special characters in a string to their corresponding HTML entities." + ] + }, + "lab-odd-fibonacci-sum-calculator": { + "title": "Build an Odd Fibonacci Sum Calculator", + "intro": [ + "In this lab you will build an odd Fibonacci sum calculator that takes a number and returns the sum of all odd Fibonacci numbers that are less than or equal to that number." + ] + }, + "lab-element-skipper": { + "title": "Implement an Element Skipper", + "intro": [ + "In this lab you will create a function that skips elements in an array based on a specified step value." + ] + }, + "lab-playlist-remix-engine": { + "title": "Build a Playlist Remix Engine", + "intro": [ + "In this lab, you will build a Playlist Remix Engine using JavaScript arrays.", + "You will apply array methods and logic to transform data and generate a final remix schedule." + ] + }, + "review-javascript-fundamentals": { + "title": "JavaScript Fundamentals Review", + "intro": [ + "Before you are quizzed on JavaScript fundamentals, you first need to review the concepts.", + "Open up this page to review concepts like closures, memory management, and more." + ] + }, + "quiz-javascript-fundamentals": { + "title": "JavaScript Fundamentals Quiz", + "intro": [ + "Test your knowledge of JavaScript fundamentals with this quiz." + ] + }, + "lecture-working-with-higher-order-functions-and-callbacks": { + "title": "Working with Higher Order Functions and Callbacks", + "intro": [ + "In these lectures, you will learn how to work with higher order functions and callbacks. The higher order functions you will learn include map(), filter(), reduce(), sort(), every(), and some(). You will also learn how to chain these methods together to achieve your desired results." + ] + }, + "workshop-library-manager": { + "title": "Build a Library Manager", + "intro": [ + "In this workshop, you will learn higher order array methods by building a library manager." + ] + }, + "lab-book-organizer": { + "title": "Build a Book Organizer", + "intro": [ + "In this lab, you'll build a book organizer using higher order functions in JavaScript." + ] + }, + "lab-sorted-index-finder": { + "title": "Implement a Sorted Index Finder", + "intro": [ + "In this lab, you will create a function that finds the index at which a given number should be inserted into a sorted array to maintain the array's sorted order." + ] + }, + "lab-symmetric-difference": { + "title": "Build a Symmetric Difference Function", + "intro": [ + "In this lab, you will practice using higher order functions to find the symmetric difference between two arrays." + ] + }, + "lab-value-remover-function": { + "title": "Implement a Value Remover Function", + "intro": [ + "In this lab, you will create a function that removes all instances of a specified value from an array." + ] + }, + "lab-matching-object-filter": { + "title": "Implement a Matching Object Filter", + "intro": [ + "In this lab, you will create a function that looks through an array of objects and returns an array of all objects that have matching property and value pairs." + ] + }, + "lab-range-based-lcm-calculator": { + "title": "Implement a Range-Based LCM Calculator", + "intro": [ + "In this lab, you will create a function that takes an array of two numbers and returns the least common multiple (LCM) of those two numbers and all the numbers between them." + ] + }, + "lab-deep-flattening-tool": { + "title": "Create a Deep Flattening Tool", + "intro": [ + "In this lab you will create a function that can flatten deeply nested arrays, handling any level of nesting without using built-in flat methods." + ] + }, + "lab-all-true-property-validator": { + "title": "Build an All-True Property Validator", + "intro": [ + "In this lab you will build a function that checks if all objects in an array have a truthy value for a specific property." + ] + }, + "review-javascript-higher-order-functions": { + "title": "JavaScript Higher Order Functions Review", + "intro": [ + "Before you're quizzed on JavaScript higher order functions, you should review them.", + "Open up this page to review concepts including how to work with the map(), filter(), and reduce() methods." + ] + }, + "quiz-javascript-higher-order-functions": { + "title": "JavaScript Higher Order Functions Quiz", + "intro": [ + "Test what you've learned about JavaScript higher order functions with this quiz." + ] + }, + "lecture-working-with-the-dom-click-events-and-web-apis": { + "title": "Working with the DOM, Click Events, and Web APIs", + "intro": [ + "In these lectures, you will learn how to work with the Document Object Model (DOM), the addEventListener() method and events, and web APIs." + ] + }, + "workshop-storytelling-app": { + "title": "Build a Storytelling App", + "intro": [ + "In this workshop, you will build a storytelling app that will allow you to list different stories based on genre." + ] + }, + "workshop-emoji-reactor": { + "title": "Build an Emoji Reactor", + "intro": [ + "In this workshop, you will build an emoji reactor to practice querySelector and querySelectorAll." + ] + }, + "lab-favorite-icon-toggler": { + "title": "Build a Favorite Icon Toggler", + "intro": [ + "In this lab, you'll build a favorite icon toggler by utilizing JavaScript click events." + ] + }, + "lecture-understanding-the-event-object-and-event-delegation": { + "title": "Understanding the Event Object and Event Delegation", + "intro": [ + "In these lectures, you will learn about the event object, the change event, event bubbling, and event delegation." + ] + }, + "workshop-music-instrument-filter": { + "title": "Build a Music Instrument Filter", + "intro": [ + "In this workshop, you will build a music instrument filter with JavaScript." + ] + }, + "lab-real-time-counter": { + "title": "Build a Real Time Counter", + "intro": [ + "In this lab, you'll build a real-time character counter", + "You'll practice how to work with the input event when the user types in the input field." + ] + }, + "lab-lightbox-viewer": { + "title": "Build a Lightbox Viewer", + "intro": [ + "In this lab, you'll build a lightbox viewer for viewing images in a focused mode.", + "You'll practice click events and toggling classes." + ] + }, + "workshop-rps-game": { + "title": "Build a Rock, Paper, Scissors Game", + "intro": [ + "In this workshop, you will review DOM manipulation and events by building a Rock, Paper, Scissors Game." + ] + }, + "lab-football-team-cards": { + "title": "Build a Set of Football Team Cards", + "intro": [ + "In this lab, you'll use DOM manipulation, object destructuring, event handling, and data filtering to build a set of football team cards." + ] + }, + "review-dom-manipulation-and-click-events-with-javascript": { + "title": "DOM Manipulation and Click Events with JavaScript Review", + "intro": [ + "Before you're quizzed on the DOM, you should review what you've learned about it.", + "Open up this page to review concepts including how to work with the DOM, Web APIs, the addEventListener() method, change events, event bubbling and more." + ] + }, + "quiz-dom-manipulation-and-click-event-with-javascript": { + "title": "DOM Manipulation and Click Events with JavaScript Quiz", + "intro": [ + "Test your knowledge of DOM manipulation and click events in JavaScript with this quiz." + ] + }, + "lecture-understanding-aria-expanded-aria-live-and-common-aria-states": { + "title": "Understanding aria-expanded, aria-live, and Common ARIA States", + "intro": [ + "In these lectures you will learn more about ARIA attributes like aria-expanded, aria-live, and common ARIA states." + ] + }, + "workshop-planets-tablist": { + "title": "Build a Planets Tablist", + "intro": [ + "In this workshop, you will build a dynamic tabbed interface that showcases facts about the planets in the solar system." + ] + }, + "workshop-note-taking-app": { + "title": "Build a Note Taking App", + "intro": [ + "In this workshop, you are going to build an accessible note taking app.", + "This will provide you with the opportunity to practice working with aria-live attribute." + ] + }, + "lab-theme-switcher": { + "title": "Build a Theme Switcher", + "intro": [ + "In this lab, you will build a theme switcher and practice working with the aria-haspopup, aria-expanded, and aria-controls attributes." + ] + }, + "review-js-a11y": { + "title": "JavaScript and Accessibility Review", + "intro": [ + "Before you're quizzed on JavaScript and accessibility, you should review what you've learned about it.", + "Open up this page to review concepts including how to work with the aria-expanded, aria-live, and aria-controls attributes." + ] + }, + "quiz-js-a11y": { + "title": "JavaScript and Accessibility Quiz", + "intro": [ + "Test your knowledge of JavaScript and accessibility best practices with this quiz." + ] + }, + "lecture-debugging-techniques": { + "title": "Debugging Techniques", + "intro": [ + "In these lectures, you will learn about the common errors in JavaScript and the techniques you can use to fix them – a process called debugging." + ] + }, + "lab-random-background-color-changer": { + "title": "Debug a Random Background Color Changer", + "intro": [ + "In this lab, you'll debug a random background color changer and fix the errors to make it work properly." + ] + }, + "review-debugging-javascript": { + "title": "Debugging JavaScript Review", + "intro": [ + "Before you're quizzed on common debugging techniques, you should review what you've learned.", + "Open up this page to review concepts including how to work with the throw statement, try...catch...finally and more." + ] + }, + "quiz-debugging-javascript": { + "title": "Debugging JavaScript Quiz", + "intro": ["Test your knowledge of JavaScript debugging with this quiz."] + }, + "lecture-working-with-regular-expressions": { + "title": "Working with Regular Expressions", + "intro": [ + "In these lectures, you will learn about regular expressions in JavaScript. You will learn about the methods for working with regular expressions, modifiers, character classes, lookaheads, lookbehinds, back-references, quantifiers, and more." + ] + }, + "workshop-spam-filter": { + "title": "Build a Spam Filter", + "intro": [ + "Regular expressions, often shortened to \"regex\" or \"regexp\", are patterns that help programmers match, search, and replace text. Regular expressions are powerful, but can be difficult to understand because they use so many special characters.", + "In this workshop, you'll use capture groups, positive lookaheads, negative lookaheads, and other techniques to match any text you want." + ] + }, + "lab-palindrome-checker": { + "title": "Build a Palindrome Checker", + "intro": [ + "For this lab, you'll build an application that checks whether a given word is a palindrome." + ] + }, + "lab-regex-sandbox": { + "title": "Build a RegEx Sandbox", + "intro": ["In this lab you'll build a regex sandbox."] + }, + "lab-spinal-case-converter": { + "title": "Implement a Spinal Case Converter", + "intro": [ + "In this lab, you will create a function that converts a given string to spinal case which is a style of writing where all letters are lowercase and separated by hyphens." + ] + }, + "lab-pig-latin": { + "title": "Implement a Pig Latin Translator", + "intro": [ + "In this lab, you'll implement a Pig Latin translator using JavaScript.", + "You'll practice string manipulation, conditional logic, and regular expressions." + ] + }, + "lab-smart-word-replacement": { + "title": "Build a Smart Word Replacement Function", + "intro": [ + "In this lab, you will use regex to create a function that performs a search and replace operation on a given string." + ] + }, + "review-javascript-regular-expressions": { + "title": "JavaScript Regular Expressions Review", + "intro": [ + "Before you're quizzed on Regular Expressions, you should review what you've learned.", + "Open up this page to review concepts like lookaheads, lookbehinds, common regex modifiers and more." + ] + }, + "quiz-javascript-regular-expressions": { + "title": "JavaScript Regular Expressions Quiz", + "intro": [ + "Test your knowledge of JavaScript Regular Expressions with this quiz." + ] + }, + "lab-markdown-to-html-converter": { + "title": "Build a Markdown to HTML Converter", + "intro": [ + "For this lab, you'll build a Markdown to HTML converter using JavaScript.", + "You'll practice regular expressions, string manipulation, and more." + ] + }, + "lecture-understanding-form-validation": { + "title": "Understanding Form Validation", + "intro": [ + "In these lectures, you will learn about form validation in JavaScript. You will learn about the various ways to validate forms, how the preventDefault() method works, and how the submit event works." + ] + }, + "workshop-envelope-budget-app": { + "title": "Build an Envelope Budget App", + "intro": [ + "Sometimes when you're coding a web application, you'll need to be able to accept input from a user. In this envelope budget app workshop, you'll practice how to validate user input, perform calculations based on that input, and dynamically update your interface to display the results.", + "You'll also practice basic regular expressions, template literals, the addEventListener() method, and more." + ] + }, + "lab-customer-complaint-form": { + "title": "Build a Customer Complaint Form", + "intro": [ + "For this lab, you'll use JavaScript to validate a customer complaint form.", + "You'll practice how to validate form inputs, display error messages, and prevent the form from submitting if there are errors." + ] + }, + "review-form-validation-with-javascript": { + "title": "Form Validation with JavaScript Review", + "intro": [ + "Before you're quizzed on form validation, you should review what you've learned.", + "Open up this page to review concepts including the preventDefault() method, the submit event and more." + ] + }, + "quiz-form-validation-with-javascript": { + "title": "Form Validation with JavaScript Quiz", + "intro": [ + "Test what you've learned about JavaScript form validation with this quiz." + ] + }, + "lecture-working-with-dates": { + "title": "Working with Dates", + "intro": [ + "In these lectures, you will learn about the JavaScript date object. You will learn about the methods for working with dates and how to format dates." + ] + }, + "lab-date-conversion": { + "title": "Build a Date Conversion Program", + "intro": [ + "In this lab, you'll build a program to convert a date from one format to another." + ] + }, + "review-javascript-dates": { + "title": "JavaScript Dates Review", + "intro": [ + "Before you're quizzed on working with dates, you should review what you've learned.", + "Open up this page to review the Date() object and common methods." + ] + }, + "quiz-javascript-dates": { + "title": "JavaScript Dates Quiz", + "intro": [ + "Test what you've learned about JavaScript Dates with this quiz." + ] + }, + "lecture-working-with-audio-and-video": { + "title": "Working with Audio and Video", + "intro": [ + "In these lectures, you will learn how to work with audio and video files using JavaScript. You will learn about the Audio and Video constructors, their methods and properties, audio and video formats, codecs, the HTMLMediaElement API, and much more." + ] + }, + "workshop-music-player": { + "title": "Build a Music Player", + "intro": [ + "In this workshop, you'll code a basic MP3 player using HTML, CSS, and JavaScript.", + "The project covers fundamental concepts such as handling audio playback, managing a playlist, implementing play, pause, next, and previous functionalities and dynamically update your user interface based on the current song." + ] + }, + "review-javascript-audio-and-video": { + "title": "JavaScript Audio and Video Review", + "intro": [ + "Before you're quizzed on working with audio and video in JavaScript, you should review what you've learned about them.", + "Open up this page to review concepts including the Audio constructor, the HTMLMediaElement API and more." + ] + }, + "quiz-javascript-audio-and-video": { + "title": "JavaScript Audio and Video Quiz", + "intro": [ + "Test what you've learned about JavaScript audio and video with this quiz." + ] + }, + "lab-drum-machine": { + "title": "Build a Drum Machine", + "intro": [ + "For this lab you will use the audio element to build a drum machine." + ] + }, + "lecture-working-with-maps-and-sets": { + "title": "Working with Maps and Sets", + "intro": [ + "In these lectures, you will learn about JavaScript Map and Set. You will also learn how they both differ from WeakSets and WeakMaps." + ] + }, + "workshop-plant-nursery-catalog": { + "title": "Build a Plant Nursery Catalog", + "intro": [ + "In this workshop, you will practice using Maps and Sets by building a plant nursery catalog." + ] + }, + "review-javascript-maps-and-sets": { + "title": "JavaScript Maps and Sets Review", + "intro": [ + "Before you're quizzed on JavaScript Maps and Sets, you should review what you've learned about them.", + "Open up this page to review concepts such as the Map and Set objects, as well as WeakSet and WeakMap." + ] + }, + "quiz-javascript-maps-and-sets": { + "title": "JavaScript Maps and Sets Quiz", + "intro": [ + "Test what you've learned about JavaScript Maps and Sets with this quiz." + ] + }, + "lab-voting-system": { + "title": "Build a Voting System", + "intro": [ + "In this lab, you'll build a voting system using Maps and Sets.", + "You'll practice how to use the Map object to store key-value pairs and the Set object to store unique values." + ] + }, + "lecture-working-with-client-side-storage-and-crud-operations": { + "title": "Working with Client-Side Storage and CRUD Operations", + "intro": [ + "In these lectures, you will learn about client-side storage and CRUD operations in JavaScript. You will learn about localStorage and sessionStorage alongside their methods and properties, cookies, the Cache API, IndexDB, and much more." + ] + }, + "workshop-todo-app": { + "title": "Build a Todo App using Local Storage", + "intro": [ + "Local storage is a web browser feature that lets web applications store key-value pairs persistently within a user's browser. This allows web apps to save data during one session, then retrieve it in a later page session.", + "In this workshop, you'll learn how to handle form inputs, manage local storage, perform CRUD (Create, Read, Update, Delete) operations on tasks, implement event listeners, and toggle UI elements." + ] + }, + "lab-bookmark-manager-app": { + "title": "Build a Bookmark Manager App", + "intro": [ + "For this lab, you'll build a bookmark manager app.", + "You'll utilize local storage to store bookmarks, and practice how to add, remove, and display bookmarks." + ] + }, + "review-local-storage-and-crud": { + "title": "Local Storage and CRUD Review", + "intro": [ + "Before you are quizzed on working with localStorage, you first need to review the concepts.", + "Open up this page to review the localStorage property, sessionStorage property and more." + ] + }, + "quiz-local-storage-and-crud": { + "title": "Local Storage and CRUD Quiz", + "intro": [ + "Test what you've learned about local storage and CRUD with this quiz." + ] + }, + "lecture-understanding-how-to-work-with-classes-in-javascript": { + "title": "Understanding How to Work with Classes in JavaScript", + "intro": [ + "In these lectures, you will learn about classes in JavaScript. You will learn about inheritance, the this keyword, static properties and methods, and more." + ] + }, + "workshop-shopping-cart": { + "title": "Build a Shopping Cart", + "intro": [ + "In this workshop you'll create a shopping cart using JavaScript classes.", + "You will practice how to use the this keyword, create class instances, implement methods for data manipulation and more." + ] + }, + "lab-project-idea-board": { + "title": "Build a Project Idea Board", + "intro": [ + "In this lab, you'll build a project idea board using OOP in JavaScript.", + "You'll practice how to create classes, add methods to classes, and create instances of classes." + ] + }, + "review-javascript-classes": { + "title": "JavaScript Classes Review", + "intro": [ + "Before you're quizzed on how to work with classes, you should review what you've learned about them.", + "Open up this page to review concepts including the this keyword, class inheritance and more." + ] + }, + "quiz-javascript-classes": { + "title": "JavaScript Classes Quiz", + "intro": [ + "Test what you've learned about JavaScript classes with this quiz." + ] + }, + "lab-bank-account-manager": { + "title": "Build a Bank Account Management Program", + "intro": [ + "In this lab, you'll build a simple transaction management system for a bank account." + ] + }, + "lecture-understanding-recursion-and-the-call-stack": { + "title": "Understanding Recursion and the Call Stack", + "intro": [ + "In this lecture, you will learn about recursion and the call stack." + ] + }, + "workshop-countup": { + "title": "Build a Countup", + "intro": [ + "In this workshop you will build a countdown function that returns an array of numbers counting up from 1 to a given number." + ] + }, + "lab-countdown": { + "title": "Build a Countdown", + "intro": [ + "For this lab, you will build a countdown function that returns an array of numbers counting down from given number to 1." + ] + }, + "lab-range-of-numbers": { + "title": "Build a Range of Numbers Generator", + "intro": [ + "In this lab, you'll use recursion to generate an array of numbers within a specified range.", + "You'll practice recursive function calls, base cases, and building arrays through recursion." + ] + }, + "workshop-decimal-to-binary-converter": { + "title": "Build a Decimal to Binary Converter", + "intro": [ + "Recursion is a programming concept where a function calls itself. This can reduce a complex problem into simpler sub-problems, until they become straightforward to solve.", + "In this workshop, you'll build a decimal-to-binary converter using JavaScript. You'll practice the fundamental concepts of recursion, explore the call stack, and build out a visual representation of the recursion process through an animation." + ] + }, + "lab-permutation-generator": { + "title": "Build a Permutation Generator", + "intro": [ + "For this lab, you'll build a permutation generator that produces all possible permutations of a given string." + ] + }, + "review-recursion": { + "title": "Recursion Review", + "intro": [ + "Before you're quizzed on recursion, you should review what you've learned.", + "Open up this page to review what is recursion and what is it used for." + ] + }, + "quiz-recursion": { + "title": "Recursion Quiz", + "intro": ["Test your knowledge of Recursion with this quiz."] + }, + "lecture-working-with-common-data-structures-js": { + "title": "Working with Common Data Structures", + "intro": [ + "Learn about common data structures and how to work with them in JavaScript." + ] + }, + "workshop-linked-list-js": { + "title": "Build a Linked List", + "intro": [ + "In the previous lessons, you learned about some common data structures.", + "In this workshop, you will build a linked list using JavaScript." + ] + }, + "lab-linked-list-operations": { + "title": "Implement Linked List Operations", + "intro": [ + "In this lab you will implement common linked list operations such as insertion, deletion, and traversal." + ] + }, + "lab-implement-a-stack": { + "title": "Implement a Stack", + "intro": [ + "In this lab, you will implement a stack data structure using functions." + ] + }, + "lab-implement-a-queue": { + "title": "Implement a Queue", + "intro": [ + "In this lab, you will implement a queue data structure using functions." + ] + }, + "review-data-structures-js": { + "title": "Data Structures Review", + "intro": [ + "Before you're quizzed on data structures, you should review what you've learned about them.", + "Open up this page to review concepts like the different data structures, algorithms, time and space complexity, and big O notation." + ] + }, + "quiz-data-structures-js": { + "title": "Data Structures Quiz", + "intro": [ + "Test what you've learned about data structures in JavaScript with this quiz." + ] + }, + "lecture-introduction-to-common-searching-and-sorting-algorithms": { + "title": "Introduction to Common Searching and Sorting Algorithms", + "intro": [ + "Learn about fundamental searching and sorting algorithms, including linear search, binary search, and merge sort.", + "These lessons cover algorithm implementations, time and space complexity analysis, and the divide and conquer programming paradigm." + ] + }, + "workshop-binary-search-js": { + "title": "Implement the Binary Search Algorithm", + "intro": [ + "The binary search algorithm is a searching algorithm used to find a target item in a sorted list.", + "In this workshop, you'll implement the binary search algorithm and return the path it took to find the target or return 'Value not found'." + ] + }, + "workshop-merge-sort-js": { + "title": "Implement the Merge Sort Algorithm", + "intro": [ + "The merge sort algorithm is a sorting algorithm based on the divide and conquer principle.", + "In this workshop, you'll implement the merge sort algorithm to sort a list of random numbers." + ] + }, + "lab-bubble-sort-algorithm": { + "title": "Implement the Bubble Sort Algorithm", + "intro": [ + "In this lab, you will implement the bubble sort algorithm to sort an array of integers in ascending order." + ] + }, + "lab-selection-sort-js": { + "title": "Implement the Selection Sort Algorithm", + "intro": [ + "In this lab you will implement the selection sort algorithm." + ] + }, + "lab-insertion-sort": { + "title": "Implement the Insertion Sort Algorithm", + "intro": [ + "In this lab, you will implement the insertion sort algorithm to sort an array of integers in ascending order." + ] + }, + "lab-quicksort-js": { + "title": "Implement the Quicksort Algorithm", + "intro": [ + "In this lab you will implement the quicksort algorithm to sort an array of integers." + ] + }, + "review-searching-and-sorting-algorithms-js": { + "title": "Searching and Sorting Algorithms Review", + "intro": [ + "Before you are quizzed on Algorithms, you should review what you've learned about searching and sorting algorithms." + ] + }, + "quiz-searching-and-sorting-algorithms-js": { + "title": "Searching and Sorting Algorithms Quiz", + "intro": [ + "Test your knowledge of searching and sorting algorithms with this quiz." + ] + }, + "lecture-understanding-graphs-and-trees-js": { + "title": "Understanding Graphs and Trees", + "intro": [ + "In this lesson, you will learn about fundamental data structures like graphs, trees, and their practical applications in computer science." + ] + }, + "workshop-shortest-path-algorithm-js": { + "title": "Implement the Shortest Path Algorithm", + "intro": [ + "The shortest path algorithm finds the minimum distance between nodes in a weighted graph.", + "In this workshop, you'll implement the shortest path algorithm in JavaScript and return both the shortest distances and the paths taken." + ] + }, + "lab-adjacency-list-to-matrix-converter-js": { + "title": "Build an Adjacency List to Matrix Converter", + "intro": [ + "In this lab, you will implement a function that converts an adjacency list representation of a graph into an adjacency matrix representation." + ] + }, + "workshop-breadth-first-search-js": { + "title": "Implement the Breadth-First Search Algorithm", + "intro": [ + "In this workshop, you will use the breadth-first search algorithm to generate all valid combinations of parentheses." + ] + }, + "lab-depth-first-search-js": { + "title": "Implement the Depth-First Search Algorithm", + "intro": [ + "In this lab, you will implement a solution for the depth-first search algorithm." + ] + }, + "lab-n-queens-problem-js": { + "title": "Implement the N-Queens Algorithm", + "intro": [ + "In this lab, you will implement a solution for the N-Queens problem." + ] + }, + "review-graphs-and-trees-js": { + "title": "Graphs and Trees Review", + "intro": [ + "Graphs and Trees Review", + "Before you are quizzed on graphs and trees, you should review what you've learned." + ] + }, + "quiz-graph-and-trees-js": { + "title": "Graphs and Trees Quiz", + "intro": [ + "Graphs and Trees Quiz", + "Test what you've learned about graphs and trees with this quiz." + ] + }, + "lecture-understanding-dynamic-programming-js": { + "title": "Understanding Dynamic Programming", + "intro": [ + "In this lesson, you will learn about dynamic programming, an algorithmic technique used to solve complex problems efficiently by breaking them down into simpler subproblems." + ] + }, + "lab-nth-fibonacci-number-js": { + "title": "Build an Nth Fibonacci Number Calculator", + "intro": [ + "In this lab, you'll practice dynamic programming by implementing a Fibonacci sequence calculator in JavaScript." + ] + }, + "lab-prime-number-sum-calculator": { + "title": "Build a Prime Number Sum Calculator", + "intro": [ + "In this lab you will build a prime number sum calculator that takes a number and returns the sum of all prime numbers that are less than or equal to that number." + ] + }, + "review-dynamic-programming-js": { + "title": "Dynamic Programming Review", + "intro": [ + "Before you're quizzed on dynamic programming, you should review what you've learned about it." + ] + }, + "quiz-dynamic-programming-js": { + "title": "Dynamic Programming Quiz", + "intro": [ + "Test what you've learned about dynamic programming in JavaScript with this quiz." + ] + }, + "lecture-understanding-functional-programming": { + "title": "Understanding Functional Programming", + "intro": [ + "In these lectures, you will learn about functional programming and how to nest functions using a technique called currying." + ] + }, + "workshop-recipe-ingredient-converter": { + "title": "Build a Recipe Ingredient Converter", + "intro": [ + "In the previous lectures, you learned the core concepts behind functional programming and currying.", + "Now you will be able to apply what you have learned about currying and functional programming by building a recipe ingredient converter application." + ] + }, + "lab-optional-arguments-sum-function": { + "title": "Build an Optional Arguments Sum Function", + "intro": [ + "In this lab you will build a function that accepts up to two arguments, and sum them, but if there is only one argument returns a function that waits for the second number to sum." + ] + }, + "lab-sorting-visualizer": { + "title": "Build a Sorting Visualizer", + "intro": [ + "For this lab, you'll use JavaScript to visualize the steps that the Bubble Sort algorithm takes to reorder an array of integers." + ] + }, + "review-javascript-functional-programming": { + "title": "JavaScript Functional Programming Review", + "intro": [ + "Before you're quizzed on functional programming, you should review what you've learned.", + "Open up this page to review concepts on functional programming, currying and more." + ] + }, + "quiz-javascript-functional-programming": { + "title": "JavaScript Functional Programming Quiz", + "intro": [ + "Test what you've learned about JavaScript functional programming with this quiz." + ] + }, + "lecture-understanding-asynchronous-programming": { + "title": "Understanding Asynchronous Programming", + "intro": [ + "In these lectures, you will learn about asynchronous programming in JavaScript. You will learn about the differences between synchronous and asynchronous programming, how the async keyword works, the Fetch API, promises, async/await, the Geolocation API, and much more." + ] + }, + "workshop-fcc-authors-page": { + "title": "Build an fCC Authors Page", + "intro": [ + "One common aspect of web development is learning how to fetch data from an external API, then work with asynchronous JavaScript.", + "In this workshop you will practice how to use the fetch method, dynamically update the DOM to display the fetched data and paginate your data so you can load results in batches." + ] + }, + "lab-fcc-forum-leaderboard": { + "title": "Build an fCC Forum Leaderboard", + "intro": [ + "For this lab you'll practice asynchronous JavaScript by coding your own freeCodeCamp forum leaderboard." + ] + }, + "review-asynchronous-javascript": { + "title": "Asynchronous JavaScript Review", + "intro": [ + "Review asynchronous JavaScript concepts to prepare for the upcoming quiz." + ] + }, + "quiz-asynchronous-javascript": { + "title": "Asynchronous JavaScript Quiz", + "intro": [ + "Test what you've learned about asynchronous JavaScript with this quiz." + ] + }, + "lab-weather-app": { + "title": "Build a Weather App", + "intro": [ + "In this lab you'll build a Weather App using an API", + "You'll practice how to fetch data from the API, store and display it on your app." + ] + }, + "review-javascript": { + "title": "JavaScript Review", + "intro": [ + "Before you take the JavaScript prep exam, you should review everything you've learned about JavaScript.", + "Open up this page to review all of the concepts taught including variables, strings, booleans, functions, objects, arrays, debugging, working with the DOM and more." + ] + }, + "exam-javascript-certification": { + "title": "JavaScript Certification Exam", + "intro": ["Pass this exam to earn your JavaScript Certification."] + } + } + }, + "front-end-development-libraries-v9": { + "title": "Front-End Development Libraries Certification", + "intro": [ + "This course teaches you the libraries that developers use to build webpages: React, TypeScript, and more.", + "To earn your Front-End Development Libraries Certification:", + "- Complete the five required projects to qualify for the certification exam.", + "- Pass the Front-End Development Libraries Certification exam." + ], + "note": "", + "chapters": { + "front-end-development-libraries": "Front-End Development Libraries", + "front-end-development-libraries-certification-exam": "Front-End Development Libraries Certification Exam" + }, + "modules": { + "react-fundamentals": "React Fundamentals", + "react-state-hooks-and-routing": "React State, Hooks, and Routing", + "lab-currency-converter": "Build a Currency Converter", + "lab-tic-tac-toe": "Build a Tic-Tac-Toe Game", + "performance": "Performance", + "testing": "Testing", + "css-libraries-and-frameworks": "CSS Libraries and Frameworks", + "lab-photography-exhibit": "Design a Photography Exhibit", + "typescript-fundamentals": "TypeScript Fundamentals", + "lab-flashcard-quiz-app": "Build a Flashcard Quiz App", + "lab-digital-pet-game": "Build a Digital Pet Game", + "review-front-end-libraries": "Front-End Libraries Review", + "front-end-development-libraries-certification-exam": "Front-End Development Libraries Certification Exam" + }, + "blocks": { + "lecture-introduction-to-javascript-libraries-and-frameworks": { + "title": "Introduction to JavaScript Libraries and Frameworks", + "intro": [ + "In these lessons, you will get an introduction to JavaScript libraries and frameworks. You will learn about the roles of JavaScript libraries and frameworks, single page applications (SPAs) and the issue surrounding them, and React, the most popular front-end JavaScript library." + ] + }, + "workshop-reusable-mega-navbar": { + "title": "Build a Reusable Mega Navbar", + "intro": [ + "In the previous lessons, you learned how to work with components in React.", + "In this workshop, you will build a reusable Navbar component using React." + ] + }, + "lab-reusable-footer": { + "title": "Build a Reusable Footer", + "intro": ["In this lab, you'll use React to build a reusable footer."] + }, + "lecture-working-with-data-in-react": { + "title": "Working with Data in React", + "intro": [ + "In these lessons, you will learn how to work with data in React. You will learn about props and how to pass them around, conditional rendering, how to render lists, and how to use inline styles." + ] + }, + "workshop-reusable-profile-card-component": { + "title": "Build a Reusable Profile Card Component", + "intro": [ + "In this workshop, you will learn how to work with props by building a reusable profile card component." + ] + }, + "lab-mood-board": { + "title": "Build a Mood Board", + "intro": [ + "In this lab, you'll create a mood board using React.", + "You'll practice how to pass data from a parent component to a child component using props." + ] + }, + "review-react-basics": { + "title": "React Basics Review", + "intro": [ + "Review basic React concepts to prepare for the upcoming quiz." + ] + }, + "quiz-react-basics": { + "title": "React Basics Quiz", + "intro": ["Test your knowledge of React basics with this quiz."] + }, + "lecture-working-with-state-and-responding-to-events-in-react": { + "title": "Working with State and Responding to Events in React", + "intro": [ + "In these lessons, you will learn about working with state and responding to events with React." + ] + }, + "workshop-toggle-text-app": { + "title": "Toggle Text App", + "intro": [ + "In this workshop, you will continue to learn about the useState() hook by building an application that hides and shows a piece of text on the screen." + ] + }, + "lab-color-picker": { + "title": "Build a Color Picker App", + "intro": [ + "In this lab you'll build a Color Picker.", + "You'll practice using state and hooks to manage the properties of an element." + ] + }, + "lecture-understanding-effects-and-referencing-values-in-react": { + "title": "Understanding Effects and Referencing Values in React", + "intro": [ + "In these lessons, you will learn about effects and referencing values with React." + ] + }, + "workshop-fruit-search-app": { + "title": "Build a Fruit Search App", + "intro": [ + "In this workshop, you will continue to learn about the useEffect() hook by building an application that fetches fruit data from an API based on user input and displays the results dynamically." + ] + }, + "lab-one-time-password-generator": { + "title": "Build a One-Time Password Generator", + "intro": [ + "In this lab you'll build a one-time password generator.", + "You'll practice using the useEffect hooks to create a timer and generate a random OTP." + ] + }, + "review-react-state-and-hooks": { + "title": "React State and Hooks Review", + "intro": [ + "Before you're quizzed on React state and hooks, you should review what you've learned.", + "Open up this page to review working with state, custom hooks and more." + ] + }, + "quiz-react-state-and-hooks": { + "title": "React State and Hooks Quiz", + "intro": [ + "Test what you've learned about React's useState and useEffect hooks with this quiz." + ] + }, + "lecture-working-with-forms-in-react": { + "title": "Working with Forms in React", + "intro": [ + "In these lessons, you will learn about working with forms in React." + ] + }, + "workshop-superhero-application-form": { + "title": "Build a Superhero Application Form", + "intro": [ + "In this workshop, you will build a superhero application form." + ] + }, + "lab-event-rsvp": { + "title": "Build an Event RSVP", + "intro": [ + "In this lab, you'll build an Event RSVP form using React.", + "You'll practice using the useState hook to manage form input and display user responses." + ] + }, + "lecture-working-with-data-fetching-and-memoization-in-react": { + "title": "Working with Data Fetching and Memoization in React", + "intro": [ + "In these lessons, you will learn about data fetching and memoization in React." + ] + }, + "workshop-shopping-list-app": { + "title": "Build a Shopping List App", + "intro": [ + "In this workshop, you'll use the useMemo() and useCallback() hooks in React to build a simple shopping list app. You'll learn more about state and the lifecycle of React components, and how to use memoization to reduce re-renders and make your apps more efficient." + ] + }, + "lecture-routing-react-frameworks-and-dependency-management-tools": { + "title": "Routing, React Frameworks, and Dependency Management Tools", + "intro": [ + "In these lessons, you will learn about routing in React, React frameworks, and dependency management tools." + ] + }, + "lecture-react-strategies-and-debugging": { + "title": "React Strategies and Debugging", + "intro": [ + "In these lessons, you will learn about different strategies and debugging in React." + ] + }, + "review-react-forms-data-fetching-and-routing": { + "title": "React Forms, Data Fetching and Routing Review", + "intro": [ + "Before you take the React forms, data fetching and routing quiz, you should review everything you've learned so far.", + "Open up this page, to review all of the concepts taught including routing, forms, state management, prop drilling, data fetching and more." + ] + }, + "quiz-react-forms-data-fetching-and-routing": { + "title": "React Forms, Data Fetching and Routing Quiz", + "intro": [ + "Test what you've learned about routing, forms, and data fetching with this quiz." + ] + }, + "lab-currency-converter": { + "title": "Build a Currency Converter", + "intro": [ + "For this lab, you'll build a currency converter app.", + "You'll use React state, memoization, and controlled components to convert between currencies." + ] + }, + "lab-tic-tac-toe": { + "title": "Build a Tic-Tac-Toe Game", + "intro": [ + "In this lab, you'll build a Tic-Tac-Toe game using React.", + "You'll practice managing state, handling user interactions, and updating the UI dynamically." + ] + }, + "lecture-understanding-performance-in-web-applications": { + "title": "Understanding Performance in Web Applications", + "intro": [ + "In these lessons, you will learn performance in web applications." + ] + }, + "review-web-performance": { + "title": "Web Performance Review", + "intro": [ + "Before you take the web performance quiz, you should review everything you've learned so far.", + "Open up this page to review all of the concepts taught including INP, key metrics for measuring performance, Performance Web APIs and more." + ] + }, + "quiz-web-performance": { + "title": "Web Performance Quiz", + "intro": [ + "Test what you've learned about Web Performance with this quiz." + ] + }, + "lecture-understanding-the-different-types-of-testing": { + "title": "Understanding the Different Types of Testing", + "intro": [ + "In these lessons, you will learn about the different types of testing." + ] + }, + "review-testing": { + "title": "Testing Review", + "intro": [ + "Before you take the testing quiz, you should review everything you've learned so far.", + "Open up this page to review all of the concepts taught including unit testing, end-to-end testing, functional testing and more." + ] + }, + "quiz-testing": { + "title": "Testing Quiz", + "intro": ["Test what you've learned on testing with this quiz."] + }, + "lecture-working-with-css-libraries-and-frameworks": { + "title": "Working with CSS Libraries and Frameworks", + "intro": [ + "In these lessons, you will learn how to work with CSS libraries and frameworks." + ] + }, + "workshop-error-message-component": { + "title": "Build an Error Message Component", + "intro": [ + "In this workshop, you will learn the basics of Tailwind CSS by building out an error message component." + ] + }, + "workshop-tailwind-cta-component": { + "title": "Build a CTA Component", + "intro": [ + "In this workshop, you will build a call to action (CTA) component using Tailwind CSS." + ] + }, + "workshop-tailwind-pricing-component": { + "title": "Build a Pricing Component", + "intro": [ + "In this workshop, you will build a pricing component using Tailwind CSS.", + "You will practice working with Tailwind CSS grid utility classes." + ] + }, + "lab-music-shopping-cart-page": { + "title": "Build a Music Shopping Cart Page", + "intro": [ + "In this lab, you will build a music shopping cart page with Tailwind CSS.", + "You will practice working with Tailwind CSS utility classes for flexbox layouts, colors, breakpoints and more." + ] + }, + "review-css-libraries-and-frameworks": { + "title": "CSS Libraries and Frameworks Review", + "intro": [ + "Before you take the CSS libraries and frameworks quiz, you should review everything you've learned so far.", + "Open up this page to review all of the concepts taught including CSS frameworks, CSS preprocessors, Sass and more." + ] + }, + "quiz-css-libraries-and-frameworks": { + "title": "CSS Libraries and Frameworks Quiz", + "intro": [ + "Test what you've learned about CSS Libraries and Frameworks with this quiz." + ] + }, + "lab-photography-exhibit": { + "title": "Design a Photography Exhibit", + "intro": [ + "In this lab, you will practice working with Tailwind CSS by designing a photography exhibit webpage." + ] + }, + "lecture-introduction-to-typescript": { + "title": "Introduction to TypeScript", + "intro": [ + "In these lessons, you will learn what TypeScript is and how to use it." + ] + }, + "workshop-type-safe-user-profile": { + "title": "Build a Type Safe User Profile", + "intro": [ + "In this workshop, you will practice working with type annotations, array types, object types and more by building out a user profile." + ] + }, + "workshop-type-safe-math-toolkit": { + "title": "Build a Type Safe Math Toolkit", + "intro": [ + "In this workshop, you will practice typing functions by building a math toolkit project." + ] + }, + "lecture-understanding-type-composition": { + "title": "Understanding Type Composition", + "intro": [ + "In these lessons, you will learn how to work with union types, interfaces, void types and more." + ] + }, + "workshop-shape-manager": { + "title": "Build a Shape Manager", + "intro": [ + "In this workshop, you will practice basic TypeScript features like types and interfaces by building a shape manager program." + ] + }, + "lab-motorcycle-shop": { + "title": "Build a Motorcycle Shop", + "intro": [ + "For this lab, you will use TypeScript to build a Motorcycle Shop." + ] + }, + "lecture-working-with-generics-and-type-narrowing": { + "title": "Working with Generics and Type Narrowing", + "intro": [ + "In these lessons, you will learn about generics and type narrowing in TypeScript." + ] + }, + "workshop-bug-emoji-picker": { + "title": "Build a Bug Emoji Picker", + "intro": [ + "In this workshop, you will learn about TypeScript abstract classes and generics by building a bug species selector that displays different bug emojis." + ] + }, + "lab-product-showcase": { + "title": "Build a Product Showcase", + "intro": [ + "In this lab, you will practice generics and type narrowing in TypeScript." + ] + }, + "lecture-working-with-typescript-configuration-files": { + "title": "Working with TypeScript Configuration Files", + "intro": [ + "In this lesson, you will learn about TypeScript configuration files and how to use them." + ] + }, + "workshop-fortune-teller-app": { + "title": "Build a Fortune Telling App", + "intro": [ + "In this workshop, you will continue to practice working with TypeScript by building a fortune telling app." + ] + }, + "workshop-build-a-football-player-card-builder": { + "title": "Build a Football Player Card Builder", + "intro": [ + "In this workshop, you'll learn how to work with React in TypeScript by building a football player card builder." + ] + }, + "review-typescript": { + "title": "TypeScript Review", + "intro": [ + "Before you take the TypeScript quiz, you should review everything you've learned so far.", + "Open up this page to review all of the concepts taught including data types in TypeScript, generics, type narrowing and more." + ] + }, + "quiz-typescript": { + "title": "TypeScript Quiz", + "intro": ["Test what you've learned on TypeScript with this quiz."] + }, + "lab-flashcard-quiz-app": { + "title": "Build a Flashcard Quiz App", + "intro": [ + "In this lab, you will practice using TypeScript by building a flashcard quiz app." + ] + }, + "lab-digital-pet-game": { + "title": "Build a Digital Pet Game", + "intro": [ + "In this lab, you'll practice what you learned about TypeScript and React by building a digital pet game." + ] + }, + "review-front-end-libraries": { + "title": "Front-End Libraries Review", + "intro": [ + "Review the Front-End Libraries concepts to prepare for the upcoming quiz." + ] + }, + "exam-front-end-development-libraries-certification": { + "title": "Front-End Development Libraries Certification Exam", + "intro": [ + "Pass this exam to earn your Front-End Development Libraries Certification" + ] + } + } + }, + "python-v9": { + "title": "Python Certification", + "intro": [ + "This course teaches you the fundamentals of Python programming.", + "To earn your Python Certification:", + "- Complete the five required projects to qualify for the certification exam.", + "- Pass the Python Certification exam." + ], + "chapters": { + "python": "Python", + "python-certification-exam": "Python Certification Exam" + }, + "modules": { + "python-basics": "Python Basics", + "python-installation": "Install Python", + "python-loops-and-sequences": "Loops and Sequences", + "python-dictionaries-and-sets": "Dictionaries and Sets", + "lab-user-configuration-manager": "Build a User Configuration Manager", + "python-error-handling": "Error Handling", + "python-classes-and-objects": "Classes and Objects", + "lab-budget-app": "Build a Budget App", + "python-object-oriented-programming": "Object-Oriented Programming (OOP)", + "lab-polygon-area-calculator": "Build a Polygon Area Calculator", + "python-linear-data-structures": "Linear Data Structures", + "lab-hash-table": "Build a Hash Table", + "python-recursion": "Recursion", + "python-algorithms": "Algorithms", + "lab-tower-of-hanoi": "Implement the Tower of Hanoi Algorithm", + "python-graphs-and-trees": "Graphs and Trees", + "python-dynamic-programming": "Dynamic Programming", + "review-python": "Python Review", + "python-certification-exam": "Python Certification Exam" + }, + "blocks": { + "lecture-introduction-to-python": { + "title": "Introduction to Python", + "intro": [ + "In these lessons, you will learn what Python is and common uses in the industry." + ] + }, + "lecture-understanding-variables-and-data-types": { + "title": "Understanding Variables and Data Types", + "intro": [ + "In these lessons, you will learn about variables and data types in Python." + ] + }, + "workshop-report-card-printer": { + "title": "Build a Report Card Printer", + "intro": [ + "In this workshop, you will practice working with primitive data types in Python by creating and printing data for a simple report card." + ] + }, + "lecture-introduction-to-python-strings": { + "title": "Introduction to Strings", + "intro": ["In these lessons, you will learn about strings in Python."] + }, + "workshop-employee-profile-generator": { + "title": "Build an Employee Profile Generator", + "intro": [ + "In this workshop, you will practice the fundamentals of string manipulation in Python by building a tool that generates formatted employee badges and analyzes employee codes." + ] + }, + "lecture-numbers-and-mathematical-operations": { + "title": "Numbers and Mathematical Operations", + "intro": [ + "In these lessons, you will learn about numbers and mathematical operations in Python." + ] + }, + "workshop-bill-splitter": { + "title": "Build a Bill Splitter", + "intro": [ + "In this workshop you will build a bill splitter to practice working with numbers and mathematical operations in Python" + ] + }, + "lecture-booleans-and-conditionals": { + "title": "Booleans and Conditionals", + "intro": [ + "In these lessons, you will learn about booleans and conditionals in Python." + ] + }, + "workshop-movie-ticket-booking-calculator": { + "title": "Build a Movie Ticket Booking Calculator", + "intro": [ + "In this workshop, you will practice how to use booleans and conditional statements in Python by building a movie ticket booking calculator." + ] + }, + "lab-travel-weather-planner": { + "title": "Build a Travel Weather Planner", + "intro": [ + "In this lab, you will build a travel weather planner using conditionals." + ] + }, + "lecture-understanding-functions-and-scope": { + "title": "Understanding Functions and Scope", + "intro": [ + "In these lessons, you will learn about functions and scope in Python." + ] + }, + "lab-discount-calculator": { + "title": "Build an Apply Discount Function", + "intro": [ + "In this lab, you will practice basic Python by building a calculator to apply a discount to a price." + ] + }, + "workshop-caesar-cipher": { + "title": "Build a Caesar Cipher", + "intro": [ + "In this workshop, you'll build a Caesar cipher using basic Python concepts such as strings, conditionals, functions, and more." + ] + }, + "lab-rpg-character": { + "title": "Build an RPG Character", + "intro": [ + "In this lab you will practice basic python by building an RPG character." + ] + }, + "review-python-basics": { + "title": "Python Basics Review", + "intro": [ + "Before you're quizzed on Python basics, you should review what you've learned about it.", + "In this review page, you will review working with strings, functions, comparison operators and more." + ] + }, + "quiz-python-basics": { + "title": "Python Basics Quiz", + "intro": [ + "Test what you've learned about Python basics with this quiz." + ] + }, + "lecture-python-installation": { + "title": "Installing Python and Running Code Locally", + "intro": [ + "In these lessons, you will learn how to install Python on your local device and run code locally." + ] + }, + "review-python-installation": { + "title": "Python Installation Review", + "intro": [ + "Before you are quizzed on working with Python locally, you should review the concepts covered in the lessons." + ] + }, + "quiz-python-installation": { + "title": "Python Installation Quiz", + "intro": [ + "Test what you've learned about installing Python locally with this quiz." + ] + }, + "lecture-working-with-loops-and-sequences": { + "title": "Working with Loops and Sequences", + "intro": [ + "Learn about working with loops and sequences in these lessons." + ] + }, + "workshop-pin-extractor": { + "title": "Build a Pin Extractor", + "intro": [ + "In this workshop you will build a function to extract secret pins hidden in poems." + ] + }, + "lab-number-pattern-generator": { + "title": "Build a Number Pattern Generator", + "intro": ["In this lab you will build a number pattern generator."] + }, + "review-loops-and-sequences": { + "title": "Loops and Sequences Review", + "intro": [ + "Before you're quizzed on loops and sequences, you should review what you've learned about them.", + "Open up this page to review concepts around loops, lists, tuples and some of their common methods." + ] + }, + "quiz-loops-and-sequences": { + "title": "Loops and Sequences Quiz", + "intro": [ + "Test what you've learned about loops and sequences in Python with this quiz." + ] + }, + "lecture-working-with-dictionaries-and-sets": { + "title": "Working with Dictionaries and Sets", + "intro": [ + "Learn about working with dictionaries and sets in these lessons." + ] + }, + "lecture-working-with-modules": { + "title": "Working with Modules", + "intro": ["Learn about working with modules in these lessons."] + }, + "workshop-medical-data-validator": { + "title": "Build a Medical Data Validator", + "intro": [ + "In this workshop, you'll practice working with dictionaries and sets while validating a collection of medical data." + ] + }, + "review-dictionaries-and-sets": { + "title": "Dictionaries and Sets review", + "intro": [ + "Before you're quizzed on dictionaries and sets, you should review what you've learned about them.", + "Open up this page to review concepts around dictionaries, sets, and how to import modules." + ] + }, + "quiz-dictionaries-and-sets": { + "title": "Dictionaries and Sets Quiz", + "intro": [ + "Test what you've learned about dictionaries and sets in Python with this quiz." + ] + }, + "lab-user-configuration-manager": { + "title": "Build a User Configuration Manager", + "intro": [ + "In this lab, you will practice working with dictionaries in Python." + ] + }, + "lecture-understanding-error-handling": { + "title": "Understanding Error Handling", + "intro": [ + "In these lessons, you will learn about error handling in Python. You will learn about the different types of errors, some good debugging practices, what exceptions are, and how to handle them." + ] + }, + "lab-isbn-validator": { + "title": "Debug an ISBN Validator", + "intro": [ + "In this lab, you will start with a bugged app, and you will need to debug and fix the bugs until it is working properly." + ] + }, + "review-error-handling": { + "title": "Error Handling Review", + "intro": [ + "Before you're quizzed on error handling, you should review what you've learned about it." + ] + }, + "quiz-error-handling": { + "title": "Error Handling Quiz", + "intro": [ + "Test what you've learned about Error Handling in Python with this quiz." + ] + }, + "lecture-classes-and-objects": { + "title": "Classes and Objects", + "intro": ["Learn about classes and objects in these lessons."] + }, + "workshop-musical-instrument-inventory": { + "title": "Build a Musical Instrument Inventory", + "intro": [ + "In this workshop, you will learn about classes, objects, and methods in Python by building a simple musical instrument inventory." + ] + }, + "lab-planet-class": { + "title": "Build a Planet Class", + "intro": [ + "In this lab you will create a class that represents a planet." + ] + }, + "workshop-email-simulator": { + "title": "Build an Email Simulator", + "intro": [ + "In this workshop you will implement classes and objects by building an email simulator that simulates sending, receiving, and managing emails between different users." + ] + }, + "review-classes-and-objects": { + "title": "Classes and Objects Review", + "intro": [ + "Before you're quizzed on classes and objects, you should review what you've learned about them.", + "Open up this page to review concepts like how classes work, what are objects, methods, attributes, special methods and more." + ] + }, + "quiz-classes-and-objects": { + "title": "Classes and Objects Quiz", + "intro": [ + "Test what you've learned about classes and objects in Python with this quiz." + ] + }, + "lab-budget-app": { + "title": "Build a Budget App", + "intro": [ + "In this lab you will build a budget app and practice creating a class and methods for that class." + ] + }, + "lecture-understanding-object-oriented-programming-and-encapsulation": { + "title": "Understanding Object Oriented Programming and Encapsulation", + "intro": [ + "Learn about understanding object oriented programming and encapsulation in these lessons." + ] + }, + "workshop-salary-tracker": { + "title": "Build a Salary Tracker", + "intro": [ + "In this workshop, you'll practice encapsulation, properties, and other OOP concepts by building a salary tracking system for employees." + ] + }, + "lab-game-character-stats": { + "title": "Build a Game Character Stats Tracker", + "intro": [ + "In this lab, you will build a game character with different stats using object-oriented programming." + ] + }, + "lecture-understanding-inheritance-and-polymorphism": { + "title": "Understanding Inheritance and Polymorphism", + "intro": [ + "Learn about understanding inheritance and polymorphism in these lessons." + ] + }, + "workshop-media-catalogue": { + "title": "Build a Media Catalogue", + "intro": [ + "In this workshop, you will create a media catalogue application using object-oriented programming principles." + ] + }, + "lecture-understanding-abstraction": { + "title": "Understanding Abstraction", + "intro": ["Learn about understanding abstraction in these lessons."] + }, + "workshop-discount-calculator": { + "title": "Build a Discount Calculator", + "intro": [ + "In this workshop you will build a flexible discount pricing calculator through abstract base classes, allowing multiple discount algorithms to be applied interchangeably without modifying the core logic." + ] + }, + "lab-player-interface": { + "title": "Build a Player Interface", + "intro": [ + "In this lab, you'll use the abc module to build a player interface." + ] + }, + "review-object-oriented-programming": { + "title": "Object Oriented Programming Review", + "intro": [ + "Before you're quizzed on object oriented programming, you should review what you've learned about it." + ] + }, + "quiz-object-oriented-programming": { + "title": "Object Oriented Programming Quiz", + "intro": [ + "Test what you've learned about object oriented programming in python with this quiz." + ] + }, + "lab-polygon-area-calculator": { + "title": "Build a Polygon Area Calculator", + "intro": [ + "In this lab, you will use object-oriented programming to calculate the areas of different polygons like squares and rectangles." + ] + }, + "lecture-working-with-common-data-structures": { + "title": "Working with Common Data Structures", + "intro": [ + "Learn about working with common data structures in these lessons." + ] + }, + "workshop-linked-list-class": { + "title": "Build a Linked List", + "intro": [ + "In this workshop, you'll practice working with data structures by building a linked list." + ] + }, + "review-data-structures": { + "title": "Data Structures Review", + "intro": [ + "Before you're quizzed on data structures, you should review what you've learned about them.", + "Open up this page to review concepts like the different data structures, algorithms, time and space complexity, and big O notation." + ] + }, + "quiz-data-structures": { + "title": "Data Structures Quiz", + "intro": [ + "Test what you've learned about data structures in Python with this quiz." + ] + }, + "lab-hash-table": { + "title": "Build a Hash Table", + "intro": [ + "A hash table is a data structure that is used to store key-value pairs and is optimized for quick lookups.", + "In this lab, you will use your knowledge about data structures to build a hash table." + ] + }, + "lecture-understanding-recursion-and-the-call-stack-python": { + "title": "Understanding Recursion and the Call Stack", + "intro": [ + "In this lecture, you will learn how recursive functions and the call stack work in Python." + ] + }, + "workshop-countup-python": { + "title": "Build a Countup Function", + "intro": [ + "In this workshop, you will build a function that uses recursion to create a list of numbers." + ] + }, + "lab-range-of-numbers-python": { + "title": "Build a Range of Numbers Generator", + "intro": [ + "In this lab, you will use recursion to generate a list of numbers within a specified range." + ] + }, + "review-recursion-python": { + "title": "Review Recursion", + "intro": [ + "Review the concepts of recursion, base cases, and the call stack." + ] + }, + "quiz-recursion-python": { + "title": "Recursion Quiz", + "intro": [ + "Test your understanding of recursion, base cases, and the call stack." + ] + }, + "lecture-searching-and-sorting-algorithms": { + "title": "Searching and Sorting Algorithms", + "intro": [ + "Learn about fundamental searching and sorting algorithms, including linear search, binary search, and merge sort.", + "These lessons cover algorithm implementations, time and space complexity analysis, and the divide and conquer programming paradigm." + ] + }, + "workshop-binary-search": { + "title": "Implement the Binary Search Algorithm", + "intro": [ + "The binary search algorithm is a searching algorithm used to find a target item in a sorted list.", + "In this workshop, you'll implement the binary search algorithm and return the path it took to find the target or return 'Value not found'." + ] + }, + "lab-bisection-method": { + "title": "Implement the Bisection Method", + "intro": [ + "In this lab, you will implement the bisection method to find the square root of a number." + ] + }, + "workshop-merge-sort": { + "title": "Implement the Merge Sort Algorithm", + "intro": [ + "The merge sort algorithm is a sorting algorithm based on the divide and conquer principle.", + "In this workshop, you'll implement the merge sort algorithm to sort a list of random numbers." + ] + }, + "lab-quicksort": { + "title": "Implement the Quicksort Algorithm", + "intro": [ + "In this lab you will implement the quicksort algorithm to sort a list of integers." + ] + }, + "lab-selection-sort": { + "title": "Implement the Selection Sort Algorithm", + "intro": [ + "In this lab you will implement the selection sort algorithm." + ] + }, + "lab-luhn-algorithm": { + "title": "Implement the Luhn Algorithm", + "intro": [ + "In this lab, you will implement the Luhn algorithm to validate identification numbers such as credit card numbers." + ] + }, + "review-searching-and-sorting-algorithms": { + "title": "Searching and Sorting Algorithms Review", + "intro": [ + "Before you're quizzed on searching and sorting algorithms, you should review what you've learned about them." + ] + }, + "quiz-searching-and-sorting-algorithms": { + "title": "Searching and Sorting Algorithms Quiz", + "intro": [ + "Test what you've learned about searching and sorting algorithms in Python with this quiz." + ] + }, + "lab-tower-of-hanoi": { + "title": "Implement the Tower of Hanoi Algorithm", + "intro": [ + "In this lab, you will implement an algorithm to solve the Tower of Hanoi puzzle." + ] + }, + "lecture-understanding-graphs-and-trees": { + "title": "Understanding Graphs and Trees", + "intro": [ + "In this lesson, you will learn about fundamental data structures like graphs, trees, and their practical applications in computer science." + ] + }, + "workshop-shortest-path-algorithm": { + "title": "Implement the Shortest Path Algorithm", + "intro": [ + "In this workshop you will implement an algorithm to find the shortest path between two nodes in a graph." + ] + }, + "lab-adjacency-list-to-matrix-converter": { + "title": "Build an Adjacency List to Matrix Converter", + "intro": [ + "In this lab, you will implement a function that converts an adjacency list representation of a graph into an adjacency matrix representation." + ] + }, + "workshop-breadth-first-search": { + "title": "Implement the Breadth-First Search Algorithm", + "intro": [ + "In this workshop, you will use the bread-first search algorithm to generate all valid combinations of parentheses." + ] + }, + "lab-depth-first-search": { + "title": "Implement the Depth-First Search Algorithm", + "intro": [ + "In this lab, you will implement the Depth-First Search Algorithm." + ] + }, + "lab-n-queens-problem": { + "title": "Implement the N-Queens Algorithm", + "intro": [ + "In this lab, you will implement a solution for the N-Queens problem." + ] + }, + "review-graphs-and-trees": { + "title": "Graphs and Trees Review", + "intro": [ + "Before you're quizzed on graphs and trees, you should review what you've learned about them." + ] + }, + "quiz-graphs-and-trees": { + "title": "Graphs and Trees Quiz", + "intro": [ + "Test what you've learned about graphs and trees in Python with this quiz." + ] + }, + "lecture-understanding-dynamic-programming": { + "title": "Understanding Dynamic Programming", + "intro": [ + "In this lesson, you will learn about dynamic programming, an algorithmic technique used to solve complex problems efficiently by breaking them down into simpler subproblems." + ] + }, + "lab-nth-fibonacci-number": { + "title": "Build an Nth Fibonacci Number Calculator", + "intro": [ + "In this lab you will implement a Fibonacci sequence calculator using a dynamic programming approach." + ] + }, + "review-dynamic-programming": { + "title": "Dynamic Programming Review", + "intro": [ + "Before you're quizzed on dynamic programming, you should review what you've learned about it." + ] + }, + "quiz-dynamic-programming": { + "title": "Dynamic Programming Quiz", + "intro": [ + "Test what you've learned about dynamic programming in python with this quiz." + ] + }, + "review-python": { + "title": "Python Review", + "intro": ["Review Python concepts to prepare for the upcoming exam."] + }, + "exam-python-certification": { + "title": "Python Certification Exam", + "intro": ["Pass this exam to earn your Python Certification"] + } + } + }, + "relational-databases-v9": { + "title": "Relational Databases Certification", + "intro": [ + "This course teaches you the fundamentals of relational databases.", + "To earn your Relational Databases Certification:", + "- Complete the five required projects to qualify for the certification exam.", + "- Pass the Relational Databases Certification exam." + ], + "chapters": { + "relational-databases": "Relational Databases", + "relational-databases-certification-exam": "Relational Databases Certification Exam" + }, + "modules": { + "code-editors": "Code Editors", + "bash-fundamentals": "Bash Fundamentals", + "sql-and-postgresql": "SQL and PostgreSQL", + "lab-celestial-bodies-database": "Build a Celestial Bodies Database", + "bash-scripting": "Bash Scripting", + "sql-and-bash": "SQL and Bash", + "lab-world-cup-database": "Build a World Cup Database", + "lab-salon-appointment-scheduler": "Build a Salon Appointment Scheduler", + "git": "Git", + "lab-periodic-table-database": "Build a Periodic Table Database", + "lab-number-guessing-game": "Build a Number Guessing Game", + "review-relational-databases": "Relational Databases Review", + "relational-databases-certification-exam": "Relational Databases Certification Exam" + }, + "blocks": { + "lecture-working-with-code-editors-and-ides": { + "title": "Working with Code Editors and IDEs", + "intro": [ + "In these lessons, you will learn how to work with code editors and IDEs. You will learn various concepts about the most popular code editor, VS Code such as its installation, how to create a project in it, keyboard shortcuts, and extensions." + ] + }, + "lecture-understanding-the-command-line-and-working-with-bash": { + "title": "Understanding the Command Line and Working with Bash", + "intro": [ + "Learn about the Command Line and Working with Bash in these lessons." + ] + }, + "workshop-bash-boilerplate": { + "title": "Build a Boilerplate", + "intro": [ + "The terminal allows you to send text commands to your computer that can manipulate the file system, run programs, automate tasks, and much more.", + "In this 170-lesson workshop, you will learn terminal commands by creating a website boilerplate using only the command line." + ] + }, + "review-bash-commands": { + "title": "Bash Commands Review", + "intro": [ + "Review the Bash Commands concepts to prepare for the upcoming quiz." + ] + }, + "quiz-bash-commands": { + "title": "Bash Commands Quiz", + "intro": ["Test what you've learned bash commands with this quiz."] + }, + "lecture-working-with-relational-databases": { + "title": "Working with Relational Databases", + "intro": [ + "Learn how to work with Relational Databases in these lessons." + ] + }, + "workshop-database-of-video-game-characters": { + "title": "Build a Database of Video Game Characters", + "intro": [ + "A relational database organizes data into tables that are linked together through relationships.", + "In this 165-lesson workshop, you will learn the basics of a relational database by creating a PostgreSQL database filled with video game characters." + ] + }, + "review-sql-and-postgresql": { + "title": "SQL and PostgreSQL Review", + "intro": [ + "Review SQL and PostgreSQL concepts to prepare for the upcoming quiz." + ] + }, + "quiz-sql-and-postgresql": { + "title": "SQL and PostgreSQL Quiz", + "intro": [ + "Test what you've learned about SQL and PostgreSQL with this quiz." + ] + }, + "lab-celestial-bodies-database": { + "title": "Build a Celestial Bodies Database", + "intro": [ + "For this project, you will build a database of celestial bodies using PostgreSQL." + ] + }, + "lecture-understanding-bash-scripting": { + "title": "Understanding Bash Scripting", + "intro": ["Learn about Bash Scripting in these lessons."] + }, + "workshop-bash-five-programs": { + "title": "Build Five Programs", + "intro": [ + "Bash scripts combine terminal commands and logic into programs that can execute or automate tasks, and much more.", + "In this 220-lesson workshop, you will learn more terminal commands and how to use them within Bash scripts by creating five small programs." + ] + }, + "review-bash-scripting": { + "title": "Bash Scripting Review", + "intro": [ + "Review the bash scripting concepts you've learned to prepare for the upcoming quiz." + ] + }, + "quiz-bash-scripting": { + "title": "Bash Scripting Quiz", + "intro": ["Test what you've learned on bash scripting in this quiz."] + }, + "lecture-working-with-sql": { + "title": "Working With SQL", + "intro": [ + "In these lessons, you will learn about SQL injection, normalization, and the N+1 problem." + ] + }, + "workshop-sql-student-database-part-1": { + "title": "Build a Student Database: Part 1", + "intro": [ + "SQL, or Structured Query Language, is the language for communicating with a relational database.", + "In this 140-lesson workshop, you will create a Bash script that uses SQL to enter information about your computer science students into PostgreSQL." + ] + }, + "workshop-sql-student-database-part-2": { + "title": "Build a Student Database: Part 2", + "intro": [ + "SQL join commands are used to combine information from multiple tables in a relational database", + "In this 140-lesson workshop, you will complete your student database while diving deeper into SQL commands." + ] + }, + "workshop-kitty-ipsum-translator": { + "title": "Build a Kitty Ipsum Translator", + "intro": [ + "There's more to Bash commands than you might think.", + "In this 140-lesson workshop, you will learn some more complex commands, and the details of how commands work." + ] + }, + "workshop-bike-rental-shop": { + "title": "Build a Bike Rental Shop", + "intro": [ + "In this 210-lesson workshop, you will build an interactive Bash program that stores rental information for your bike rental shop using PostgreSQL." + ] + }, + "review-bash-and-sql": { + "title": "Bash and SQL Review", + "intro": [ + "Review the Bash and SQL concepts to prepare for the upcoming quiz." + ] + }, + "quiz-bash-and-sql": { + "title": "Bash and SQL Quiz", + "intro": ["Test what you've learned in this quiz on Bash and SQL."] + }, + "lab-world-cup-database": { + "title": "Build a World Cup Database", + "intro": [ + "For this project, you will create a Bash script that enters information from World Cup games into PostgreSQL, then query the database for useful statistics." + ] + }, + "lab-salon-appointment-scheduler": { + "title": "Build a Salon Appointment Scheduler", + "intro": [ + "For this lab, you will create an interactive Bash program that uses PostgreSQL to track the customers and appointments for your salon." + ] + }, + "lecture-working-with-nano": { + "title": "Working With Nano", + "intro": ["Learn about Nano in this lesson."] + }, + "workshop-castle": { + "title": "Build a Castle", + "intro": [ + "Nano is a program that allows you to edit files right in the terminal.", + "In this 40-lesson workshop, you will learn how to edit files in the terminal with Nano while building a castle." + ] + }, + "lecture-introduction-to-git-and-github": { + "title": "Introduction to Git and GitHub", + "intro": ["Learn how to work with Git and GitHub in these lessons."] + }, + "lecture-working-with-code-reviews-branching-deployment-and-ci-cd": { + "title": "Working With Code Reviews, Branching, Deployment, and CI/CD", + "intro": [ + "Learn about code reviews, branching, deployment, and CI/CD in these lessons." + ] + }, + "workshop-sql-reference-object": { + "title": "Build an SQL Reference Object", + "intro": [ + "Git is a version control system that keeps track of all the changes you make to your codebase.", + "In this 240-lesson workshop, you will learn how Git keeps track of your code by creating an object containing commonly used SQL commands." + ] + }, + "review-git": { + "title": "Git Review", + "intro": ["Review Git concepts to prepare for the upcoming quiz."] + }, + "quiz-git": { + "title": "Git Quiz", + "intro": ["Test what you've learned on Git with this quiz."] + }, + "lab-periodic-table-database": { + "title": "Build a Periodic Table Database", + "intro": [ + "For this lab, you will create a Bash script to get information about chemical elements from a periodic table database." + ] + }, + "lab-number-guessing-game": { + "title": "Build a Number Guessing Game", + "intro": [ + "For this lab, you will use Bash scripting, PostgreSQL, and Git to create a number guessing game that runs in the terminal and saves user information." + ] + }, + "review-relational-databases": { + "title": "Relational Databases Review", + "intro": [ + "Review relational databases concepts to prepare for the exam." + ] + }, + "exam-relational-databases-certification": { + "title": "Relational Databases Certification Exam", + "intro": [ + "Pass this exam to earn your Relational Databases Certification" + ] + } + } + }, + "back-end-development-and-apis-v9": { + "title": "Back-End Development and APIs Certification", + "intro": [ + "This course teaches you the fundamentals of back-end development and APIs.", + "To earn your Back-End Development and APIs Certification:", + "- Complete the five required projects to qualify for the certification exam.", + "- Pass the Back-End Development and APIs Certification exam." + ], + "note": "", + "chapters": { + "back-end-development-and-apis": "Back-End Development and APIs", + "back-end-development-and-apis-certification-exam": "Back-End Development and APIs Certification Exam" + }, + "modules": { + "introduction-to-nodejs": "Introduction to Node.js", + "nodejs-core-modules": "Node.js Core Modules", + "node-package-manager": "Node Package Manager", + "lab-prime-number-checker-module": "Build a Prime Number Checker Module", + "http-and-the-web-standards-model": "HTTP and the Web Standards Model", + "introduction-to-express": "Introduction to Express", + "lab-personal-profile-app": "Build a Personal Profile App", + "express-middleware": "Express Middleware", + "rest-api-and-web-services": "REST API and Web Services", + "lab-timestamp-microservice": "Build a Timestamp Microservice", + "error-handling-in-express": "Error Handling in Express", + "websockets": "WebSockets", + "lab-chat-app": "Build a Chat App", + "security-and-privacy": "Security and Privacy", + "authentication": "Authentication", + "lab-family-movie-watchlist-api": "Build a Family Movie Watchlist API", + "review-back-end-development-and-apis": "Back-End Development and APIs Review", + "back-end-development-and-apis-certification-exam": "Back-End Development and APIs Certification Exam" + }, + "blocks": { + "lecture-working-with-nodejs-and-event-driven-architecture": { + "title": "Working with Node.js and Event-Driven Architecture", + "intro": [ + "Learn about Node.js core libraries, how to install Node.js on your computer, and the advantages and disadvantages of using Node.js on the back-end." + ] + }, + "workshop-nodejs-repl": { + "title": "Learn Node.js REPL", + "intro": [ + "You will learn the Node.js REPL and command-line interface by exploring the runtime from the terminal." + ] + }, + "review-node-js-intro": { + "title": "NodeJS Intro Review", + "intro": [ + "Review the basics of NodeJS to prepare for the upcoming quiz." + ] + }, + "quiz-node-js-intro": { + "title": "NodeJS Intro Quiz", + "intro": ["Test what you have learned about NodeJS in this quiz."] + }, + "lecture-working-with-node-core-modules": { + "title": "Working with Node Core Modules", + "intro": [ + "Learn about the node.js core modules, such as fs, buffer, stream, path modules, and more, so you can understand what Node gives you out of the box to build efficient applications without relying on third-party libraries." + ] + }, + "workshop-build-a-file-processor": { + "title": "Build a File Processor", + "intro": [ + "You will learn Node.js built-in modules like fs, path, and crypto by using them for file operations and data processing." + ] + }, + "review-node-js-core-modules": { + "title": "Node JS Core Modules Review", + "intro": [ + "Review Node JS Core Modules concepts to prepare for the upcoming quiz." + ] + }, + "quiz-node-js-core-modules": { + "title": "NodeJS Core Modules Quiz", + "intro": [ + "Test what you've learned about Node.js core modules with this quiz." + ] + }, + "lecture-introduction-to-npm": { + "title": "Introduction to npm", + "intro": [ + "In these lessons, you will learn about npm, and how it can help you manage your project's dependencies." + ] + }, + "lecture-working-with-npm-scripts": { + "title": "Working with npm Scripts", + "intro": [ + "Learn about npm scripts, publishing packages to the npm registry, and working with CommonJS and ES modules. These lessons cover essential Node.js development tools and module systems." + ] + }, + "workshop-build-a-case-converter": { + "title": "Build a Case Converter", + "intro": [ + "You will learn how to initialize, configure, and publish an NPM module by building a case converter." + ] + }, + "review-npm": { + "title": "NPM Review", + "intro": ["Review npm concepts to prepare for the upcoming quiz."] + }, + "quiz-npm": { + "title": "NPM Quiz", + "intro": ["Test what you have learned about npm in this quiz."] + }, + "lab-prime-number-checker-module": { + "title": "Build a Prime Number Checker Module", + "intro": [ + "Practice building and exporting an NPM module by creating a prime number checker." + ] + }, + "lecture-understanding-how-http-dns-tcpip-work": { + "title": "Understanding how HTTP, DNS and TCP/IP work", + "intro": [ + "Learn the fundamental concepts of how the internet works, focusing on HTTP, DNS, and TCP/IP." + ] + }, + "lecture-understanding-the-http-request-response-model": { + "title": "Understanding the HTTP Request-Response Model", + "intro": [ + "Learn the fundamentals of how web communication works through the HTTP request-response model, explore different types of web assets and responses, and understand how forms handle data submission using various HTTP methods." + ] + }, + "lecture-understanding-the-web-standards-model": { + "title": "Understanding the Web Standards Model", + "intro": [ + "In these lectures, you will learn about the web standard model, standard bodies, the process, lifecycle, and the principles behind web stadards." + ] + }, + "workshop-build-a-web-server": { + "title": "Build a Web Server", + "intro": [ + "You will learn the Node.js http module by building a web server to serve a multi-page client application." + ] + }, + "review-http-and-the-web-standards-model": { + "title": "HTTP and the Web Standards Model Review", + "intro": [ + "Review HTTP, DNS, TCP/IP, the request-response model, and web standards before you take the quiz." + ] + }, + "quiz-http-and-the-web-standards-model": { + "title": "HTTP and the Web Standards Model Quiz", + "intro": [ + "Test your knowledge of HTTP, DNS, TCP/IP, the request-response model, and web standards.", + "" + ] + }, + "lecture-working-with-express": { + "title": "Working with Express", + "intro": [ + "In these lessons, you will learn what Express.js is, why developers use it for building web servers and APIs, and how to set up a basic Express application with routes and request handling." + ] + }, + "lecture-understanding-routing-in-express-js": { + "title": "Understanding Routing in ExpressJS", + "intro": [ + "Understanding Routing in ExpressJS", + "In these lessons, you will learn about routing in ExpressJS, which is how you define the different endpoints of your web application and how they respond to client requests." + ] + }, + "workshop-build-a-random-joke-app": { + "title": "Build a Random Joke App", + "intro": [ + "You will learn basic Express routing and response methods by building a random joke app." + ] + }, + "review-introduction-to-express": { + "title": "Introduction to Express Review", + "intro": [ + "Review Express.js, routing, response methods, and serving static files before you take the quiz." + ] + }, + "quiz-introduction-to-express": { + "title": "Introduction to Express Quiz", + "intro": [ + "Test your knowledge of web services, REST, microservices, Express.js, and routing." + ] + }, + "lab-personal-profile-app": { + "title": "Build a Personal Profile App", + "intro": [ + "Practice building an Express server and JSON API by creating a personal profile application." + ] + }, + "lecture-express-middleware": { + "title": "Express Middleware", + "intro": [ + "In these lessons, you will learn how middleware works in Express, including application-level, router-level, and error-handling middleware, as well as examples of built-in and third-party middleware." + ] + }, + "workshop-build-a-submission-form": { + "title": "Build a Submission Form", + "intro": [ + "You will learn application-level and router-level middleware by building a structured submission form." + ] + }, + "lab-data-sanitizer": { + "title": "Build a Data Sanitizer", + "intro": [ + "Practice creating custom Express middleware by building a data sanitizer and validator." + ] + }, + "review-express-middleware": { + "title": "Express Middleware Review", + "intro": [ + "Review middleware concepts in Express, including application-level, router-level, error-handling, and built-in and third-party middleware before you take the quiz." + ] + }, + "quiz-express-middleware": { + "title": "Express Middleware Quiz", + "intro": [ + "Test your knowledge of Express middleware, including application-level, router-level, error-handling, and built-in and third-party middleware." + ] + }, + "lecture-understanding-rest-api-and-web-services": { + "title": "Understanding the REST API and Web Services", + "intro": [ + "In these lessons, you will learn about REST APIs and web services, and how they allow different applications to communicate with each other over the internet." + ] + }, + "workshop-build-a-weather-service-api": { + "title": "Build a Weather Service API", + "intro": [ + "You will learn route parameters and modular routing with express.Router by building a weather service API." + ] + }, + "review-rest-api-and-web-services": { + "title": "REST API and Web Services Review", + "intro": [ + "Review web services, the REST architecture, HTTP status codes, and microservices." + ] + }, + "quiz-rest-api-and-web-services": { + "title": "REST API and Web Services Quiz", + "intro": [ + "Test your knowledge of web services, the REST architecture, HTTP status codes, and monoliths vs. microservices." + ] + }, + "lab-timestamp-microservice": { + "title": "Build a Timestamp Microservice", + "intro": [ + "Practice building a RESTful API with date parsing logic by creating a timestamp microservice." + ] + }, + "lecture-understanding-error-handling-and-health-checks": { + "title": "Understanding Error Handling and Health Checks", + "intro": [ + "In these lessons, you'll learn about error handling and health checks in Express." + ] + }, + "workshop-build-a-bank-api": { + "title": "Build a Bank API", + "intro": [ + "You will learn Express 5 error handling, health checks, and graceful shutdowns by building a bank API." + ] + }, + "review-error-handling-in-express": { + "title": "Error Handling in Express Review", + "intro": [ + "Review HTTP status codes, error handling, debugging, logging, health checks, and graceful shutdowns before you take the quiz." + ] + }, + "quiz-error-handling-in-express": { + "title": "Error Handling in Express Quiz", + "intro": [ + "Test your knowledge of HTTP status codes, error handling, debugging, logging, health checks, and graceful shutdowns." + ] + }, + "lecture-understanding-websockets": { + "title": "Understanding WebSockets", + "intro": [ + "Learn how WebSockets enable real-time, bidirectional communication between clients and servers, and how the Pub/Sub messaging architecture routes messages to the right subscribers in real-time applications." + ] + }, + "workshop-build-a-resource-monitor": { + "title": "Build a Resource Monitor", + "intro": [ + "You will learn Node.js WebSockets and real-time data streaming by building a system resource monitor." + ] + }, + "review-websockets": { + "title": "WebSockets Review", + "intro": [ + "Review WebSockets and Pub/Sub concepts before taking the quiz." + ] + }, + "quiz-websockets": { + "title": "WebSockets Quiz", + "intro": [ + "Test your knowledge of WebSockets and Pub/Sub with this quiz." + ] + }, + "lab-chat-app": { + "title": "Build a Chat App", + "intro": [ + "Practice building a real-time multi-client chat server using Node.js WebSockets." + ] + }, + "lecture-understanding-security-and-privacy-in-web-applications": { + "title": "Understanding Security and Privacy in Web Applications", + "intro": [ + "Learn how security and privacy work in web applications, covering HTTPS, cookies, CSP, common threats, privacy laws, and more." + ] + }, + "review-security-and-privacy": { + "title": "Security and Privacy Review", + "intro": [ + "Review security and privacy concepts covered in the lectures before taking the quiz." + ] + }, + "quiz-security-and-privacy": { + "title": "Security and Privacy Quiz", + "intro": [ + "Test your knowledge of security and privacy concepts covered in this module." + ] + }, + "lecture-introduction-to-authentication-and-authorization": { + "title": "Introduction to Authentication and Authorization", + "intro": [ + "Learn how authentication and authorization work, how JWTs protect your API routes, how to defend against CSRF attacks, and how to use Passport.js and Helmet.js to secure your Node.js applications." + ] + }, + "workshop-jwt-protected-routes": { + "title": "Build JWT Protected Routes", + "intro": [ + "You will learn authentication and role-based authorization by building an Express application with JWT-protected routes." + ] + }, + "review-authentication-and-authorization": { + "title": "Authentication and Authorization Review", + "intro": [ + "Review authentication and authorization concepts before you take the quiz." + ] + }, + "quiz-authentication-and-authorization": { + "title": "Authentication and Authorization Quiz", + "intro": [ + "Test your knowledge of authentication and authorization concepts covered in this module." + ] + }, + "lab-family-movie-watchlist-api": { + "title": "Build a Family Movie Watchlist API", + "intro": [ + "Practice implementing authentication and authorization in an Express application by building a family movie watchlist API." + ] + }, + "review-back-end-development-and-apis": { + "title": "Back-End Development and APIs Review", + "intro": [ + "Review Back-End Development and APIs concepts to prepare for the upcoming exam." + ] + }, + "exam-back-end-development-and-apis-certification": { + "title": "Back-End Development and APIs Certification Exam", + "intro": [ + "Pass this exam to earn your Back-End Development and APIs Certification" + ] + } + } + }, + "full-stack-developer-v9": { + "title": "Certified Full-Stack Developer Curriculum", + "intro": [ + "This certification represents the culmination of your full-stack developer journey. It demonstrates your ability to build complete, modern web applications from start to finish.", + "To qualify for the exam, you must earn the certifications below. Pass the exam to earn your Full-Stack Developer Certification." + ], + "note": "", + "chapters": { + "certified-full-stack-developer-exam": "Certified Full-Stack Developer Exam" + }, + "modules": { + "certified-full-stack-developer-exam": "Certified Full-Stack Developer Exam" + }, + "module-intros": { + "certified-full-stack-developer-exam": { + "note": "Coming Late 2026", + "intro": [ + "This exam will test what you have learned throughout the previous six certifications." + ] + } + }, + "blocks": { + "exam-certified-full-stack-developer": { + "title": "Certified Full-Stack Developer Exam", + "intro": ["Pass this exam to become a Certified Full-Stack Developer."] + } + } + }, + "html-forms-and-tables": { + "title": "Learn HTML Forms and Tables", + "summary": [ + "Learn how to build accessible forms and data tables with semantic HTML." + ], + "intro": [ + "Learn how to build accessible forms and data tables with semantic HTML.", + "Practice structuring inputs, labels, and tabular data so everyone can navigate and submit information confidently." + ], + "blocks": { + "lecture-working-with-forms": { + "title": "Working with Forms", + "intro": [ + "In these lessons, you will learn about forms, the role of labels, inputs and buttons in creating forms, client-side form validation, and form states." + ] + }, + "workshop-hotel-feedback-form": { + "title": "Build a Hotel Feedback Form", + "intro": [ + "In this workshop, you will build a Hotel Feedback Form.", + "You will practice working with the label, input, fieldset, legend, textarea, and button elements." + ] + }, + "lecture-working-with-tables": { + "title": "Working with Tables", + "intro": [ + "In these lessons, you will learn about HTML tables, how to create them, and when to use them." + ] + }, + "workshop-final-exams-table": { + "title": "Build a Final Exams Table", + "intro": [ + "In this workshop, you will practice working with HTML tables by building a table of final exams." + ] + }, + "lab-book-catalog-table": { + "title": "Build a Book Catalog Table", + "intro": [ + "In this lab, you'll review HTML tables by building a book information table.", + "You'll practice the different table components like the thead, tbody, th, tr, and td elements." + ] + }, + "lecture-working-with-html-tools": { + "title": "Working with HTML Tools", + "intro": [ + "In these lectures, you will learn about HTML tools and how they let you write better code. These tools include HTML validators, DOM Inspector, and the browser developer tools." + ] + }, + "lab-survey-form": { + "title": "Build a Survey Form", + "intro": [ + "In this lab, you'll review HTML forms by creating a survey form.", + "You'll practice working with the label element, the different input elements, the required attribute, and more. " + ] + }, + "review-html-tables-and-forms": { + "title": "HTML Tables and Forms Review", + "intro": [ + "Before you are quizzed on HTML forms, tables and tools, you first need to review the concepts.", + "Open up this page to review the table, input, and button elements as well as commonly used tools like the HTML validator and more." + ] + }, + "quiz-html-tables-and-forms": { + "title": "HTML Tables and Forms Quiz", + "intro": [ + "The following quiz will test your knowledge of HTML tables, forms and commonly used HTML tools.", + "If you're getting ready for the exam, there are several quiz sets available for practice. After completing a quiz, you can revisit this page to access a new set of questions." + ] + } + } + }, + "a1-professional-spanish": { + "title": "A1 Professional Spanish Certification (Beta)", + "note": "This certification is currently in active development. New content will be published as our instructional design team develops it. Once all content is available, we will release the certification exam.", + "intro": [ + "This course teaches you the fundamentals of Spanish at the A1 level of the Common European Framework of Reference (CEFR), with lessons focused on professional settings. Each module is broken down into sections:", + "- A Warm-up section for quick review.", + "- Learn sections with new vocabulary and grammar.", + "- Practice sections to check your comprehension and writing skills.", + "- A Review section with key grammar and vocabulary." + ], + "chapters": { + "es-a1-chapter-welcome-to-a1-professional-spanish": "Welcome to A1 Professional Spanish", + "es-a1-chapter-spanish-fundamentals": "Spanish Fundamentals", + "es-a1-chapter-greetings-and-introductions": "Greetings and Introductions", + "es-a1-chapter-basic-personal-details": "Basic Personal Details", + "es-a1-chapter-describing-company-and-people": "Describing a Company and Its People" + }, + "modules": { + "es-a1-module-introduction-and-certification-overview": "Introduction and Certification Overview", + "es-a1-module-letters-sounds-and-first-numbers": "Letters, Sounds and First Numbers", + "es-a1-module-greetings-and-farewells": "Greetings and Farewells", + "es-a1-module-introducing-yourself": "Introducing Yourself", + "es-a1-module-first-questions": "First Questions", + "es-a1-module-numbers-10-to-29": "Numbers 10 to 29", + "es-a1-module-sharing-your-personal-details": "Sharing Your Personal Details", + "es-a1-module-numbers-30-to-100": "Numbers 30 to 100", + "es-a1-module-describing-a-company": "Describing a Company", + "es-a1-module-describing-people-at-work": "Describing People at Work" + }, + "module-intros": { + "es-a1-module-describing-a-company": { + "note": "Coming 2026", + "intro": [ + "In this module, you will learn how to identify and describe basic information about a company, such as name, website, location, number of employees, and departments." + ] + }, + "es-a1-module-describing-people-at-work": { + "note": "Coming 2026", + "intro": [ + "In this module, you will learn third-person descriptions and how to identify simple corrections in short conversations." + ] + } + }, + "blocks": { + "es-a1-warm-up-greetings-and-farewells-basics": { + "title": "Greetings and Farewells Basics", + "intro": ["", ""] + }, + "es-a1-learn-greetings-during-the-day": { + "title": "Greetings During the Day", + "intro": ["", ""] + }, + "es-a1-practice-greetings-and-farewells": { + "title": "Greetings and Farewells Practice", + "intro": ["", ""] + }, + "es-a1-review-greetings-and-farewells": { + "title": "Greetings and Farewells Review", + "intro": ["", ""] + }, + "es-a1-quiz-greetings-and-farewells": { + "title": "Greetings and Farewells Quiz", + "intro": ["", ""] + }, + "es-a1-learn-certification-introduction": { + "title": "Certification Introduction", + "intro": ["", ""] + }, + "es-a1-learn-alphabet-and-accents": { + "title": "Alphabet and Accents", + "intro": ["", ""] + }, + "es-a1-learn-punctuation": { "title": "Punctuation", "intro": ["", ""] }, + "es-a1-quiz-spanish-fundamentals": { + "title": "Spanish Fundamentals Quiz", + "intro": ["", ""] + }, + "es-a1-warm-up-introducing-yourself-basics": { + "title": "Introducing Yourself Basics", + "intro": ["", ""] + }, + "es-a1-learn-meet-luna": { "title": "Meet Luna", "intro": ["", ""] }, + "es-a1-learn-meet-mateo": { "title": "Meet Mateo", "intro": ["", ""] }, + "es-a1-learn-meet-julieta": { + "title": "Meet Julieta", + "intro": ["", ""] + }, + "es-a1-practice-introducing-yourself": { + "title": "Introducing Yourself Practice", + "intro": ["", ""] + }, + "es-a1-review-introducing-yourself": { + "title": "Introducing Yourself Review", + "intro": ["", ""] + }, + "es-a1-quiz-introducing-yourself": { + "title": "Introducing Yourself Quiz", + "intro": ["", ""] + }, + "es-a1-warm-up-first-questions-basics": { + "title": "First Questions Basics", + "intro": ["", ""] + }, + "es-a1-learn-meet-angela-and-basti": { + "title": "Meet Angela and Basti", + "intro": ["", ""] + }, + "es-a1-practice-first-questions": { + "title": "First Questions Practice", + "intro": ["", ""] + }, + "es-a1-review-first-questions": { + "title": "First Questions Review", + "intro": ["", ""] + }, + "es-a1-quiz-first-questions": { + "title": "First Questions Quiz", + "intro": ["", ""] + }, + "es-a1-learn-vowels": { "title": "Vowels", "intro": ["", ""] }, + "es-a1-learn-consonants-and-special-characters": { + "title": "Consonants and Special Characters", + "intro": ["", ""] + }, + "es-a1-review-spanish-fundamentals": { + "title": "Spanish Fundamentals Review", + "intro": ["", ""] + }, + "es-a1-practice-the-alphabet": { + "title": "The Spanish Alphabet Practice", + "intro": ["", ""] + }, + "es-a1-warm-up-remember-first-numbers": { + "title": "Remember First Numbers", + "intro": ["", ""] + }, + "es-a1-learn-numbers-10-to-29": { + "title": "Numbers 10 to 29", + "intro": ["", ""] + }, + "es-a1-practice-using-numbers-10-to-29": { + "title": "Using Numbers 10 to 29", + "intro": ["", ""] + }, + "es-a1-review-numbers-10-to-29": { + "title": "Numbers 10 to 29 Review", + "intro": ["", ""] + }, + "es-a1-quiz-numbers-10-to-29": { + "title": "Numbers 10 to 29 Quiz", + "intro": ["", ""] + }, + "es-a1-warm-up-getting-ready-to-share-personal-details": { + "title": "Getting Ready to Share Personal Details", + "intro": ["", ""] + }, + "es-a1-learn-basic-personal-information": { + "title": "Basic Personal Information", + "intro": ["", ""] + }, + "es-a1-learn-contact-information-and-spelling": { + "title": "Contact Information and Spelling", + "intro": ["", ""] + }, + "es-a1-practice-personal-details-in-action": { + "title": "Personal Details in Action", + "intro": ["", ""] + }, + "es-a1-review-sharing-your-personal-details": { + "title": "Sharing Your Personal Details Review", + "intro": ["", ""] + }, + "es-a1-quiz-sharing-your-personal-details": { + "title": "Sharing Your Personal Details Quiz", + "intro": ["", ""] + }, + "es-a1-learn-the-first-ten-numbers": { + "title": "The First Ten Numbers", + "intro": ["", ""] + }, + "es-a1-practice-the-first-ten-numbers": { + "title": "The First Ten Numbers Practice", + "intro": ["", ""] + }, + "es-a1-learn-numbers-30-to-60": { + "title": "Numbers 30 to 60", + "intro": ["", ""] + }, + "es-a1-warm-up-describing-a-company-basics": { + "title": "Describing a Company Basics", + "intro": ["", ""] + }, + "es-a1-learn-numbers-61-to-100": { + "title": "Numbers 61 to 100", + "intro": ["", ""] + }, + "es-a1-practice-using-the-first-100-numbers": { + "title": "Using The First 100 Numbers", + "intro": ["", ""] + }, + "es-a1-review-first-100-numbers": { + "title": "First 100 Numbers Review", + "intro": ["", ""] + }, + "es-a1-quiz-numbers-30-to-100": { + "title": "Numbers 30 to 100 Quiz", + "intro": ["", ""] + }, + "es-a1-learn-what-the-company-does": { + "title": "What the Company Does", + "intro": ["", ""] + }, + "es-a1-learn-asking-about-a-company": { + "title": "Asking about a Company", + "intro": ["", ""] + }, + "es-a1-practice-company-profile": { + "title": "Company Profile", + "intro": ["", ""] + }, + "es-a1-review-talking-about-a-company": { + "title": "Talking About a Company", + "intro": ["", ""] + }, + "es-a1-quiz-describing-a-company": { + "title": "Describing a Company Quiz", + "intro": ["", ""] + }, + "es-a1-warm-up-describing-people-at-work-basics": { + "title": "Describing People at Work Basics", + "intro": ["", ""] + }, + "es-a1-learn-mini-biographies": { + "title": "Mini Biographies ", + "intro": ["", ""] + }, + "es-a1-practice-asking-about-mini-biographies": { + "title": "Asking About Mini Biographies", + "intro": ["", ""] + }, + "es-a1-learn-short-workplace-profile": { + "title": "Short Workplace Profile ", + "intro": ["", ""] + }, + "es-a1-practice-asking-about-short-workplace-profiles": { + "title": "Asking About Short Workplace Profiles", + "intro": ["", ""] + }, + "es-a1-review-describing-people-at-work": { + "title": "Describing People at Work", + "intro": ["", ""] + }, + "es-a1-quiz-describing-people-at-work": { + "title": "Describing People at Work", + "intro": ["", ""] + }, + "es-a1-learn-talking-about-colleagues": { + "title": "Talking About Colleagues", + "intro": ["", ""] + }, + "es-a1-practice-what-departments-do": { + "title": "What Departments Do", + "intro": ["", ""] + } + } + }, + "responsive-web-design-v9": { + "title": "Responsive Web Design Certification", + "intro": [ + "This course teaches the fundamentals of HTML and CSS, including modern layout, design, accessibility, and responsive web development. You'll build practical projects and gain the skills to create professional, user-friendly webpages.", + "To earn your Responsive Web Design Certification:", + "- Complete the five required projects to qualify for the certification exam.", + "- Pass the Responsive Web Design Certification exam." + ], + "chapters": { + "html": "HTML", + "computers": "Computers", + "css": "CSS", + "responsive-web-design-certification-exam": "Responsive Web Design Certification Exam" + }, + "modules": { + "basic-html": "Basic HTML", + "semantic-html": "Semantic HTML", + "html-forms-and-tables": "Forms and Tables", + "lab-survey-form": "Build a Survey Form", + "html-and-accessibility": "Accessibility", + "review-html": "HTML Review", + "computer-basics": "Computer Basics", + "basic-css": "Basic CSS", + "design-for-developers": "Design", + "absolute-and-relative-units": "Absolute and Relative Units", + "pseudo-classes-and-elements": "Pseudo Classes and Elements", + "css-colors": "Colors", + "styling-forms": "Styling Forms", + "css-box-model": "The Box Model", + "css-flexbox": "Flexbox", + "lab-page-of-playing-cards": "Build a Page of Playing Cards", + "css-typography": "Typography", + "css-and-accessibility": "Accessibility", + "css-positioning": "Positioning", + "attribute-selectors": "Attribute Selectors", + "lab-book-inventory-app": "Build a Book Inventory App", + "responsive-design": "Responsive Design", + "lab-technical-documentation-page": "Build a Technical Documentation Page", + "css-variables": "Variables", + "css-grid": "Grid", + "lab-product-landing-page": "Build a Product Landing Page", + "css-animations": "Animations", + "review-css": "CSS Review", + "responsive-web-design-certification-exam": "Responsive Web Design Certification Exam" + }, + "blocks": { + "workshop-curriculum-outline": { + "title": "Build a Curriculum Outline", + "intro": [ + "Welcome to freeCodeCamp!", + "This workshop will serve as your introduction to HTML and coding in general. You will learn about headings and paragraph elements." + ] + }, + "lab-debug-camperbots-profile-page": { + "title": "Debug Camperbot's Profile Page", + "intro": [ + "Camperbot is learning how to code too and needs some help with their HTML.", + "In this lab, you will help Camperbot find and fix the errors in their code." + ] + }, + "lecture-understanding-html-attributes": { + "title": "Understanding HTML Attributes", + "intro": [ + "In these lectures, you will learn more about HTML (HyperText Markup Language), a markup language for creating web pages.", + "You will learn about HTML's role on the web, and what HTML attributes are." + ] + }, + "lab-debug-pet-adoption-page": { + "title": "Debug a Pet Adoption Page", + "intro": [ + "In this lab, you will need to find and fix the errors in this pet adoption page." + ] + }, + "lecture-understanding-the-html-boilerplate": { + "title": "Understanding the HTML Boilerplate", + "intro": [ + "In these lectures, you will learn about the HTML boilerplate which is a ready-made template for your webpages.", + "You will learn how to work with the link element, meta element and more." + ] + }, + "workshop-cat-photo-app": { + "title": "Build a Cat Photo App", + "intro": [ + "HTML stands for HyperText Markup Language and it represents the content and structure of a web page.", + "In this workshop, you will learn how to work with basic HTML elements such as headings, paragraphs, images, links, and lists." + ] + }, + "lab-recipe-page": { + "title": "Build a Recipe Page", + "intro": [ + "In this lab, you'll review HTML basics by creating a web page of your favorite recipe. You'll create an HTML boilerplate and work with headings, lists, images, and more." + ] + }, + "lecture-html-fundamentals": { + "title": "HTML Fundamentals", + "intro": [ + "In these lectures, you will learn about HTML fundamentals like the div element, the id and class attributes, the HTML boilerplate, HTML entities, and more." + ] + }, + "workshop-bookstore-page": { + "title": "Build a Bookstore Page", + "intro": [ + "In this workshop, you will practice working with classes, ids and the div element by building a bookstore page." + ] + }, + "lecture-understanding-how-html-affects-seo": { + "title": "Understanding How HTML Affects SEO", + "intro": [ + "In these lectures, you will learn how your HTML code impacts search engine optimization." + ] + }, + "lab-travel-agency-page": { + "title": "Build a Travel Agency Page", + "intro": [ + "In this lab, you'll review working with HTML fundamentals by creating a web page for a travel agency. You'll work with images, the figure element, the figcaption element, the anchor element, and more." + ] + }, + "lecture-working-with-audio-and-video-elements": { + "title": "Working with Audio and Video Elements", + "intro": [ + "In these lectures, you will learn how to work with the audio and video elements." + ] + }, + "workshop-html-music-player": { + "title": "Build an HTML Music Player", + "intro": [ + "In this workshop, you'll use HTML to create a basic music player.", + "This project will cover the audio element, the audio player setup, and more." + ] + }, + "workshop-html-video-player": { + "title": "Build an HTML Video Player", + "intro": [ + "In this workshop, you'll use HTML to create a basic video player.", + "This project will cover the video element, the video player setup, and more." + ] + }, + "lab-html-audio-and-video-player": { + "title": "Build an HTML Audio and Video Player", + "intro": [ + "In this lab, you will build an HTML audio and video player using the video and audio elements with controls and source attributes." + ] + }, + "lecture-working-with-images-and-svgs": { + "title": "Working with Images and SVGs", + "intro": [ + "In these lectures, you will learn how to work with SVGs and learn about techniques for optimizing your images." + ] + }, + "workshop-build-a-heart-icon": { + "title": "Build a Heart Icon", + "intro": [ + "In this workshop, you will practice working with SVGs by building a heart icon" + ] + }, + "lecture-working-with-media": { + "title": "Working with the iframe Element", + "intro": [ + "In these lectures, you will learn how to work with the iframe element which is used to embed an external site on your web page." + ] + }, + "workshop-build-a-video-display-using-iframe": { + "title": "Build a Video Display Using iframe", + "intro": [ + "In this workshop, you'll learn how to work with the iframe element by building a video display." + ] + }, + "lab-video-compilation-page": { + "title": "Build a Video Compilation Page", + "intro": [ + "In this lab, you'll create a video compilation web page. You'll practice working with the iframe element." + ] + }, + "lecture-working-with-links": { + "title": "Working with Links", + "intro": [ + "In these lectures, you will learn about links, the target attribute, different link states, absolute, and relative paths, and more." + ] + }, + "review-basic-html": { + "title": "Basic HTML Review", + "intro": [ + "Before you are quizzed on the HTML knowledge you have gained so far, you first need to review the concepts.", + "Open up this page to review the HTML boilerplate, audio and video elements, the different target attribute values and more." + ] + }, + "quiz-basic-html": { + "title": "Basic HTML Quiz", + "intro": [ + "The following quiz will test your knowledge of the basic HTML concepts you have learned so far.", + "If you're getting ready for the exam, there are several quiz sets available for practice. After completing a quiz, you can revisit this page to access a new set of questions." + ] + }, + "lecture-importance-of-semantic-html": { + "title": "Importance of Semantic HTML", + "intro": [ + "In these lectures, you will learn about semantic HTML and why you should care about it, semantic elements, how semantic HTML differs from presentational HTML, and more." + ] + }, + "lecture-understanding-nuanced-semantic-elements": { + "title": "Understanding Nuanced Semantic Elements", + "intro": [ + "In these lectures, you will learn when you should use certain semantic elements like the em element over the i element, description lists, and more." + ] + }, + "workshop-major-browsers-list": { + "title": "Build a List of Major Web Browsers", + "intro": [ + "In this workshop, you will build a description list and work with the dl, dt, and dd elements." + ] + }, + "lecture-working-with-text-and-time-semantic-elements": { + "title": "Working with Text and Time Semantic Elements ", + "intro": [ + "In this lecture, you will learn about the importance of semantics in conveying meaning for text and time-related content including the time and blockquote elements, and more." + ] + }, + "workshop-quincys-job-tips": { + "title": "Build Quincy's Job Tips Page", + "intro": [ + "In this workshop, you will practice working with semantic HTML by using the q, blockquote, and cite elements." + ] + }, + "lecture-working-with-specialized-semantic-elements": { + "title": "Working with Specialized Semantic Elements", + "intro": [ + "In this lecture, you will learn about specialized semantic elements like u, s, code elements and more." + ] + }, + "workshop-blog-page": { + "title": "Build a Cat Blog Page", + "intro": [ + "In this workshop, you will build an HTML-only blog page using semantic elements including the main, nav, article, and footer elements." + ] + }, + "lab-event-hub": { + "title": "Build an Event Hub", + "intro": [ + "In this lab, you'll build an event hub and review semantic elements like header, nav, article, and more." + ] + }, + "review-semantic-html": { + "title": "Semantic HTML Review", + "intro": [ + "Before you are quizzed on semantic HTML, you first need to review the concepts.", + "Open up this page to review the em, strong, blockquote, address and more semantic HTML elements." + ] + }, + "quiz-semantic-html": { + "title": "Semantic HTML Quiz", + "intro": [ + "The following quiz will test your knowledge on semantic HTML concepts you have learned so far.", + "If you're getting ready for the exam, there are several quiz sets available for practice. After completing a quiz, you can revisit this page to access a new set of questions." + ] + }, + "lecture-working-with-forms": { + "title": "Working with Forms", + "intro": [ + "In these lectures, you will learn about forms, the role of labels, inputs and buttons in creating forms, client-side form validation, and form states." + ] + }, + "workshop-hotel-feedback-form": { + "title": "Build a Hotel Feedback Form", + "intro": [ + "In this workshop, you will build a Hotel Feedback Form.", + "You will practice working with the label, input, fieldset, legend, textarea, and button elements." + ] + }, + "lecture-working-with-tables": { + "title": "Working with Tables", + "intro": [ + "In these lectures, you will learn about HTML tables, how to create them, and when to use them." + ] + }, + "workshop-final-exams-table": { + "title": "Build a Final Exams Table", + "intro": [ + "In this workshop, you will practice working with HTML tables by building a table of final exams." + ] + }, + "lab-book-catalog-table": { + "title": "Build a Book Catalog Table", + "intro": [ + "In this lab, you'll review HTML tables by building a book information table.", + "You'll practice the different table components like the thead, tbody, th, tr, and td elements." + ] + }, + "lecture-working-with-html-tools": { + "title": "Working with HTML Tools", + "intro": [ + "In these lectures, you will learn about HTML tools and how they let you write better code. These tools include HTML validators, DOM Inspector, and the browser developer tools." + ] + }, + "review-html-tables-and-forms": { + "title": "HTML Tables and Forms Review", + "intro": [ + "Before you are quizzed on HTML forms, tables and tools, you first need to review the concepts.", + "Open up this page to review the table, input, and button elements as well as commonly used tools like the HTML validator and more." + ] + }, + "quiz-html-tables-and-forms": { + "title": "HTML Tables and Forms Quiz", + "intro": [ + "The following quiz will test your knowledge of HTML tables, forms and commonly used HTML tools.", + "If you're getting ready for the exam, there are several quiz sets available for practice. After completing a quiz, you can revisit this page to access a new set of questions." + ] + }, + "lab-survey-form": { + "title": "Build a Survey Form", + "intro": [ + "In this lab, you'll review HTML forms by creating a survey form.", + "You'll practice working with the label element, the different input elements, the required attribute, and more. " + ] + }, + "lecture-importance-of-accessibility-and-good-html-structure": { + "title": "Importance of Accessibility and Good HTML Structure", + "intro": [ + "In these lectures, you will learn about accessibility and its importance, assistive tools for people with disabilities, HTML attributes that let you create inclusive websites, accessibility best practices, and much more." + ] + }, + "workshop-debug-coding-journey-blog-page": { + "title": "Debug a Coding Journey Blog Page", + "intro": [ + "In this workshop, you will debug and fix accessibility errors in a coding blog page." + ] + }, + "lecture-accessible-tables-forms": { + "title": "Working with Accessible Tables and Forms", + "intro": [ + "In these lectures, you will learn about how to create accessible tables and forms." + ] + }, + "workshop-tech-conference-schedule": { + "title": "Build a Tech Conference Schedule Table", + "intro": [ + "In this workshop, you will build an accessible tech conference schedule table." + ] + }, + "lab-debug-donation-form": { + "title": "Debug a Donation Form", + "intro": [ + "In this lab you will debug a donation form by fixing HTML syntax errors and improving accessibility." + ] + }, + "lecture-introduction-to-aria": { + "title": "Introduction to ARIA", + "intro": [ + "In these lectures, you will learn about working with ARIA roles." + ] + }, + "workshop-accessible-audio-controller": { + "title": "Build an Accessible Audio Controller", + "intro": [ + "In this workshop, you will practice accessible HTML by building an audio controller that uses the aria-labelledby attribute." + ] + }, + "lecture-accessible-media-elements": { + "title": "Working with Accessible Media Elements", + "intro": [ + "In these lectures, you will learn about how to create accessible links, audio and video content." + ] + }, + "lab-checkout-page": { + "title": "Build a Checkout Page", + "intro": [ + "In this lab, you'll create an accessible checkout page.", + "You'll practice concepts like alt attributes and ARIA roles." + ] + }, + "lab-movie-review-page": { + "title": "Design a Movie Review Page", + "intro": [ + "In this lab, you'll create a movie review page.", + "You'll practice concepts like semantic HTML, alt attributes, accessible lists, and hiding decorative content from screen readers using aria-hidden." + ] + }, + "lab-multimedia-player": { + "title": "Build a Multimedia Player", + "intro": [ + "In this lab, you'll build a multimedia player.", + "You will practice working with the audio and video elements, the controls attribute, and the aria-label attribute." + ] + }, + "review-html-accessibility": { + "title": "HTML Accessibility Review", + "intro": [ + "Before you are quizzed on HTML and accessibility, you first need to review the concepts.", + "Open up this page to review concepts including the aria-hidden, aria-describedby, tabindex attributes and more." + ] + }, + "quiz-html-accessibility": { + "title": "HTML Accessibility Quiz", + "intro": [ + "The following quiz will test your knowledge on the accessibility concepts you have learned so far.", + "If you're getting ready for the exam, there are several quiz sets available for practice. After completing a quiz, you can revisit this page to access a new set of questions." + ] + }, + "review-html": { + "title": "HTML Review", + "intro": [ + "Before you take the HTML prep exam, you first need to review the concepts taught in the previous modules.", + "Open up this page to review concepts around the basics of HTML elements, semantic HTML, tables, forms and accessibility." + ] + }, + "lecture-understanding-computer-internet-and-tooling-basics": { + "title": "Understanding Computer, Internet, and Tooling Basics", + "intro": [ + "In these lectures, you will learn about the computer, its different parts, internet service providers (ISPs), and the tools professional developers use." + ] + }, + "lecture-working-with-file-systems": { + "title": "Working with File Systems", + "intro": [ + "In these lectures, you will learn how to work with file and folder systems on your computers. You will learn how to create, move, and delete files and folders, the best practices for naming and organizing files and folders, and more." + ] + }, + "lecture-browsing-the-web-effectively": { + "title": "Browsing the Web Effectively", + "intro": [ + "In these lectures, you will learn about what websites, search engine, and web browsers are, the different browsers available, and how to get the best out of a search engine." + ] + }, + "review-computer-basics": { + "title": "Computer Basics Review", + "intro": [ + "Before you are quizzed on basic computer and internet concepts, you first need to review.", + "Open up this page to review concepts like RAM, Internet service providers, common web browsers, search engines and more." + ] + }, + "quiz-computer-basics": { + "title": "Computer Basics Quiz", + "intro": [ + "Test what you've learned in this quiz of basic computer knowledge." + ] + }, + "lecture-what-is-css": { + "title": "What Is CSS?", + "intro": [ + "The following lectures are all about CSS. You will learn what CSS is and its role on the web, a CSS rule and its anatomy, the three ways to write CSS and when to use each, inline and block elements, and many more." + ] + }, + "workshop-cafe-menu": { + "title": "Design a Cafe Menu", + "intro": [ + "CSS tells the browser how to display your webpage. You can use CSS to set the color, font, size, and other aspects of HTML elements.", + "In this workshop, you'll learn CSS by designing a menu page for a cafe." + ] + }, + "lab-business-card": { + "title": "Design a Business Card", + "intro": [ + "In this lab, you'll create a business card and style it using CSS.", + "You'll practice style properties like color, font-size, text-align, and more." + ] + }, + "lecture-css-specificity-the-cascade-algorithm-and-inheritance": { + "title": "CSS Specificity, the Cascade Algorithm, and Inheritance", + "intro": [ + "In these lectures, you will learn about CSS specificity, the common selectors and their specificities, the cascade algorithm, inheritance, and more." + ] + }, + "review-basic-css": { + "title": "CSS Fundamentals Review", + "intro": [ + "Before you are quizzed on basic CSS concepts, you first need to review.", + "Open up this page to review concepts including margin, padding, CSS combinators, CSS specificity and more." + ] + }, + "quiz-basic-css": { + "title": "CSS Fundamentals Quiz", + "intro": [ + "Test what you've learned in this quiz of basic CSS knowledge." + ] + }, + "lecture-styling-lists-and-links": { + "title": "Styling Lists and Links", + "intro": [ + "In these lectures, you will learn the properties you need to know to effectively style lists and links, including link states like link, visited, hover, and active." + ] + }, + "lab-stylized-to-do-list": { + "title": "Build a Stylized To-Do List", + "intro": [ + "In this lab, you'll build a To-Do list and apply different styles to the links", + "You'll practice style properties like text-decoration, list-style-type and how to change styles on hover or click." + ] + }, + "lecture-working-with-backgrounds-and-borders": { + "title": "Working with Backgrounds and Borders", + "intro": [ + "In these lectures, you will learn about the properties and values you need to know to style backgrounds and borders of elements, alongside the accessibility considerations for backgrounds." + ] + }, + "lab-blog-post-card": { + "title": "Design a Blog Post Card", + "intro": [ + "In this lab, you'll design a blog post card using HTML and CSS", + "You'll practice concepts like background-color, border-radius, margins, paddings, and more." + ] + }, + "review-css-backgrounds-and-borders": { + "title": "Lists, Links, CSS Background and Borders Review", + "intro": [ + "Before you are quizzed on CSS backgrounds and borders, you first need to review.", + "Open up this page to review concepts including the background-image property, border property and more." + ] + }, + "quiz-css-backgrounds-and-borders": { + "title": "CSS Backgrounds and Borders Quiz", + "intro": [ + "Test what you've learned in this quiz of backgrounds and borders in CSS." + ] + }, + "lecture-user-interface-design-fundamentals": { + "title": "User Interface Design Fundamentals", + "intro": [ + "In these lectures, you will learn about the fundamentals of user interface (UI) design. You will learn about the terms you need to know to communicate with designers, visual hierarchy, scaling, alignment, whitespace, and much more." + ] + }, + "lecture-user-centered-design": { + "title": "User-Centered Design", + "intro": [ + "In these lectures, you will learn about best practices for designing user-facing features like dark mode, breadcrumbs, modal dialogs, and much more. You will also learn how to conduct user research, user requirements and testing." + ] + }, + "lecture-common-design-tools": { + "title": "Common Design Tools", + "intro": [ + "In these lectures, you will learn about the common design tools developers should know. You will also learn about design briefs and how developers work with them." + ] + }, + "review-design-fundamentals": { + "title": "Design Fundamentals Review", + "intro": [ + "Before you are quizzed on the design fundamentals you have learned so far, you first need to review.", + "Open up this page to review concepts like user-centered design, scale, alignment, good visual hierarchy and more." + ] + }, + "quiz-design-fundamentals": { + "title": "Design Fundamentals Quiz", + "intro": [ + "Test what you've learned in this quiz of UI design fundamentals." + ] + }, + "lecture-working-with-relative-and-absolute-units": { + "title": "Working with Relative and Absolute Units", + "intro": [ + "In these lectures, you will learn about relative and absolute units, and how they both impact what you see in the browser." + ] + }, + "lab-event-flyer-page": { + "title": "Build an Event Flyer Page", + "intro": [ + "In this lab, you'll create an event flyer page.", + "You will practice aligning elements using absolute and relative CSS." + ] + }, + "review-css-relative-and-absolute-units": { + "title": "CSS Relative and Absolute Units Review", + "intro": [ + "Before you are quizzed on relative and absolute units, you first need to review.", + "Open up this page to review concepts like percentages, px, rem, em, and more." + ] + }, + "quiz-css-relative-and-absolute-units": { + "title": "CSS Relative and Absolute Units Quiz", + "intro": [ + "Test what you've learned in this quiz of relative and absolute units in CSS." + ] + }, + "lecture-working-with-pseudo-classes-and-pseudo-elements-in-css": { + "title": "Working with Pseudo-Classes and Pseudo-Elements in CSS", + "intro": [ + "In these lectures, you will learn about pseudo-classes and pseudo-elements, alongside their examples and how they work." + ] + }, + "workshop-greeting-card": { + "title": "Design a Greeting Card", + "intro": [ + "In the previous lectures, you learned how to work with the different types of pseudo-classes.", + "In this workshop, you will have a chance to practice what you have learned by designing a greeting card." + ] + }, + "workshop-parent-teacher-conference-form": { + "title": "Design a Parent Teacher Conference Form", + "intro": [ + "In this workshop, you will practice how to style radio buttons with different types of pseudo-selectors by building a parent-teacher conference form.", + "You'll practice concepts including the ::before pseudo-element selector, the transform property, and more." + ] + }, + "lab-job-application-form": { + "title": "Build a Job Application Form", + "intro": [ + "In this lab you'll build a job application form and style it using pseudo-classes.", + "You'll practice concepts like :hover, :active, :focus, and more." + ] + }, + "review-css-pseudo-classes": { + "title": "CSS Pseudo-classes Review", + "intro": [ + "Before you're quizzed on CSS pseudo-classes and pseudo-elements, you should review what you've learned about them.", + "Open up this page to review concepts like the ::before and ::after pseudo-elements as well as the :hover, :active pseudo-classes and more." + ] + }, + "quiz-css-pseudo-classes": { + "title": "CSS Pseudo-classes Quiz", + "intro": ["Test your knowledge of CSS pseudo-classes with this quiz."] + }, + "lecture-working-with-colors-in-css": { + "title": "Working with Colors in CSS", + "intro": [ + "In these lectures, you will learn about linear and radial gradients, the color theory, different kinds of colors like named, RGB, Hex, and HSL colors. You will learn how these colors work, and which to use in specific cases." + ] + }, + "workshop-colored-markers": { + "title": "Build a Set of Colored Markers", + "intro": [ + "In this workshop, you'll build a set of colored markers. You'll practice different ways to set color values and how to pair colors with each other." + ] + }, + "lab-colored-boxes": { + "title": "Design a Set of Colored Boxes", + "intro": [ + "In this lab, you'll create a color grid and practice adding background colors to the grid items using hex codes, RGB, and predefined color names." + ] + }, + "review-css-colors": { + "title": "CSS Colors Review", + "intro": [ + "Before you're quizzed on CSS colors, you should review what you've learned about them.", + "Open up this page to review concepts like the rgb() function, hsl() function, hex codes, and more." + ] + }, + "quiz-css-colors": { + "title": "CSS Colors Quiz", + "intro": ["Test your knowledge of CSS colors with this quiz."] + }, + "lecture-best-practices-for-styling-forms": { + "title": "Best Practices for Styling Forms", + "intro": [ + "In these lectures, you will learn about the best practices for styling forms and issues you can encounter while styling special inputs like color and datetime-local." + ] + }, + "workshop-registration-form": { + "title": "Design a Registration Form", + "intro": [ + "In this workshop, you'll learn how to design HTML forms by designing a signup page. You'll learn how to control what types of data people can type into your form, and some new CSS tools for styling your page." + ] + }, + "lab-contact-form": { + "title": "Design a Contact Form", + "intro": [ + "In this lab, you'll design a contact form in HTML and style it using CSS." + ] + }, + "workshop-game-settings-panel": { + "title": "Build a Game Settings Panel", + "intro": [ + "In this workshop, you will practice styling checkboxes by building a game settings panel." + ] + }, + "lab-feature-selection": { + "title": "Design a Feature Selection Page", + "intro": [ + "In this lab, you'll build a feature selection page with custom-styled checkboxes.", + "You'll create feature cards with labels and checkboxes, then give custom styling to the checkboxes." + ] + }, + "review-styling-forms": { + "title": "Styling Forms Review", + "intro": [ + "Before you're quizzed on styling forms, you should review what you've learned.", + "Open up this page to review how to style form inputs, working with appearance: none and more." + ] + }, + "quiz-styling-forms": { + "title": "Styling Forms Quiz", + "intro": [ + "In this quiz, you will test your knowledge of how to style forms." + ] + }, + "lecture-working-with-css-transforms-overflow-and-filters": { + "title": "Working with CSS Transforms, Overflow, and Filters", + "intro": [ + "In these lectures, you will learn about working with CSS transforms, overflow, and filters. You will also learn about the box model and how it works." + ] + }, + "workshop-rothko-painting": { + "title": "Design a Rothko Painting", + "intro": [ + "Every HTML element is its own box – with its own spacing and a border. This is called the Box Model.", + "In this workshop, you'll use CSS and the Box Model to create your own Rothko-style rectangular art pieces." + ] + }, + "lab-confidential-email-page": { + "title": "Build a Confidential Email Page", + "intro": [ + "In this lab, you'll create a web page using HTML and mask the content using CSS properties." + ] + }, + "review-css-layout-and-effects": { + "title": "CSS Layouts and Effects Review", + "intro": [ + "Before you are quizzed on CSS Layouts and Effects, you first need to review.", + "Open up this page to review concepts like the transform property, the box model, the overflow property and more." + ] + }, + "quiz-css-layout-and-effects": { + "title": "CSS Layout and Effects Quiz", + "intro": [ + "In this quiz, you will test your knowledge of the box model, transforms, filters, and overflow in CSS." + ] + }, + "lecture-working-with-css-flexbox": { + "title": "Working with CSS Flexbox", + "intro": [ + "In these lectures, you will learn how CSS flexbox works, its properties, and when you should use it." + ] + }, + "workshop-flexbox-photo-gallery": { + "title": "Build a Flexbox Photo Gallery", + "intro": [ + "In this workshop, you'll use Flexbox to build a responsive photo gallery webpage." + ] + }, + "workshop-colorful-boxes": { + "title": "Design a Set of Colorful Boxes", + "intro": [ + "In this workshop, you will practice working with CSS flexbox by designing a set of colored boxes." + ] + }, + "lab-pricing-plans-layout": { + "title": "Design a Pricing Plans Layout Page", + "intro": [ + "In this lab, you'll use flexbox to create a common three-card tier layout.", + "You'll practice aligning elements using flexbox properties like flex, flex-grow, order, and more." + ] + }, + "review-css-flexbox": { + "title": "CSS Flexbox Review", + "intro": [ + "Before you're quizzed on CSS flexbox, you should review what you've learned.", + "Open up this page to review concepts like the flex-direction, justify-content, align-items, flex-wrap properties, and more." + ] + }, + "quiz-css-flexbox": { + "title": "CSS Flexbox Quiz", + "intro": ["Test what you've learned on CSS flexbox with this quiz."] + }, + "lab-page-of-playing-cards": { + "title": "Build a Page of Playing Cards", + "intro": [ + "In this lab, you'll use flexbox to create a webpage of playing cards.", + "You'll practice aligning elements using flexbox properties like flex-direction, justify-content, align-self, and more." + ] + }, + "lecture-working-with-css-fonts": { + "title": "Working with CSS Fonts", + "intro": [ + "In these lectures, you will learn about typography and its best practices, fonts, and the text-shadow property." + ] + }, + "workshop-nutritional-label": { + "title": "Build a Nutritional Label", + "intro": [ + "Typography is the art of styling your text to be easily readable and suit its purpose.", + "In this workshop, you'll use typography to build a nutrition label webpage. You'll practice how to style text, adjust line height, and position your text using CSS." + ] + }, + "lab-newspaper-article": { + "title": "Build a Newspaper Article", + "intro": [ + "In this lab, you'll build a newspaper article page using HTML and CSS.", + "You'll style the fonts using properties like font-family, font-size, font-weight, and more." + ] + }, + "review-css-typography": { + "title": "CSS Typography Review", + "intro": [ + "Before you're quizzed on the fundamentals of typography, you should review what you've learned.", + "Open up this page to review concepts like web safe fonts, the font-family property and more." + ] + }, + "quiz-css-typography": { + "title": "CSS Typography Quiz", + "intro": ["Test your knowledge of typography with this quiz."] + }, + "lecture-best-practices-for-accessibility-and-css": { + "title": "Best Practices for Accessibility and CSS", + "intro": [ + "In these lectures, you will learn about best practices for accessibility in CSS, and the tools for checking good color contrast on websites." + ] + }, + "workshop-accessibility-quiz": { + "title": "Build a Quiz Webpage", + "intro": [ + "Accessibility is the process of making your webpages usable for everyone, including people with disabilities.", + "In this workshop, you'll build a quiz webpage. You'll learn accessibility tools such as keyboard shortcuts, ARIA attributes, and design best practices." + ] + }, + "lab-tribute-page": { + "title": "Build a Tribute Page", + "intro": [ + "In this lab, you'll build a tribute page for a subject of your choosing, fictional or real." + ] + }, + "review-css-accessibility": { + "title": "CSS Accessibility Review", + "intro": [ + "Before you're quizzed on CSS and accessibility, you should review what you've learned.", + "Open up this page to review concepts like color contrast tools and accessibility best practices." + ] + }, + "quiz-css-accessibility": { + "title": "CSS Accessibility Quiz", + "intro": [ + "In this quiz, you'll test what you've learned about making your webpages accessible with CSS." + ] + }, + "lecture-understanding-how-to-work-with-floats-and-positioning-in-css": { + "title": "Understanding How to Work with Floats and Positioning in CSS", + "intro": [ + "In these lectures, you will learn how to use CSS positioning and floats. You will learn about absolute, relative, fixed, and sticky positioning. You will also use the z-index property." + ] + }, + "workshop-cat-painting": { + "title": "Build a Cat Painting", + "intro": [ + "Mastering CSS positioning is essential for creating visually appealing and responsive web layouts.", + "In this workshop, you will build a cat painting. You'll learn about how to work with absolute positioning, the z-index property, and the transform property." + ] + }, + "lab-house-painting": { + "title": "Build a House Painting", + "intro": [ + "In this lab, you'll build a house painting using CSS.", + "You'll design individual elements of the house and position them using CSS properties like position, top, left, and more." + ] + }, + "review-css-positioning": { + "title": "CSS Positioning Review", + "intro": [ + "Before you're quizzed on the fundamentals of CSS positioning, you should review what you've learned.", + "Open up this page to review concepts like floats, relative positioning, absolute positioning and more." + ] + }, + "quiz-css-positioning": { + "title": "CSS Positioning Quiz", + "intro": ["Test your knowledge of CSS positioning with this quiz."] + }, + "lecture-working-with-attribute-selectors": { + "title": "Working with Attribute Selectors", + "intro": [ + "In these lectures, you will learn about attribute selectors and how to use them to target elements like links and lists." + ] + }, + "workshop-balance-sheet": { + "title": "Build a Balance Sheet", + "intro": [ + "In this workshop, you'll build a balance sheet using pseudo selectors. You'll learn how to change the style of an element when you hover over it with your mouse, and trigger other events on your webpage." + ] + }, + "review-css-attribute-selectors": { + "title": "CSS Attribute Selectors Review", + "intro": [ + "Before you're quizzed on the fundamentals of CSS attribute selectors, you should review what you've learned about them.", + "Open up this page to review concepts like how to work with different attribute selectors that target links with the href and title attributes." + ] + }, + "quiz-css-attribute-selectors": { + "title": "CSS Attribute Selectors Quiz", + "intro": [ + "Test your knowledge of CSS attribute selectors with this quiz." + ] + }, + "lab-book-inventory-app": { + "title": "Build a Book Inventory App", + "intro": [ + "In this lab, you'll create a book inventory app.", + "You'll practice CSS attribute selectors like [attribute], [attribute=value], [attribute~=value], and more." + ] + }, + "lecture-best-practices-for-responsive-web-design": { + "title": "Best Practices for Responsive Web Design", + "intro": [ + "In these lectures, you will learn about the best practices for responsive web design, the roles concepts like grid, flexbox, media queries, and media breakpoints play in responsive design, and more." + ] + }, + "workshop-piano": { + "title": "Design a Piano", + "intro": [ + "Responsive Design tells your webpage how it should look on different-sized screens.", + "In this workshop, you'll use CSS and responsive design to code a piano. You'll also practice media queries and pseudo selectors." + ] + }, + "review-responsive-web-design": { + "title": "Responsive Web Design Review", + "intro": [ + "Before you're quizzed on the fundamentals of responsive design, you should review what you've learned.", + "Open up this page to review concepts like media queries, media breakpoints and mobile first approach design." + ] + }, + "quiz-responsive-web-design": { + "title": "Responsive Web Design Quiz", + "intro": [ + "Test what you've learned about making your webpages responsive with this quiz." + ] + }, + "lab-technical-documentation-page": { + "title": "Build a Technical Documentation Page", + "intro": [ + "In this lab, you'll build a technical documentation page to serve as instruction or reference for a topic.", + "You'll also practice media queries to create a responsive design." + ] + }, + "lecture-working-with-css-variables": { + "title": "Working with CSS Variables", + "intro": [ + "In these lectures, you will learn how to define and use custom properties (also known as CSS variables). You will also learn about the @property rule and how it works." + ] + }, + "workshop-city-skyline": { + "title": "Build a City Skyline", + "intro": [ + "CSS variables help you organize your styles and reuse them.", + "In this workshop, you'll build a city skyline. You'll practice how to configure CSS variables so you can reuse them whenever you want." + ] + }, + "lab-availability-table": { + "title": "Build an Availability Table", + "intro": [ + "For this lab, you'll create an availability table that shows the availability of people for a meeting.", + "You'll practice using CSS variables to store and reuse colors, fonts, and other styles." + ] + }, + "review-css-variables": { + "title": "CSS Variables Review", + "intro": [ + "Before you're quizzed on the fundamentals of CSS variables, you should review what you've learned.", + "Open up this page to review how to work with CSS custom properties (CSS variables) and the @property rule." + ] + }, + "quiz-css-variables": { + "title": "CSS Variables Quiz", + "intro": ["Test your knowledge of CSS variables with this quiz."] + }, + "lecture-working-with-css-grid": { + "title": "Working with CSS Grid", + "intro": [ + "In these lectures, you will learn about CSS grid, its several properties and how to use them, and how CSS grid differs from flexbox." + ] + }, + "workshop-magazine": { + "title": "Build a Magazine", + "intro": [ + "CSS Grid gives you control over the rows and columns of your webpage design.", + "In this workshop, you'll build a magazine article. You'll practice how to use CSS Grid, including concepts like grid rows and grid columns." + ] + }, + "lab-newspaper-layout": { + "title": "Design a Newspaper Layout", + "intro": [ + "In this lab, you will design a newspaper layout using CSS Grid, including concepts like grid rows and grid columns." + ] + }, + "lecture-debugging-css": { + "title": "Debugging CSS", + "intro": [ + "In this lecture, you'll learn how to debug CSS using your browser's developer tools and CSS validators." + ] + }, + "review-css-grid": { + "title": "CSS Grid Review", + "intro": [ + "Before you're quizzed on the fundamentals of CSS Grid, you should review what you've learned.", + "Open up this page to review how to work with the different CSS Grid properties like grid-template-columns, grid-gap and more." + ] + }, + "quiz-css-grid": { + "title": "CSS Grid Quiz", + "intro": ["Test your knowledge of CSS Grid with this quiz."] + }, + "lab-product-landing-page": { + "title": "Build a Product Landing Page", + "intro": [ + "In this project, you'll build a product landing page to market a product of your choice." + ] + }, + "lecture-animations-and-accessibility": { + "title": "Animations and Accessibility", + "intro": [ + "In these lectures, you will learn about CSS animations and their accessibility concerns. You will also learn how prefers-reduced-motion can help address those accessibility concerns." + ] + }, + "workshop-ferris-wheel": { + "title": "Build an Animated Ferris Wheel", + "intro": [ + "You can use CSS animation to draw attention to specific sections of your webpage and make it more engaging.", + "In this workshop, you'll build a Ferris wheel. You'll practice how to use CSS to animate elements, transform them, and adjust their speed." + ] + }, + "lab-moon-orbit": { + "title": "Build a Moon Orbit", + "intro": [ + "In this lab, you'll create an animation of the moon orbiting the earth.", + "You'll practice animation properties like animation-name, animation-duration, animation-timing-function, and more." + ] + }, + "workshop-flappy-penguin": { + "title": "Build a Flappy Penguin", + "intro": [ + "You can transform HTML elements to create appealing designs that draw your reader's eye. You can use transforms to rotate elements, scale them, and more.", + "In this workshop, you'll build a penguin. You'll use CSS transforms to position and resize the parts of your penguin, create a background, and animate your work." + ] + }, + "lab-personal-portfolio": { + "title": "Build a Personal Portfolio", + "intro": [ + "In this project, you'll build your own personal portfolio page." + ] + }, + "review-css-animations": { + "title": "CSS Animations Review", + "intro": [ + "Before you're quizzed on working with CSS animations, you should review what you've learned about them.", + "Open up this page to review concepts including prefers-reduced-motion, the @keyframes rule and more." + ] + }, + "quiz-css-animations": { + "title": "CSS Animations Quiz", + "intro": ["Test your knowledge of CSS animations with this quiz."] + }, + "review-css": { + "title": "CSS Review", + "intro": [ + "Before you take the CSS prep exam, you first need to review the concepts taught in the previous modules.", + "Open up this page to review concepts around the basics of CSS, responsive web design, animations, accessibility and more." + ] + }, + "exam-responsive-web-design-certification": { + "title": "Responsive Web Design Certification Exam", + "intro": [ + "Pass this exam to earn your Responsive Web Design Certification Exam" + ] + } + } + }, + "a2-professional-spanish": { + "title": "A2 Professional Spanish Certification (Beta)", + "note": "This certification is currently in active development. New content will be published as our instructional design team develops it. Once all content is available, we will release the certification exam.", + "intro": ["Placeholder intro"], + "blocks": { + "talk-about-who-you-are-by-using-key-verbs": { + "title": "Talk About Who You Are by Using Key Verbs", + "intro": [ + "Learn how to introduce yourself in Spanish in a simple and professional way. In this module you'll learn how to say who you are, where you are from, what you do, how you feel, and what you like or don't like." + ] + }, + "get-to-know-others-by-asking-simple-questions": { + "title": "Get to Know Others by Asking Simple Questions", + "intro": [ + "Learn how to ask and answer questions in simple conversations. Through five short dialogues, practice talking about routines, feelings, preferences, workspaces, and personal information. You'll also learn to ask polite questions, give short answers, and use negation naturally." + ] + } + } + }, + "a2-professional-chinese": { + "title": "A2 Professional Chinese Certification (Beta)", + "note": "This certification is currently in active development. New content will be published as our instructional design team develops it. Once all content is available, we will release the certification exam.", + "intro": ["Placeholder intro"], + "blocks": { + "talk-about-what-you-do-by-using-key-verbs": { + "title": "Talk About What You Do by Using Key Verbs", + "intro": [ + "Learn how to introduce yourself in Chinese in a simple and professional way. In this module you'll learn how to say who you are, where you are from, what you do, how you feel, and what you like or don't like." + ] + }, + "get-to-know-colleagues-by-asking-simple-questions": { + "title": "Get to Know Colleagues by Asking Simple Questions", + "intro": [ + "Learn how to ask and answer questions in simple conversations. Through five short dialogues, practice talking about routines, feelings, preferences, workspaces, and personal information. You'll also learn to ask polite questions, give short answers, and use negation naturally." + ] + } + } + }, + "a1-professional-chinese": { + "title": "A1 Professional Chinese Certification (Beta)", + "note": "This certification is currently in active development. New content will be published as our instructional design team develops it. Once all content is available, we will release the certification exam.", + "intro": [ + "In this A1 Professional Chinese Curriculum, you'll learn the building blocks of the Chinese language. This will follow the A1 level of the Common European Framework of Reference (CEFR). And we've focused on vocabulary that is particularly useful for professional settings.", + "The curriculum is broken down into several modules that include warm-up, learning, practice, review pages, and quizzes to make sure that you truly understand the material before moving on to the next module.", + "Each chapter includes hundreds of interactive tasks designed to help you take your first steps in learning Chinese with confidence." + ], + "chapters": { + "zh-a1-chapter-welcome-to-a1-professional-chinese": "Welcome to A1 Professional Chinese", + "zh-a1-chapter-pinyin": "Pinyin", + "zh-a1-chapter-greetings-and-introductions": "Greetings and Introductions", + "zh-a1-chapter-numbers-and-personal-information": "Numbers and Personal Information", + "zh-a1-chapter-expressing-what-you-can-and-cant-do": "Expressing What You Can and Can't Do" + }, + "modules": { + "zh-a1-module-introduction-and-certification-overview": "Introduction and Certification Overview", + "zh-a1-module-initials-and-finals": "Initials and Finals", + "zh-a1-module-greetings-and-basic-introductions": "Greetings and Basic Introductions", + "zh-a1-module-asking-and-giving-basic-information": "Asking and Giving Basic Information", + "zh-a1-module-numbers-below-100": "Numbers Below 100", + "zh-a1-module-communicating-personal-information": "Communicating Personal Information", + "zh-a1-module-talking-about-personal-skills": "Talking about Personal Skills", + "zh-a1-module-discussing-team-skills": "Discussing Team Skills" + }, + "module-intros": { + "zh-a1-module-introducing-others": { + "note": "Coming 2026", + "intro": [ + "In this module, you will practice understanding short monologues that introduce information about other people, such as name, role, nationality, and age." + ] + }, + "zh-a1-module-getting-to-know-the-team": { + "note": "Coming 2026", + "intro": [ + "In this module, you will practice understanding a short conversation that asks and answers simple questions about colleagues." + ] + }, + "zh-a1-module-communicating-personal-information": { + "note": "Coming 2026", + "intro": [ + "In this module, you will practice understanding conversations that communicate personal information, such as age and phone numbers." + ] + }, + "zh-a1-module-talking-about-personal-skills": { + "note": "Coming 2026", + "intro": [ + "In this module, you will practice understanding short monologues about what people can and cannot do, such as languages and work skills." + ] + }, + "zh-a1-module-discussing-team-skills": { + "note": "Coming 2026", + "intro": [ + "In this module, you will practice understanding a short conversation about who can do which tasks on a team and how a project starts." + ] + } + }, + "blocks": { + "zh-a1-learn-certification-introduction": { + "title": "Certification Introduction", + "intro": ["", ""] + }, + "zh-a1-learn-simple-finals": { + "title": "Simple Finals", + "intro": ["", ""] + }, + "zh-a1-learn-initials": { "title": "Initials", "intro": ["", ""] }, + "zh-a1-learn-compound-finals": { + "title": "Compound Finals", + "intro": ["", ""] + }, + "zh-a1-learn-nasal-finals": { + "title": "Nasal Finals", + "intro": ["", ""] + }, + "zh-a1-warm-up-greeting-new-colleagues": { + "title": "Greeting New Colleagues", + "intro": ["", ""] + }, + "zh-a1-learn-understanding-greetings-and-introductions": { + "title": "Understanding Greetings and Introductions", + "intro": ["", ""] + }, + "zh-a1-practice-introducing-yourself": { + "title": "​Introducing Yourself", + "intro": ["", ""] + }, + "zh-a1-review-greetings-and-introductions": { + "title": "Greetings and Introductions Review", + "intro": ["", ""] + }, + "zh-a1-quiz-greetings-and-introductions": { + "title": "Greetings and Introductions Quiz", + "intro": ["", ""] + }, + "zh-a1-learn-understanding-questions-and-answers": { + "title": "Understanding Questions and Answers", + "intro": ["", ""] + }, + "zh-a1-practice-exchanging-basic-information": { + "title": "Exchanging Basic Information", + "intro": ["", ""] + }, + "zh-a1-review-introduction-questions": { + "title": "Introduction Questions Review", + "intro": ["", ""] + }, + "zh-a1-quiz-introduction-questions": { + "title": "Introduction Questions Quiz", + "intro": ["", ""] + }, + "zh-a1-warm-up-introducing-others-basics": { + "title": "Introducing Others Basics", + "intro": ["", ""] + }, + "zh-a1-learn-meeting-the-team": { + "title": "Meeting the Team", + "intro": ["", ""] + }, + "zh-a1-learn-a-new-colleague": { + "title": "A New Colleague", + "intro": ["", ""] + }, + "zh-a1-learn-my-family": { "title": "My Family", "intro": ["", ""] }, + "zh-a1-practice-introducing-others": { + "title": "Introducing Others Practice", + "intro": ["", ""] + }, + "zh-a1-review-introducing-others": { + "title": "Introducing Others Review", + "intro": ["", ""] + }, + "zh-a1-quiz-check-your-introduction": { + "title": "Check Your Introduction", + "intro": ["", ""] + }, + "zh-a1-warm-up-knowing-the-team-basics": { + "title": "Knowing the Team Basics", + "intro": ["", ""] + }, + "zh-a1-learn-asking-about-the-team": { + "title": "Asking about the Team", + "intro": ["", ""] + }, + "zh-a1-practice-talking-about-others": { + "title": "Talking about Others", + "intro": ["", ""] + }, + "zh-a1-review-team-introduction": { + "title": "Team Introduction Review", + "intro": ["", ""] + }, + "zh-a1-quiz-team-introduction": { + "title": "Team Introduction Quiz", + "intro": ["", ""] + }, + "zh-a1-warm-up-personal-skills-basics": { + "title": "Personal Skills Basics", + "intro": ["", ""] + }, + "zh-a1-learn-can-or-cannot": { + "title": "Can or Can't", + "intro": ["", ""] + }, + "zh-a1-practice-personal-skills": { + "title": "Personal Skills Practice", + "intro": ["", ""] + }, + "zh-a1-review-describing-skills": { + "title": "Describing Skills Review", + "intro": ["", ""] + }, + "zh-a1-quiz-describing-skills": { + "title": "Describing Skills Quiz", + "intro": ["", ""] + }, + "zh-a1-warm-up-team-skills-basics": { + "title": "Team Skills Basics", + "intro": ["", ""] + }, + "zh-a1-learn-who-can-do-what-on-the-team": { + "title": "Who Can Do What on the Team", + "intro": ["Learn to discuss team member capabilities and roles."] + }, + "zh-a1-practice-talking-about-skills": { + "title": "Talking about Skills", + "intro": ["Practice discussing various skills in team contexts."] + }, + "zh-a1-review-discussing-team-skills": { + "title": "Discussing Team Skills Review", + "intro": ["", ""] + }, + "zh-a1-quiz-discussing-team-skills": { + "title": "Discussing Team Skills Quiz", + "intro": ["", ""] + }, + "zh-a1-warm-up-meeting-new-teammates": { + "title": "Meeting New Teammates", + "intro": ["", ""] + }, + "zh-a1-learn-special-spelling-rules": { + "title": "Special Spelling Rules", + "intro": ["", ""] + }, + "zh-a1-practice-pinyin": { + "title": "Pinyin Practice", + "intro": ["", ""] + }, + "zh-a1-learn-numbers-0-to-10": { + "title": "Numbers 0 to 10", + "intro": ["", ""] + }, + "zh-a1-practice-numbers-0-to-10": { + "title": "Numbers 0 to 10 Practice", + "intro": ["", ""] + }, + "zh-a1-learn-numbers-11-to-19": { + "title": "Numbers 11 to 19", + "intro": ["", ""] + }, + "zh-a1-practice-numbers-11-to-19": { + "title": "Numbers 11 to 19 Practice", + "intro": ["", ""] + }, + "zh-a1-learn-numbers-20-to-99": { + "title": "Numbers 20 to 99", + "intro": ["", ""] + }, + "zh-a1-practice-numbers-20-to-99": { + "title": "Numbers 20 to 99 Practice", + "intro": ["", ""] + }, + "zh-a1-review-numbers-below-100": { + "title": "Numbers Below 100 Review", + "intro": ["", ""] + }, + "zh-a1-quiz-numbers-below-100": { + "title": "Numbers Below 100 Quiz", + "intro": ["", ""] + } + } + }, + "basic-html": { + "title": "Learn Basic HTML", + "summary": [ + "Learn how to build simple webpages using HTML tags to add text, images, and links." + ], + "intro": [ + "HTML stands for HyperText Markup Language and represents the content and structure for a web page. In this course, you will learn the basics of writing HTML." + ], + "blocks": { + "workshop-curriculum-outline": { + "title": "Build a Curriculum Outline", + "intro": [ + "Welcome to freeCodeCamp!", + "This workshop will serve as your introduction to HTML and coding in general. You will learn about headings and paragraph elements." + ] + }, + "lab-debug-camperbots-profile-page": { + "title": "Debug Camperbot's Profile Page", + "intro": [ + "Camperbot is learning how to code too and needs some help with their HTML.", + "In this lab, you will help Camperbot find and fix the errors in their code." + ] + }, + "lecture-understanding-html-attributes": { + "title": "Understanding HTML Attributes", + "intro": [ + "In these lectures, you will learn more about HTML (HyperText Markup Language), a markup language for creating web pages.", + "You will learn about HTML's role on the web, and what HTML attributes are." + ] + }, + "lab-debug-pet-adoption-page": { + "title": "Debug a Pet Adoption Page", + "intro": [ + "In this lab, you will need to find and fix the errors in this pet adoption page." + ] + }, + "lecture-understanding-the-html-boilerplate": { + "title": "Understanding the HTML Boilerplate", + "intro": [ + "In these lectures, you will learn about the HTML boilerplate, which is a ready-made template for your webpages.", + "You will learn how to work with the link element, meta element and more." + ] + }, + "workshop-cat-photo-app": { + "title": "Build a Cat Photo App", + "intro": [ + "HTML stands for HyperText Markup Language and it represents the content and structure of a web page.", + "In this workshop, you will learn how to work with basic HTML elements such as headings, paragraphs, images, links, and lists." + ] + }, + "lab-recipe-page": { + "title": "Build a Recipe Page", + "intro": [ + "In this lab, you'll review HTML basics by creating a web page of your favorite recipe. You'll create an HTML boilerplate and work with headings, lists, images, and more." + ] + }, + "lecture-html-fundamentals": { + "title": "HTML Fundamentals", + "intro": [ + "In these lectures, you will learn about HTML fundamentals like the div element, the id and class attributes, the script element, HTML entities, and more." + ] + }, + "workshop-bookstore-page": { + "title": "Build a Bookstore Page", + "intro": [ + "In this workshop, you will practice working with classes, ids, and the div element by building a bookstore page." + ] + }, + "lecture-understanding-how-html-affects-seo": { + "title": "Understanding How HTML Affects SEO", + "intro": [ + "In these lectures, you will learn how your HTML code impacts search engine optimization." + ] + }, + "lab-travel-agency-page": { + "title": "Build a Travel Agency Page", + "intro": [ + "In this lab, you'll review working with HTML fundamentals by creating a web page for a travel agency. You'll work with images, the figure element, the figcaption element, the a element, and more." + ] + }, + "lecture-working-with-audio-and-video-elements": { + "title": "Working with Audio and Video Elements", + "intro": [ + "In this lecture, you will learn how to work with the audio and video elements." + ] + }, + "workshop-html-music-player": { + "title": "Build an HTML Music Player", + "intro": [ + "In this workshop, you'll use HTML to create a basic music player.", + "This project will cover the audio element, the audio player setup, and more." + ] + }, + "workshop-html-video-player": { + "title": "Build an HTML Video Player", + "intro": [ + "In this workshop, you'll use HTML to create a basic video player.", + "This project will cover the video element, the video player setup, and more." + ] + }, + "lab-html-audio-and-video-player": { + "title": "Build an HTML Audio and Video Player", + "intro": [ + "In this lab, you will build an HTML audio and video player using the video and audio elements with controls and source attributes." + ] + }, + "lecture-working-with-images-and-svgs": { + "title": "Working with Images and SVGs", + "intro": [ + "In these lectures, you will learn how to work with SVGs and explore techniques for optimizing your images." + ] + }, + "workshop-build-a-heart-icon": { + "title": "Build a Heart Icon", + "intro": [ + "In this workshop, you will practice working with SVGs by building a heart icon." + ] + }, + "lecture-working-with-media": { + "title": "Working with the iframe Element", + "intro": [ + "In these lectures, you will learn how to work with the iframe element which is used to embed an external site on your web page." + ] + }, + "workshop-build-a-video-display-using-iframe": { + "title": "Build a Video Display Using iframe", + "intro": [ + "In this workshop, you'll learn how to work with the iframe element by building a video display." + ] + }, + "lab-video-compilation-page": { + "title": "Build a Video Compilation Page", + "intro": [ + "In this lab, you'll create a video compilation web page. You'll practice working with the iframe element." + ] + }, + "lecture-working-with-links": { + "title": "Working with Links", + "intro": [ + "In these lectures, you will learn about links, the target attribute, different link states, absolute and relative paths, and more." + ] + }, + "review-basic-html": { + "title": "Basic HTML Review", + "intro": [ + "Before you are quizzed on the HTML knowledge you have gained so far, you first need to review the concepts.", + "Open up this page to review the HTML boilerplate, audio and video elements, the different target attribute values and more." + ] + }, + "quiz-basic-html": { + "title": "Basic HTML Quiz", + "intro": [ + "The following quiz will test your knowledge of the basic HTML concepts you have learned so far.", + "If you're getting ready for the exam, there are several quiz sets available for practice. After completing a quiz, you can revisit this page to access a new set of questions." + ] + } + } + }, + "semantic-html": { + "title": "Learn Semantic HTML", + "summary": [ + "Discover how to write cleaner, more meaningful HTML using semantic tags that improve structure, accessibility, and SEO." + ], + "intro": [ + "In this interactive course, you will practice writing semantic HTML." + ], + "blocks": { + "lecture-importance-of-semantic-html": { + "title": "Importance of Semantic HTML", + "intro": [ + "In these lectures, you will learn about semantic HTML and why you should care about it, semantic elements, how semantic HTML differs from presentational HTML, and more." + ] + }, + "lecture-understanding-nuanced-semantic-elements": { + "title": "Understanding Nuanced Semantic Elements", + "intro": [ + "In these lectures, you will learn when you should use certain semantic elements like the em element over the i element, description lists, and more." + ] + }, + "workshop-major-browsers-list": { + "title": "Build a List of Major Web Browsers", + "intro": [ + "In this workshop, you will build a description list and work with the dl, dt, and dd elements." + ] + }, + "lecture-working-with-text-and-time-semantic-elements": { + "title": "Working with Text and Time Semantic Elements ", + "intro": [ + "In this lecture, you will learn about the importance of semantics in conveying meaning for text and time-related content including the time and blockquote elements, and more." + ] + }, + "workshop-quincys-job-tips": { + "title": "Build Quincy's Job Tips Page", + "intro": [ + "In this workshop, you will practice working with semantic HTML by using the q, blockquote, and cite elements." + ] + }, + "lecture-working-with-specialized-semantic-elements": { + "title": "Working with Specialized Semantic Elements", + "intro": [ + "In this lecture, you will learn about specialized semantic elements like u, s, code elements and more." + ] + }, + "workshop-blog-page": { + "title": "Build a Cat Blog Page", + "intro": [ + "In this workshop, you will build an HTML-only blog page using semantic elements including the main, nav, article, and footer elements." + ] + }, + "lab-event-hub": { + "title": "Build an Event Hub", + "intro": [ + "In this lab, you'll build an event hub and review semantic elements like header, nav, article, and more." + ] + }, + "review-semantic-html": { + "title": "Semantic HTML Review", + "intro": [ + "Before you are quizzed on semantic HTML, you first need to review the concepts.", + "Open up this page to review the em, strong, blockquote, address and more semantic HTML elements." + ] + }, + "quiz-semantic-html": { + "title": "Semantic HTML Quiz", + "intro": [ + "The following quiz will test your knowledge on semantic HTML concepts you have learned so far.", + "If you're getting ready for the exam, there are several quiz sets available for practice. After completing a quiz, you can revisit this page to access a new set of questions." + ] + } + } + }, + "html-and-accessibility": { + "title": "Learn HTML and Accessibility", + "summary": [ + "Learn how to write inclusive HTML using accessibility best practices and ARIA." + ], + "intro": [ + "Practice writing accessible HTML structures and form experiences." + ], + "blocks": { + "lecture-importance-of-accessibility-and-good-html-structure": { + "title": "Importance of Accessibility and Good HTML Structure", + "intro": [ + "In these lessons, you will learn about accessibility and its importance, assistive tools for people with disabilities, HTML attributes that let you create inclusive websites, accessibility best practices, and much more." + ] + }, + "workshop-debug-coding-journey-blog-page": { + "title": "Debug a Coding Journey Blog Page", + "intro": [ + "In this workshop, you will debug and fix accessibility errors in a coding blog page." + ] + }, + "lecture-accessible-tables-forms": { + "title": "Working with Accessible Tables and Forms", + "intro": [ + "In these lessons, you will learn about how to create accessible tables and forms." + ] + }, + "workshop-tech-conference-schedule": { + "title": "Build a Tech Conference Schedule Table", + "intro": [ + "In this workshop, you will build an accessible tech conference schedule table." + ] + }, + "lab-debug-donation-form": { + "title": "Debug a Donation Form", + "intro": [ + "In this lab you will debug a donation form by fixing HTML syntax errors and improving accessibility." + ] + }, + "lecture-introduction-to-aria": { + "title": "Introduction to ARIA", + "intro": [ + "In these lectures, you will learn about working with ARIA roles." + ] + }, + "workshop-accessible-audio-controller": { + "title": "Build an Accessible Audio Controller", + "intro": [ + "In this workshop, you will practice accessible HTML by building an audio controller that uses the aria-labelledby attribute." + ] + }, + "lecture-accessible-media-elements": { + "title": "Working with Accessible Media Elements", + "intro": [ + "In these lectures, you will learn about how to create accessible links, audio and video content." + ] + }, + "lab-checkout-page": { + "title": "Build a Checkout Page", + "intro": [ + "In this lab, you'll create an accessible checkout page.", + "You'll practice concepts like alt attributes and ARIA roles." + ] + }, + "lab-movie-review-page": { + "title": "Design a Movie Review Page", + "intro": [ + "In this lab, you'll create a movie review page.", + "You'll practice concepts like semantic HTML, alt attributes, accessible lists, and hiding decorative content from screen readers using aria-hidden." + ] + }, + "lab-multimedia-player": { + "title": "Build a Multimedia Player", + "intro": [ + "In this lab, you'll build a multimedia player.", + "You will practice working with the audio and video elements, the controls attribute, and the aria-label attribute." + ] + }, + "review-html-accessibility": { + "title": "HTML Accessibility Review", + "intro": [ + "Before you are quizzed on HTML and accessibility, you first need to review the concepts.", + "Open up this page to review concepts including the aria-hidden, aria-describedby, tabindex attributes and more." + ] + }, + "quiz-html-accessibility": { + "title": "HTML Accessibility Quiz", + "intro": [ + "The following quiz will test your knowledge on the accessibility concepts you have learned so far.", + "If you're getting ready for the exam, there are several quiz sets available for practice. After completing a quiz, you can revisit this page to access a new set of questions." + ] + } + } + }, + "computer-basics": { + "title": "Learn Computer Basics", + "summary": [ + "Build a foundation in computer, internet, and tooling basics for web development." + ], + "intro": [ + "Get comfortable with the tools and concepts that power modern web development." + ], + "blocks": { + "lecture-understanding-computer-internet-and-tooling-basics": { + "title": "Understanding Computer, Internet, and Tooling Basics", + "intro": [ + "In these lessons, you will learn about computers and their different parts, how to work safely with a keyboard and mouse, how to sign into your computer securely, internet service providers (ISPs), and the tools professional developers use." + ] + }, + "lecture-working-with-file-systems": { + "title": "Working with File Systems", + "intro": [ + "In these lessons, you will learn how to work with file and folder systems on your computers. You will learn how to create, move, and delete files and folders, the best practices for naming and organizing files and folders, and more." + ] + }, + "lecture-browsing-the-web-effectively": { + "title": "Browsing the Web Effectively", + "intro": [ + "In these lessons, you will learn about what websites, search engine, and web browsers are, the different browsers available, and how to get the best out of a search engine." + ] + }, + "review-computer-basics": { + "title": "Computer Basics Review", + "intro": [ + "Before you are quizzed on basic computer and internet concepts, you first need to review.", + "Open up this page to review concepts like RAM, Internet service providers, common web browsers, search engines and more." + ] + }, + "quiz-computer-basics": { + "title": "Computer Basics Quiz", + "intro": [ + "Test what you've learned in this quiz of basic computer knowledge." + ] + } + } + }, + "basic-css": { + "title": "Learn Basic CSS", + "summary": [ + "Learn core CSS concepts and start styling real-world layouts." + ], + "intro": [ + "Learn the fundamentals of CSS and apply them to practical layouts." + ], + "blocks": { + "lecture-what-is-css": { + "title": "What Is CSS?", + "intro": [ + "The following lessons are all about CSS. You will learn what CSS is and its role on the web, a CSS rule and its anatomy, the three ways to write CSS and when to use each, inline and block elements, and many more." + ] + }, + "workshop-cafe-menu": { + "title": "Design a Cafe Menu", + "intro": [ + "CSS tells the browser how to display your webpage. You can use CSS to set the color, font, size, and other aspects of HTML elements.", + "In this workshop, you'll learn CSS by designing a menu page for a cafe." + ] + }, + "lab-business-card": { + "title": "Design a Business Card", + "intro": [ + "In this lab, you'll create a business card and style it using CSS.", + "You'll practice style properties like color, font-size, text-align, and more." + ] + }, + "lecture-css-specificity-the-cascade-algorithm-and-inheritance": { + "title": "CSS Specificity, the Cascade Algorithm, and Inheritance", + "intro": [ + "In these lessons, you will learn about CSS specificity, the common selectors and their specificities, the cascade algorithm, inheritance, and more." + ] + }, + "review-basic-css": { + "title": "CSS Fundamentals Review", + "intro": [ + "Before you are quizzed on basic CSS concepts, you first need to review.", + "Open up this page to review concepts including margin, padding, CSS combinators, CSS specificity and more." + ] + }, + "quiz-basic-css": { + "title": "CSS Fundamentals Quiz", + "intro": [ + "Test what you've learned in this quiz of basic CSS knowledge." + ] + }, + "lecture-styling-lists-and-links": { + "title": "Styling Lists and Links", + "intro": [ + "In these lessons, you will learn the properties you need to know to effectively style lists and links, including link states like link, visited, hover, and active." + ] + }, + "lab-stylized-to-do-list": { + "title": "Build a Stylized To-Do List", + "intro": [ + "In this lab, you'll build a To-Do list and apply different styles to the links", + "You'll practice style properties like text-decoration, list-style-type and how to change styles on hover or click." + ] + }, + "lecture-working-with-backgrounds-and-borders": { + "title": "Working with Backgrounds and Borders", + "intro": [ + "In these lessons, you will learn about the properties and values you need to know to style backgrounds and borders of elements, alongside the accessibility considerations for backgrounds." + ] + }, + "lab-blog-post-card": { + "title": "Design a Blog Post Card", + "intro": [ + "In this lab, you'll design a blog post card using HTML and CSS", + "You'll practice concepts like background-color, border-radius, margins, paddings, and more." + ] + }, + "review-css-backgrounds-and-borders": { + "title": "Lists, Links, CSS Background and Borders Review", + "intro": [ + "Before you are quizzed on CSS backgrounds and borders, you first need to review.", + "Open up this page to review concepts including the background-image property, border property and more." + ] + }, + "quiz-css-backgrounds-and-borders": { + "title": "CSS Backgrounds and Borders Quiz", + "intro": [ + "Test what you've learned in this quiz of backgrounds and borders in CSS." + ] + } + } + }, + "design-for-developers": { + "title": "Introduction to UI/UX Design", + "summary": [ + "Explore UI design fundamentals and user-centered design principles for developers." + ], + "intro": [ + "Learn the design principles that help developers build better interfaces." + ], + "blocks": { + "lecture-user-interface-design-fundamentals": { + "title": "User Interface Design Fundamentals", + "intro": [ + "In these lessons, you will learn about the fundamentals of user interface (UI) design. You will learn about the terms you need to know to communicate with designers, visual hierarchy, scaling, alignment, whitespace, and much more." + ] + }, + "lecture-user-centered-design": { + "title": "User-Centered Design", + "intro": [ + "In these lessons, you will learn about best practices for designing user-facing features like dark mode, breadcrumbs, modal dialogs, and much more. You will also learn how to conduct user research, user requirements and testing." + ] + }, + "lecture-common-design-tools": { + "title": "Common Design Tools", + "intro": [ + "In these lessons, you will learn about the common design tools developers should know. You will also learn about design briefs and how developers work with them." + ] + }, + "review-design-fundamentals": { + "title": "Design Fundamentals Review", + "intro": [ + "Before you are quizzed on the design fundamentals you have learned so far, you first need to review.", + "Open up this page to review concepts like user-centered design, scale, alignment, good visual hierarchy and more." + ] + }, + "quiz-design-fundamentals": { + "title": "Design Fundamentals Quiz", + "intro": [ + "Test what you've learned in this quiz of UI design fundamentals." + ] + } + } + }, + "absolute-and-relative-units": { + "title": "Learn Absolute and Relative Units in CSS", + "summary": [ + "Understand when to use absolute and relative CSS units to build flexible layouts." + ], + "intro": ["Learn to size elements responsively with CSS units."], + "blocks": { + "lecture-working-with-relative-and-absolute-units": { + "title": "Working with Relative and Absolute Units", + "intro": [ + "In these lessons, you will learn about relative and absolute units, and how they both impact what you see in the browser." + ] + }, + "lab-event-flyer-page": { + "title": "Build an Event Flyer Page", + "intro": [ + "In this lab, you'll create an event flyer page.", + "You will practice aligning elements using absolute and relative CSS." + ] + }, + "review-css-relative-and-absolute-units": { + "title": "CSS Relative and Absolute Units Review", + "intro": [ + "Before you are quizzed on relative and absolute units, you first need to review.", + "Open up this page to review concepts like percentages, px, rem, em, and more." + ] + }, + "quiz-css-relative-and-absolute-units": { + "title": "CSS Relative and Absolute Units Quiz", + "intro": [ + "Test what you've learned in this quiz of relative and absolute units in CSS." + ] + } + } + }, + "pseudo-classes-and-elements": { + "title": "Learn CSS Pseudo Classes and Elements", + "summary": [ + "Use pseudo-classes and pseudo-elements to create richer, more interactive styles." + ], + "intro": [ + "Add interaction and detail with CSS pseudo-classes and pseudo-elements." + ], + "blocks": { + "lecture-working-with-pseudo-classes-and-pseudo-elements-in-css": { + "title": "Working with Pseudo-Classes and Pseudo-Elements in CSS", + "intro": [ + "In these lessons, you will learn about pseudo-classes and pseudo-elements, alongside their examples and how they work." + ] + }, + "workshop-greeting-card": { + "title": "Design a Greeting Card", + "intro": [ + "In the previous lessons, you learned how to work with the different types of pseudo-classes.", + "In this workshop, you will have a chance to practice what you have learned by designing a greeting card." + ] + }, + "workshop-parent-teacher-conference-form": { + "title": "Design a Parent Teacher Conference Form", + "intro": [ + "In this workshop, you will practice how to style radio buttons with different types of pseudo-selectors by building a parent-teacher conference form.", + "You'll practice concepts including the ::before pseudo-element selector, the transform property, and more." + ] + }, + "lab-job-application-form": { + "title": "Build a Job Application Form", + "intro": [ + "In this lab you'll build a job application form and style it using pseudo-classes.", + "You'll practice concepts like :hover, :active, :focus, and more." + ] + }, + "review-css-pseudo-classes": { + "title": "CSS Pseudo-classes Review", + "intro": [ + "Before you're quizzed on CSS pseudo-classes and pseudo-elements, you should review what you've learned about them.", + "Open up this page to review concepts like the ::before and ::after pseudo-elements as well as the :hover, :active pseudo-classes and more." + ] + }, + "quiz-css-pseudo-classes": { + "title": "CSS Pseudo-classes Quiz", + "intro": ["Test your knowledge of CSS pseudo-classes with this quiz."] + } + } + }, + "css-colors": { + "title": "Learn CSS Colors", + "summary": [ + "Work with CSS color formats and build cohesive color palettes." + ], + "intro": ["Learn to apply color with CSS to create polished visuals."], + "blocks": { + "lecture-working-with-colors-in-css": { + "title": "Working with Colors in CSS", + "intro": [ + "In these lessons, you will learn about linear and radial gradients, the color theory, different kinds of colors like named, RGB, Hex, and HSL colors. You will learn how these colors work, and which to use in specific cases." + ] + }, + "workshop-colored-markers": { + "title": "Build a Set of Colored Markers", + "intro": [ + "In this workshop, you'll build a set of colored markers. You'll practice different ways to set color values and how to pair colors with each other." + ] + }, + "lab-colored-boxes": { + "title": "Design a Set of Colored Boxes", + "intro": [ + "In this lab, you'll create a color grid and practice adding background colors to the grid items using hex codes, RGB, and predefined color names." + ] + }, + "review-css-colors": { + "title": "CSS Colors Review", + "intro": [ + "Before you're quizzed on CSS colors, you should review what you've learned about them.", + "Open up this page to review concepts like the rgb() function, hsl() function, hex codes, and more." + ] + }, + "quiz-css-colors": { + "title": "CSS Colors Quiz", + "intro": ["Test your knowledge of CSS colors with this quiz."] + } + } + }, + "styling-forms": { + "title": "Learn How to Style Forms Using CSS", + "summary": ["Apply CSS techniques to create clean, usable form layouts."], + "intro": ["Style form elements to improve usability and visual clarity."], + "blocks": { + "lecture-best-practices-for-styling-forms": { + "title": "Best Practices for Styling Forms", + "intro": [ + "In these lessons, you will learn about the best practices for styling forms and issues you can encounter while styling special inputs like color and datetime-local." + ] + }, + "workshop-registration-form": { + "title": "Design a Registration Form", + "intro": [ + "In this workshop, you'll learn how to design HTML forms by designing a signup page. You'll learn how to control what types of data people can type into your form, and some new CSS tools for styling your page." + ] + }, + "lab-contact-form": { + "title": "Design a Contact Form", + "intro": [ + "In this lab, you'll design a contact form in HTML and style it using CSS." + ] + }, + "workshop-game-settings-panel": { + "title": "Build a Game Settings Panel", + "intro": [ + "In this workshop, you will practice styling checkboxes by building a game settings panel." + ] + }, + "lab-feature-selection": { + "title": "Design a Feature Selection Page", + "intro": [ + "In this lab, you'll build a feature selection page with custom-styled checkboxes.", + "You'll create feature cards with labels and checkboxes, then give custom styling to the checkboxes." + ] + }, + "review-styling-forms": { + "title": "Styling Forms Review", + "intro": [ + "Before you're quizzed on styling forms, you should review what you've learned.", + "Open up this page to review how to style form inputs, working with appearance: none and more." + ] + }, + "quiz-styling-forms": { + "title": "Styling Forms Quiz", + "intro": [ + "In this quiz, you will test your knowledge of how to style forms." + ] + } + } + }, + "css-box-model": { + "title": "Learn the CSS Box Model", + "summary": [ + "Master the CSS box model, spacing, and layout effects for precise designs." + ], + "intro": ["Learn how spacing, borders, and layout effects work together."], + "blocks": { + "lecture-working-with-css-transforms-overflow-and-filters": { + "title": "Working with CSS Transforms, Overflow, and Filters", + "intro": [ + "In these lessons, you will learn about working with CSS transforms, overflow, and filters. You will also learn about the box model and how it works." + ] + }, + "workshop-rothko-painting": { + "title": "Design a Rothko Painting", + "intro": [ + "Every HTML element is its own box – with its own spacing and a border. This is called the Box Model.", + "In this workshop, you'll use CSS and the Box Model to create your own Rothko-style rectangular art pieces." + ] + }, + "lab-confidential-email-page": { + "title": "Build a Confidential Email Page", + "intro": [ + "In this lab, you'll create a web page using HTML and mask the content using CSS properties." + ] + }, + "review-css-layout-and-effects": { + "title": "CSS Layouts and Effects Review", + "intro": [ + "Before you are quizzed on CSS Layouts and Effects, you first need to review.", + "Open up this page to review concepts like the transform property, the box model, the overflow property and more." + ] + }, + "quiz-css-layout-and-effects": { + "title": "CSS Layout and Effects Quiz", + "intro": [ + "In this quiz, you will test your knowledge of the box model, transforms, filters, and overflow in CSS." + ] + } + } + }, + "css-flexbox": { + "title": "Learn CSS Flexbox", + "summary": [ + "Build responsive layouts using the Flexbox model and alignment tools." + ], + "intro": ["Use Flexbox to build responsive, aligned layouts."], + "blocks": { + "lecture-working-with-css-flexbox": { + "title": "Working with CSS Flexbox", + "intro": [ + "In these lessons, you will learn how CSS flexbox works, its properties, and when you should use it." + ] + }, + "workshop-flexbox-photo-gallery": { + "title": "Build a Flexbox Photo Gallery", + "intro": [ + "In this workshop, you'll use Flexbox to build a responsive photo gallery webpage." + ] + }, + "workshop-colorful-boxes": { + "title": "Design a Set of Colorful Boxes", + "intro": [ + "In this workshop, you will practice working with CSS flexbox by designing a set of colored boxes." + ] + }, + "lab-pricing-plans-layout": { + "title": "Build a Pricing Plans Layout", + "intro": [ + "In this lab, you'll create a pricing plans layout.", + "You'll practice aligning elements using flexbox properties like flex-direction, justify-content, align-self, and more." + ] + }, + "lab-page-of-playing-cards": { + "title": "Build a Page of Playing Cards", + "intro": [ + "In this lab, you'll use flexbox to create a webpage of playing cards.", + "You'll practice aligning elements using flexbox properties like flex-direction, justify-content, align-self, and more." + ] + }, + "review-css-flexbox": { + "title": "CSS Flexbox Review", + "intro": [ + "Before you're quizzed on CSS flexbox, you should review what you've learned.", + "Open up this page to review concepts like the flex-direction, justify-content, align-items, flex-wrap properties, and more." + ] + }, + "quiz-css-flexbox": { + "title": "CSS Flexbox Quiz", + "intro": ["Test what you've learned on CSS flexbox with this quiz."] + } + } + }, + "css-typography": { + "title": "Learn CSS Typography", + "summary": [ + "Learn how to style text for readability, hierarchy, and visual balance." + ], + "intro": ["Use typography to improve readability and visual hierarchy."], + "blocks": { + "lecture-working-with-css-fonts": { + "title": "Working with CSS Fonts", + "intro": [ + "In these lessons, you will learn about typography and its best practices, fonts, and the text-shadow property." + ] + }, + "workshop-nutritional-label": { + "title": "Build a Nutritional Label", + "intro": [ + "Typography is the art of styling your text to be easily readable and suit its purpose.", + "In this workshop, you'll use typography to build a nutrition label webpage. You'll practice how to style text, adjust line height, and position your text using CSS." + ] + }, + "lab-newspaper-article": { + "title": "Build a Newspaper Article", + "intro": [ + "In this lab, you'll build a newspaper article page using HTML and CSS.", + "You'll style the fonts using properties like font-family, font-size, font-weight, and more." + ] + }, + "review-css-typography": { + "title": "CSS Typography Review", + "intro": [ + "Before you're quizzed on the fundamentals of typography, you should review what you've learned.", + "Open up this page to review concepts like web safe fonts, the font-family property and more." + ] + }, + "quiz-css-typography": { + "title": "CSS Typography Quiz", + "intro": ["Test your knowledge of typography with this quiz."] + } + } + }, + "css-and-accessibility": { + "title": "Learn CSS and Accessibility", + "summary": [ + "Apply CSS techniques that support accessible and inclusive interfaces." + ], + "intro": ["Design with accessibility in mind while styling UI elements."], + "blocks": { + "lecture-best-practices-for-accessibility-and-css": { + "title": "Best Practices for Accessibility and CSS", + "intro": [ + "In these lessons, you will learn about best practices for accessibility in CSS, and the tools for checking good color contrast on websites." + ] + }, + "workshop-accessibility-quiz": { + "title": "Build a Quiz Webpage", + "intro": [ + "Accessibility is the process of making your webpages usable for everyone, including people with disabilities.", + "In this workshop, you'll build a quiz webpage. You'll learn accessibility tools such as keyboard shortcuts, ARIA attributes, and design best practices." + ] + }, + "lab-tribute-page": { + "title": "Build a Tribute Page", + "intro": [ + "In this lab, you'll build a tribute page for a subject of your choosing, fictional or real." + ] + }, + "review-css-accessibility": { + "title": "CSS Accessibility Review", + "intro": [ + "Before you're quizzed on CSS and accessibility, you should review what you've learned.", + "Open up this page to review concepts like color contrast tools and accessibility best practices." + ] + }, + "quiz-css-accessibility": { + "title": "CSS Accessibility Quiz", + "intro": [ + "In this quiz, you'll test what you've learned about making your webpages accessible with CSS." + ] + } + } + }, + "css-positioning": { + "title": "Learn CSS Positioning", + "summary": [ + "Use positioning and floats to control layout and element flow." + ], + "intro": ["Control layout with floats and CSS positioning tools."], + "blocks": { + "lecture-understanding-how-to-work-with-floats-and-positioning-in-css": { + "title": "Understanding How to Work with Floats and Positioning in CSS", + "intro": [ + "In these lessons, you will learn how to use CSS positioning and floats. You will learn about absolute, relative, fixed, and sticky positioning. You will also use the z-index property." + ] + }, + "workshop-cat-painting": { + "title": "Build a Cat Painting", + "intro": [ + "Mastering CSS positioning is essential for creating visually appealing and responsive web layouts.", + "In this workshop, you will build a cat painting. You'll learn about how to work with absolute positioning, the z-index property, and the transform property." + ] + }, + "lab-house-painting": { + "title": "Build a House Painting", + "intro": [ + "In this lab, you'll build a house painting using CSS.", + "You'll design individual elements of the house and position them using CSS properties like position, top, left, and more." + ] + }, + "review-css-positioning": { + "title": "CSS Positioning Review", + "intro": [ + "Before you're quizzed on the fundamentals of CSS positioning, you should review what you've learned.", + "Open up this page to review concepts like floats, relative positioning, absolute positioning and more." + ] + }, + "quiz-css-positioning": { + "title": "CSS Positioning Quiz", + "intro": ["Test your knowledge of CSS positioning with this quiz."] + } + } + }, + "attribute-selectors": { + "title": "Learn CSS Attribute Selectors", + "summary": ["Target elements precisely with CSS attribute selectors."], + "intro": ["Select elements with precision using attribute selectors."], + "blocks": { + "lecture-working-with-attribute-selectors": { + "title": "Working with Attribute Selectors", + "intro": [ + "In these lessons, you will learn about attribute selectors and how to use them to target elements like links and lists." + ] + }, + "workshop-balance-sheet": { + "title": "Build a Balance Sheet", + "intro": [ + "In this workshop, you'll build a balance sheet using pseudo selectors. You'll learn how to change the style of an element when you hover over it with your mouse, and trigger other events on your webpage." + ] + }, + "lab-book-inventory-app": { + "title": "Build a Book Inventory App", + "intro": [ + "In this lab, you'll create a book inventory app.", + "You'll practice CSS attribute selectors like [attribute], [attribute=value], [attribute~=value], and more." + ] + }, + "review-css-attribute-selectors": { + "title": "CSS Attribute Selectors Review", + "intro": [ + "Before you're quizzed on the fundamentals of CSS attribute selectors, you should review what you've learned about them.", + "Open up this page to review concepts like how to work with different attribute selectors that target links with the href and title attributes." + ] + }, + "quiz-css-attribute-selectors": { + "title": "CSS Attribute Selectors Quiz", + "intro": [ + "Test your knowledge of CSS attribute selectors with this quiz." + ] + } + } + }, + "responsive-design": { + "title": "Learn Responsive Design", + "summary": [ + "Learn responsive design principles and build layouts that adapt to any screen." + ], + "intro": ["Make layouts adapt to different screen sizes and devices."], + "blocks": { + "lecture-best-practices-for-responsive-web-design": { + "title": "Best Practices for Responsive Web Design", + "intro": [ + "In these lessons, you will learn about the best practices for responsive web design, the roles concepts like grid, flexbox, media queries, and media breakpoints play in responsive design, and more." + ] + }, + "workshop-piano": { + "title": "Design a Piano", + "intro": [ + "Responsive Design tells your webpage how it should look on different-sized screens.", + "In this workshop, you'll use CSS and responsive design to code a piano. You'll also practice media queries and pseudo selectors." + ] + }, + "lab-technical-documentation-page": { + "title": "Build a Technical Documentation Page", + "intro": [ + "In this lab, you'll build a technical documentation page to serve as instruction or reference for a topic.", + "You'll also practice media queries to create a responsive design." + ] + }, + "review-responsive-web-design": { + "title": "Responsive Web Design Review", + "intro": [ + "Before you're quizzed on the fundamentals of responsive design, you should review what you've learned.", + "Open up this page to review concepts like media queries, media breakpoints and mobile first approach design." + ] + }, + "quiz-responsive-web-design": { + "title": "Responsive Web Design Quiz", + "intro": [ + "Test what you've learned about making your webpages responsive with this quiz." + ] + } + } + }, + "css-variables": { + "title": "Learn CSS Variables", + "summary": ["Use CSS variables to build reusable, theme-friendly styles."], + "intro": ["Create maintainable styles using CSS custom properties."], + "blocks": { + "lecture-working-with-css-variables": { + "title": "Working with CSS Variables", + "intro": [ + "In these lessons, you will learn how to define and use custom properties (also known as CSS variables). You will also learn about the @property rule and how it works." + ] + }, + "workshop-city-skyline": { + "title": "Build a City Skyline", + "intro": [ + "CSS variables help you organize your styles and reuse them.", + "In this workshop, you'll build a city skyline. You'll practice how to configure CSS variables so you can reuse them whenever you want." + ] + }, + "lab-availability-table": { + "title": "Build an Availability Table", + "intro": [ + "For this lab, you'll create an availability table that shows the availability of people for a meeting.", + "You'll practice using CSS variables to store and reuse colors, fonts, and other styles." + ] + }, + "review-css-variables": { + "title": "CSS Variables Review", + "intro": [ + "Before you're quizzed on the fundamentals of CSS variables, you should review what you've learned.", + "Open up this page to review how to work with CSS custom properties (CSS variables) and the @property rule." + ] + }, + "quiz-css-variables": { + "title": "CSS Variables Quiz", + "intro": ["Test your knowledge of CSS variables with this quiz."] + } + } + }, + "css-grid": { + "title": "Learn CSS Grid", + "summary": ["Design complex layouts using the CSS Grid system."], + "intro": ["Build multi-dimensional layouts with CSS Grid."], + "blocks": { + "lecture-working-with-css-grid": { + "title": "Working with CSS Grid", + "intro": [ + "In these lessons, you will learn about CSS grid, its several properties and how to use them, and how CSS grid differs from flexbox." + ] + }, + "workshop-magazine": { + "title": "Build a Magazine", + "intro": [ + "CSS Grid gives you control over the rows and columns of your webpage design.", + "In this workshop, you'll build a magazine article. You'll practice how to use CSS Grid, including concepts like grid rows and grid columns." + ] + }, + "lab-newspaper-layout": { + "title": "Design a Newspaper Layout", + "intro": [ + "In this lab, you will design a newspaper layout using CSS Grid, including concepts like grid rows and grid columns." + ] + }, + "lecture-debugging-css": { + "title": "Debugging CSS", + "intro": [ + "In this lesson, you'll learn how to debug CSS using your browser's developer tools and CSS validators." + ] + }, + "lab-product-landing-page": { + "title": "Build a Product Landing Page", + "intro": [ + "In this project, you'll build a product landing page to market a product of your choice." + ] + }, + "review-css-grid": { + "title": "CSS Grid Review", + "intro": [ + "Before you're quizzed on the fundamentals of CSS Grid, you should review what you've learned.", + "Open up this page to review how to work with the different CSS Grid properties like grid-template-columns, grid-gap and more." + ] + }, + "quiz-css-grid": { + "title": "CSS Grid Quiz", + "intro": ["Test your knowledge of CSS Grid with this quiz."] + } + } + }, + "css-animations": { + "title": "Learn CSS Animations", + "summary": ["Create engaging UI motion with accessible CSS animations."], + "intro": [ + "Add motion with CSS animations while keeping usability in mind." + ], + "blocks": { + "lecture-animations-and-accessibility": { + "title": "Animations and Accessibility", + "intro": [ + "In these lessons, you will learn about CSS animations and their accessibility concerns. You will also learn how prefers-reduced-motion can help address those accessibility concerns." + ] + }, + "workshop-ferris-wheel": { + "title": "Build an Animated Ferris Wheel", + "intro": [ + "You can use CSS animation to draw attention to specific sections of your webpage and make it more engaging.", + "In this workshop, you'll build a Ferris wheel. You'll practice how to use CSS to animate elements, transform them, and adjust their speed." + ] + }, + "lab-moon-orbit": { + "title": "Build a Moon Orbit", + "intro": [ + "In this lab, you'll create an animation of the moon orbiting the earth.", + "You'll practice animation properties like animation-name, animation-duration, animation-timing-function, and more." + ] + }, + "workshop-flappy-penguin": { + "title": "Build a Flappy Penguin", + "intro": [ + "You can transform HTML elements to create appealing designs that draw your reader's eye. You can use transforms to rotate elements, scale them, and more.", + "In this workshop, you'll build a penguin. You'll use CSS transforms to position and resize the parts of your penguin, create a background, and animate your work." + ] + }, + "lab-personal-portfolio": { + "title": "Build a Personal Portfolio", + "intro": [ + "In this project, you'll build your own personal portfolio page." + ] + }, + "review-css-animations": { + "title": "CSS Animations Review", + "intro": [ + "Before you're quizzed on working with CSS animations, you should review what you've learned about them.", + "Open up this page to review concepts including prefers-reduced-motion, the @keyframes rule and more." + ] + }, + "quiz-css-animations": { + "title": "CSS Animations Quiz", + "intro": ["Test your knowledge of CSS animations with this quiz."] + } + } + }, + "dev-playground": { + "title": "Dev Playground", + "intro": ["Playground for creating and testing challenges"], + "blocks": { + "daily-coding-challenges-javascript": { + "title": "Daily Coding Challenges JavaScript", + "intro": ["Place to create JavaScript daily coding challenges."] + }, + "daily-coding-challenges-python": { + "title": "Daily Coding Challenges Python", + "intro": ["Place to create Python daily coding challenges."] + } + } + }, + "full-stack-open": { + "title": "Full-Stack Open", + "intro": ["A good intro is to be added here."], + "blocks": { + "workshop-blog-page": { + "title": "Build a Cat Blog Page", + "intro": [ + "In this workshop, you will build an HTML-only blog page using semantic elements including the main, nav, article, and footer elements." + ] + } + }, + "chapters": { + "part-0": "Fundamentals of Web Apps", + "part-1": "Introduction to React", + "part-2": "Communicating with Servers", + "part-3": "Programming a Server with NodeJS and Express", + "part-4": "Testing Express Servers, User Administration", + "part-5": "Testing React Apps", + "part-6": "Advanced State Management", + "part-7": "React router, custom hooks, styling app with CSS and webpack", + "part-8": "GraphQL", + "part-9": "TypeScript", + "part-10": "React Native", + "part-11": "CI/CD", + "part-12": "Containers", + "part-13": "Using Relational Databases" + }, + "modules": { "basic-html": "Basic HTML" }, + "module-intros": { + "basic-html": { + "title": "Basic HTML", + "intro": [ + "Learn how to build simple webpages using HTML tags to add text, images, and links." + ] + } + } + }, + "daily-coding-challenge": { + "title": "Daily Coding Challenge", + "blocks": { + "daily-coding-challenge": { "title": "Daily Coding Challenge" } + } + }, + "misc-text": { + "browse-other": "Browse our other free certifications", + "courses": "Courses", + "requirements": "Requirements", + "steps": "Steps", + "expand": "Expand course", + "collapse": "Collapse course", + "legacy-header": "Legacy Courses", + "legacy-desc": "These courses are no longer part of the certification path, but are still available for you to further your learning.", + "legacy-go-back": "Go to the current version of the curriculum.", + "course-maintenance": "These courses are undergoing maintenance. If they are not working, you can learn how to run them locally at <0>https://www.freecodecamp.org/news/how-to-run-freecodecamps-relational-databases-curriculum-using-docker-vscode-and-coderoad.", + "course-disabling-soon": "The browser version of these courses will be temporarily disabled soon and your virtual machines will be deleted. Any progress in your virtual machines will be lost. If you have any files you want from them, you should save them to your computer. We apologize for any inconvenience. We hope to have an improved browser version of these courses available again in the next few weeks.", + "course-disabled": "These courses are temporarily unavailable to run in the browser. We apologize for any inconvenience. You can learn how to run them locally at <0>https://www.freecodecamp.org/news/how-to-run-freecodecamps-relational-databases-curriculum-using-docker-vscode-and-coderoad. We hope to have an improved browser version available again soon.", + "run-locally": "For now, we recommend running the courses locally on your computer. You can learn how at <0>https://www.freecodecamp.org/news/how-to-run-freecodecamps-relational-databases-curriculum-using-docker-vscode-and-coderoad.", + "progress-wont-save": "Your progress will not be saved to your freeCodeCamp account when running them locally.", + "go-back-to-learn": "Go back to the stable version of the curriculum.", + "read-database-cert-article": "Please read this forum post before proceeding.", + "enable-cookies": "You must enable third-party cookies before starting.", + "english-only": "The courses in this section are only available in English. We are only able to translate the titles and introductions at the moment, not the lessons themselves.", + "exam-english-only": "Please note that the certification exam is currently available only in English. The rest of the courses are available in some languages." + } +} diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/english/links.json b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/english/links.json new file mode 100644 index 0000000000000000000000000000000000000000..405d44d66b14f877776374af1f432e8a3ada592a --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/english/links.json @@ -0,0 +1,43 @@ +{ + "help-translate-link-url": "https://contribute.freecodecamp.org/getting-started/#translations", + "top-contributors": "https://www.freecodecamp.org/news/freecodecamp-top-contributors/", + "footer": { + "about-url": "https://www.freecodecamp.org/news/about/", + "shop-url": "https://shop.freecodecamp.org/", + "support-url": "https://www.freecodecamp.org/news/support/", + "sponsors-url": "https://www.freecodecamp.org/news/sponsors/", + "honesty-url": "https://www.freecodecamp.org/news/academic-honesty-policy/", + "coc-url": "https://www.freecodecamp.org/news/code-of-conduct/", + "privacy-url": "https://www.freecodecamp.org/news/privacy-policy/", + "tos-url": "https://www.freecodecamp.org/news/terms-of-service/", + "copyright-url": "https://www.freecodecamp.org/news/copyright-policy/" + }, + "donate": { + "other-ways-url": "https://www.freecodecamp.org/news/how-to-donate-to-free-code-camp", + "download-irs-url": "https://cdn.freecodecamp.org/non-profit-docs/freeCodeCamp-determination-letter.pdf", + "download-990-url": "https://cdn.freecodecamp.org/non-profit-docs/freeCodeCamp-2019-f990.pdf", + "one-time-url": "https://paypal.me/freecodecamp", + "one-time-external-url": "https://www.freecodecamp.org/news/how-to-donate-to-free-code-camp/#how-can-i-make-a-one-time-donation", + "mail-check-url": "https://www.freecodecamp.org/news/how-to-donate-to-free-code-camp/#can-i-mail-a-physical-check" + }, + "nav": { + "contribute": "https://contribute.freecodecamp.org/#/", + "forum": "https://forum.freecodecamp.org/", + "news": "https://freecodecamp.org/news/", + "podcast": "https://freecodecamp.libsyn.com/" + }, + "help": { + "HTML-CSS": "curriculum-help", + "JavaScript": "curriculum-help", + "Python": "curriculum-help", + "Backend Development": "curriculum-help", + "C-Sharp": "curriculum-help", + "English": "curriculum-help", + "Spanish Curriculum": "curriculum-help", + "Chinese Curriculum": "curriculum-help", + "Odin": "curriculum-help", + "Euler": "curriculum-help", + "Rosetta": "curriculum-help", + "General": "curriculum-help" + } +} diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/english/meta-tags.json b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/english/meta-tags.json new file mode 100644 index 0000000000000000000000000000000000000000..9ff1ce8ef2720dd97e3bafa3b446ef9d5b0c1448 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/english/meta-tags.json @@ -0,0 +1,32 @@ +{ + "title": "Learn to Code for Free. Coding Courses & Certifications | freeCodeCamp", + "description": "Learn to Code for Free", + "social-description": "Learn to Code for Free", + "keywords": [ + "python", + "javascript", + "js", + "git", + "github", + "website", + "web", + "development", + "free", + "code", + "camp", + "course", + "courses", + "html", + "css", + "react", + "redux", + "api", + "front", + "back", + "end", + "learn", + "tutorial", + "programming" + ], + "youre-unsubscribed": "You have been unsubscribed" +} diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/english/motivation.json b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/english/motivation.json new file mode 100644 index 0000000000000000000000000000000000000000..628e77f4d5f7cb9fcab247d9e4cb932bfc948fac --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/english/motivation.json @@ -0,0 +1,891 @@ +{ + "compliments": [ + "Over the top!", + "Down the rabbit hole we go!", + "Bring that rain!", + "Target acquired.", + "Feel that need for speed!", + "You've got guts!", + "We have liftoff!", + "To infinity and beyond!", + "Encore!", + "Onward!", + "Challenge destroyed!", + "It's on like Donkey Kong!", + "Power level? It's over 9000!", + "Coding spree!", + "Code long and prosper.", + "The crowd goes wild!", + "One for the Guinness book!", + "Flawless victory!", + "Most efficient!", + "You've got the touch!", + "You're on fire!", + "The town is now red!", + "To the nines!", + "To the Batmobile!", + "Pull out all the stops!", + "You're a wizard, Harry!", + "You're an all star!", + "Way to go!", + "Outta sight!", + "You're crushing it!", + "What sorcery is this?", + "The world rejoices!", + "That's the way it's done!", + "You rock!", + "Woo-hoo!", + "We knew you could do it!", + "Hyper Combo Finish!", + "Nothing but net!", + "Boom-shakalaka!", + "You're a shooting star!", + "You're unstoppable!", + "Way cool!", + "Walk on that sunshine!", + "Keep on trucking!", + "Off the charts!", + "There is no spoon!", + "Cranked it up to 11!", + "Escape velocity reached!", + "You make this look easy!", + "Passed with flying colors!", + "You've got this!", + "Happy, happy, joy, joy!", + "Tomorrow, the world!", + "Your powers combined!", + "It's alive. It's alive!", + "Sonic Boom!", + "Here's looking at you, Code!", + "Ride like the wind!", + "Legen - wait for it - dary!", + "Ludicrous Speed! Go!", + "Most triumphant!", + "One loop to rule them all!", + "By the power of Grayskull!", + "You did it!", + "Storm that castle!", + "Face-melting guitar solo!", + "Checkmate!", + "Bodacious!", + "Tubular!", + "You're outta sight!", + "Keep calm and code on!", + "Even sad panda smiles!", + "Even grumpy cat approves!", + "Kool Aid Man says oh yeah!", + "Bullseye!", + "Far out!", + "You're heating up!", + "Standing ovation!", + "Nice one!", + "All right!", + "Hasta la vista, challenge!", + "Terminated.", + "Off the hook!", + "Thundercats, Hooo!", + "Shiver me timbers!", + "Raise the roof!", + "Bingo!", + "Even Honey Badger cares!", + "Helm, Warp Nine. Engage!", + "Gotta code 'em all!", + "Spool up the FTL drive!", + "Cool beans!", + "They're in another castle.", + "Power UP!", + "Pikachu chooses you!", + "I gotta have more cowbell.", + "Gotta go fast!", + "Yippee!", + "Cowabunga!", + "Moon Prism Power!", + "Plus Ultra!", + "Everything's coming up Milhouse!", + "King of the Pirates!", + "Thunder Breathing First Form!", + "It's time to duel!", + "You better believe it!", + "Do a barrel roll!", + "You can do this all day!", + "It's super effective!", + "This is the way!", + "You're king of the world!", + "It's morphin' time!", + "Just keep swimming!", + "You are the one who knocks!", + "Inconceivable!", + "Great Scott!", + "By Grabthar's hammer!", + "Get to the choppa!", + "It's clobberin' time!", + "Somebody stop me!", + "Oh, hi Mark!", + "Groovy!", + "The Dude abides!", + "Are you not entertained?", + "There can be only one!", + "You are the danger!", + "You know kung fu!", + "Elementary, my dear Watson!", + "Maximum effort!" + ], + "motivationalQuotes": [ + { + "quote": "Whatever you are, be a good one.", + "author": "Abraham Lincoln" + }, + { + "quote": "A change in perspective is worth 80 IQ points.", + "author": "Alan Kay" + }, + { + "quote": "The best way to predict the future is to invent it.", + "author": "Alan Kay" + }, + { + "quote": "The future is not laid out on a track. It is something that we can decide, and to the extent that we do not violate any known laws of the universe, we can probably make it work the way that we want to.", + "author": "Alan Kay" + }, + { + "quote": "We can only see a short distance ahead, but we can see plenty there that needs to be done.", + "author": "Alan Turing" + }, + { + "quote": "In the depth of winter, I finally learned that within me there lay an invincible summer.", + "author": "Albert Camus" + }, + { + "quote": "A person who never made a mistake never tried anything new.", + "author": "Albert Einstein" + }, + { + "quote": "Creativity is intelligence having fun.", + "author": "Albert Einstein" + }, + { + "quote": "I have no special talents. I am only passionately curious.", + "author": "Albert Einstein" + }, + { + "quote": "Life is like riding a bicycle. To keep your balance, you must keep moving.", + "author": "Albert Einstein" + }, + { + "quote": "Make everything as simple as possible, but not simpler.", + "author": "Albert Einstein" + }, + { + "quote": "Never memorize something that you can look up.", + "author": "Albert Einstein" + }, + { + "quote": "Once we accept our limits, we go beyond them.", + "author": "Albert Einstein" + }, + { + "quote": "Play is the highest form of research.", + "author": "Albert Einstein" + }, + { + "quote": "We cannot solve our problems with the same thinking we used when we created them.", + "author": "Albert Einstein" + }, + { + "quote": "Wisdom is not a product of schooling but of the lifelong attempt to acquire it.", + "author": "Albert Einstein" + }, + { + "quote": "Your imagination is your preview of life's coming attractions.", + "author": "Albert Einstein" + }, + { + "quote": "There is only one corner of the universe you can be certain of improving, and that's your own self.", + "author": "Aldous Huxley" + }, + { + "quote": "I am thankful for my struggle because, without it, I wouldn't have stumbled across my strength.", + "author": "Alex Elle" + }, + { + "quote": "The most common way people give up their power is by thinking they don't have any.", + "author": "Alice Walker" + }, + { + "quote": "Follow your inner moonlight. Don't hide the madness.", + "author": "Allen Ginsberg" + }, + { + "quote": "The most difficult thing is the decision to act. The rest is merely tenacity.", + "author": "Amelia Earhart" + }, + { + "quote": "Life shrinks or expands in proportion with one's courage.", + "author": "Anaïs Nin" + }, + { + "quote": "Weeks of programming can save you hours of planning.", + "author": "Unknown" + }, + { + "quote": "Quality is not an act, it is a habit.", + "author": "Aristotle" + }, + { + "quote": "Start where you are. Use what you have. Do what you can.", + "author": "Arthur Ashe" + }, + { + "quote": "Nothing is impossible, the word itself says 'I'm possible'!", + "author": "Audrey Hepburn" + }, + { + "quote": "Every strike brings me closer to the next home run.", + "author": "Babe Ruth" + }, + { + "quote": "By failing to prepare, you are preparing to fail.", + "author": "Benjamin Franklin" + }, + { + "quote": "Tell me and I forget. Teach me and I remember. Involve me and I learn.", + "author": "Benjamin Franklin" + }, + { + "quote": "Well done is better than well said.", + "author": "Benjamin Franklin" + }, + { + "quote": "There are no short cuts to any place worth going.", + "author": "Beverly Sills" + }, + { + "quote": "Controlling complexity is the essence of computer programming.", + "author": "Brian Kernighan" + }, + { + "quote": "I fear not the man who has practiced 10,000 kicks once, but I fear the man who has practiced one kick 10,000 times.", + "author": "Bruce Lee" + }, + { + "quote": "There are far, far better things ahead than any we leave behind.", + "author": "C.S. Lewis" + }, + { + "quote": "We are what we believe we are.", + "author": "C.S. Lewis" + }, + { + "quote": "With the possible exception of the equator, everything begins somewhere.", + "author": "C.S. Lewis" + }, + { + "quote": "You are never too old to set another goal, or to dream a new dream.", + "author": "C.S. Lewis" + }, + { + "quote": "Somewhere, something incredible is waiting to be known.", + "author": "Carl Sagan" + }, + { + "quote": "When you have a dream, you've got to grab it and never let go.", + "author": "Carol Burnett" + }, + { + "quote": "If you're not making mistakes, then you're not making decisions.", + "author": "Catherine Cook" + }, + { + "quote": "Find what you love and let it kill you.", + "author": "Charles Bukowski" + }, + { + "quote": "What matters most is how well you walk through the fire.", + "author": "Charles Bukowski" + }, + { + "quote": "It is not the strongest of the species that survive, nor the most intelligent, but the one most responsive to change.", + "author": "Charles Darwin" + }, + { + "quote": "The details are not the details. They make the design.", + "author": "Charles Eames" + }, + { + "quote": "Creativity is more than just being different. Anybody can plan weird. That's easy. What's hard is to be as simple as Bach. Making the simple, awesomely simple, that's creativity.", + "author": "Charles Mingus" + }, + { + "quote": "Life is 10% what happens to you and 90% how you react to it.", + "author": "Charles R. Swindoll" + }, + { + "quote": "You will do foolish things, but do them with enthusiasm.", + "author": "Colette" + }, + { + "quote": "It does not matter how slowly you go as long as you do not stop.", + "author": "Confucius" + }, + { + "quote": "Real knowledge is to know the extent of one's ignorance.", + "author": "Confucius" + }, + { + "quote": "The past cannot be changed. The future is yet in your power.", + "author": "Confucius" + }, + { + "quote": "Looking at code you wrote more than two weeks ago is like looking at code you are seeing for the first time.", + "author": "Dan Hurvitz" + }, + { + "quote": "Someday is not a day of the week.", + "author": "Denise Brennan-Nelson" + }, + { + "quote": "UNIX is simple. It just takes a genius to understand its simplicity.", + "author": "Dennis Ritchie" + }, + { + "quote": "The way I see it, if you want the rainbow, you gotta put up with the rain!", + "author": "Dolly Parton" + }, + { + "quote": "Computers are good at following instructions, but not at reading your mind.", + "author": "Donald Knuth" + }, + { + "quote": "A good programmer is someone who always looks both ways before crossing a one-way street.", + "author": "Doug Linder" + }, + { + "quote": "Creativity is a wild mind and a disciplined eye.", + "author": "Dorothy Parker" + }, + { + "quote": "Tough times never last, but tough people do.", + "author": "Dr. Robert Schuller" + }, + { + "quote": "If things start happening, don't worry, don't stew, just go right along and you'll start happening too.", + "author": "Dr. Seuss" + }, + { + "quote": "Do not go gentle into that good night. Rage, rage against the dying of the light.", + "author": "Dylan Thomas" + }, + { + "quote": "The question of whether computers can think is like the question of whether submarines can swim.", + "author": "E.W. Dijkstra" + }, + { + "quote": "Any code of your own that you haven't looked at for six or more months might as well have been written by someone else.", + "author": "Eagleson's Law" + }, + { + "quote": "Do one thing every day that scares you.", + "author": "Eleanor Roosevelt" + }, + { + "quote": "With the new day comes new strength and new thoughts.", + "author": "Eleanor Roosevelt" + }, + { + "quote": "You must do the things you think you cannot do.", + "author": "Eleanor Roosevelt" + }, + { + "quote": "Light tomorrow with today.", + "author": "Elizabeth Barrett Browning" + }, + { + "quote": "If your dreams do not scare you, they are not big enough.", + "author": "Ellen Johnson Sirleaf" + }, + { + "quote": "Forever is composed of nows.", + "author": "Emily Dickinson" + }, + { + "quote": "Computer science education cannot make anybody an expert programmer any more than studying brushes and pigment can make somebody an expert painter.", + "author": "Eric Raymond" + }, + { + "quote": "If you don't risk anything, you risk even more.", + "author": "Erica Jong" + }, + { + "quote": "The world breaks everyone, and afterward, many are strong at the broken places.", + "author": "Ernest Hemingway" + }, + { + "quote": "There is nothing noble in being superior to your fellow man; true nobility is being superior to your former self.", + "author": "Ernest Hemingway" + }, + { + "quote": "Never confuse a single defeat with a final defeat.", + "author": "F. Scott Fitzgerald" + }, + { + "quote": "I attribute my success to this - I never gave or took any excuse.", + "author": "Florence Nightingale" + }, + { + "quote": "The best revenge is massive success.", + "author": "Frank Sinatra" + }, + { + "quote": "The only limit to our realization of tomorrow, will be our doubts of today.", + "author": "Franklin D. Roosevelt" + }, + { + "quote": "Right or wrong, it's very pleasant to break something from time to time.", + "author": "Fyodor Dostoevsky" + }, + { + "quote": "The harder I work, the luckier I get.", + "author": "Gary Player" + }, + { + "quote": "Giving up is the only sure way to fail.", + "author": "Gena Showalter" + }, + { + "quote": "The only truly secure system is one that is powered off, cast in a block of concrete and sealed in a lead-lined room with armed guards.", + "author": "Gene Spafford" + }, + { + "quote": "A life spent making mistakes is not only more honorable, but more useful than a life spent doing nothing.", + "author": "George Bernard Shaw" + }, + { + "quote": "First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack.", + "author": "George Carrette" + }, + { + "quote": "Discovering the unexpected is more important than confirming the known.", + "author": "George Box" + }, + { + "quote": "We only see what we know.", + "author": "Goethe" + }, + { + "quote": "Without hard work, nothing grows but weeds.", + "author": "Gordon B. Hinckley" + }, + { + "quote": "The function of good software is to make the complex appear to be simple.", + "author": "Grady Booch" + }, + { + "quote": "When you know that you're capable of dealing with whatever comes, you have the only security the world has to offer.", + "author": "Harry Browne" + }, + { + "quote": "Pain is inevitable. Suffering is optional.", + "author": "Haruki Murakami" + }, + { + "quote": "Optimism is the faith that leads to achievement. Nothing can be done without hope and confidence.", + "author": "Helen Keller" + }, + { + "quote": "The price of anything is the amount of life you exchange for it.", + "author": "Henry David Thoreau" + }, + { + "quote": "Whether you think you can or think you can't, you're right.", + "author": "Henry Ford" + }, + { + "quote": "The most exciting phrase to hear in science, the one that heralds discoveries, is not 'Eureka!' but 'Now that's funny…'", + "author": "Isaac Asimov" + }, + { + "quote": "What you do makes a difference. And you have to decide what kind of difference you want to make.", + "author": "Jane Goodall" + }, + { + "quote": "We are all failures. At least the best of us are.", + "author": "J.M. Barrie" + }, + { + "quote": "You can't wait for inspiration. You have to go after it with a club.", + "author": "Jack London" + }, + { + "quote": "Don't wish it were easier, wish you were better.", + "author": "Jim Rohn" + }, + { + "quote": "By seeking and blundering we learn.", + "author": "Johann Wolfgang von Goethe" + }, + { + "quote": "Knowing is not enough; we must apply. Wishing is not enough; we must do.", + "author": "Johann Wolfgang von Goethe" + }, + { + "quote": "We first make our habits, then our habits make us.", + "author": "John Dryden" + }, + { + "quote": "The power of imagination makes us infinite.", + "author": "John Muir" + }, + { + "quote": "May you live every day of your life.", + "author": "Jonathan Swift" + }, + { + "quote": "Perseverance is failing 19 times and succeeding the 20th.", + "author": "Julie Andrews" + }, + { + "quote": "The work of today is the history of tomorrow, and we are its makers.", + "author": "Juliette Gordon Low" + }, + { + "quote": "If you reveal your secrets to the wind, you should not blame the wind for revealing them to the trees.", + "author": "Kahlil Gibran" + }, + { + "quote": "Optimism is an occupational hazard of programming; feedback is the treatment.", + "author": "Kent Beck" + }, + { + "quote": "Opportunity does not knock, it presents itself when you beat down the door.", + "author": "Kyle Chandler" + }, + { + "quote": "To iterate is human, to recurse divine.", + "author": "Peter Deutsch" + }, + { + "quote": "A good traveler has no fixed plans and is not intent on arriving.", + "author": "Lao Tzu" + }, + { + "quote": "An ant on the move does more than a dozing ox.", + "author": "Lao Tzu" + }, + { + "quote": "Do the difficult things while they are easy and do the great things while they are small. A journey of a thousand miles must begin with a single step.", + "author": "Lao Tzu" + }, + { + "quote": "That's the thing about people who think they hate computers. What they really hate is lousy programmers.", + "author": "Larry Niven" + }, + { + "quote": "It had long since come to my attention that people of accomplishment rarely sat back and let things happen to them. They went out and happened to things.", + "author": "Elinor Smith" + }, + { + "quote": "If you're any good at all, you know you can be better.", + "author": "Lindsay Buckingham" + }, + { + "quote": "If people never did silly things, nothing intelligent would ever get done.", + "author": "Ludwig Wittgenstein" + }, + { + "quote": "You only live once, but if you do it right, once is enough.", + "author": "Mae West" + }, + { + "quote": "Live as if you were to die tomorrow. Learn as if you were to live forever.", + "author": "Mahatma Gandhi" + }, + { + "quote": "Strength does not come from physical capacity. It comes from an indomitable will.", + "author": "Mahatma Gandhi" + }, + { + "quote": "One person's 'paranoia' is another person's 'engineering redundancy'.", + "author": "Marcus J. Ranum" + }, + { + "quote": "Nothing in life is to be feared, it is only to be understood. Now is the time to understand more, so that we may fear less.", + "author": "Marie Curie" + }, + { + "quote": "If you have everything under control, you're not moving fast enough.", + "author": "Mario Andretti" + }, + { + "quote": "Education: the path from cocky ignorance to miserable uncertainty.", + "author": "Mark Twain" + }, + { + "quote": "It ain't what you don't know that gets you into trouble. It's what you know for sure that just ain't so.", + "author": "Mark Twain" + }, + { + "quote": "The secret of getting ahead is getting started.", + "author": "Mark Twain" + }, + { + "quote": "The two most important days in your life are the day you are born and the day you find out why.", + "author": "Mark Twain" + }, + { + "quote": "Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do. So throw off the bowlines. Sail away from the safe harbor. Catch the trade winds in your sails.", + "author": "Mark Twain" + }, + { + "quote": "Any fool can write code that a computer can understand. Good programmers write code that humans can understand.", + "author": "Martin Fowler" + }, + { + "quote": "I know, somehow, that only when it is dark enough can you see the stars.", + "author": "Martin Luther King Jr." + }, + { + "quote": "It is never too late to be what you might have been.", + "author": "Mary Anne Evans" + }, + { + "quote": "Nothing will work unless you do.", + "author": "Maya Angelou" + }, + { + "quote": "You can't use up creativity. The more you use, the more you have.", + "author": "Maya Angelou" + }, + { + "quote": "We delight in the beauty of the butterfly, but rarely admit the changes it has gone through to achieve that beauty.", + "author": "Maya Angelou" + }, + { + "quote": "We may encounter many defeats, but we must not be defeated.", + "author": "Maya Angelou" + }, + { + "quote": "Everybody has talent, but ability takes hard work.", + "author": "Michael Jordan" + }, + { + "quote": "I've missed more than 9,000 shots during my career. I've lost almost 300 games. 26 times, I've been trusted to take the game winning shot and missed. I've failed over and over and over again in my life. And that is why I succeed.", + "author": "Michael Jordan" + }, + { + "quote": "Impossible is just a big word thrown around by small men who find it easier to live in the world they've been given than to explore the power they have to change it. Impossible is not a fact. It's an opinion. Impossible is not a declaration. It's a dare. Impossible is potential. Impossible is temporary. Impossible is nothing.", + "author": "Muhammad Ali" + }, + { + "quote": "A winner is a dreamer who never gives up.", + "author": "Nelson Mandela" + }, + { + "quote": "It always seems impossible until it's done.", + "author": "Nelson Mandela" + }, + { + "quote": "Failure will never overtake me if my determination to succeed is strong enough.", + "author": "Og Mandino" + }, + { + "quote": "I am not young enough to know everything.", + "author": "Oscar Wilde" + }, + { + "quote": "There is only one thing that makes a dream impossible to achieve: the fear of failure.", + "author": "Paulo Coelho" + }, + { + "quote": "Never go to bed mad. Stay up and fight.", + "author": "Phyllis Diller" + }, + { + "quote": "You can't cross the sea merely by standing and staring at the water.", + "author": "Rabindranath Tagore" + }, + { + "quote": "The only person you are destined to become is the person you decide to be.", + "author": "Ralph Waldo Emerson" + }, + { + "quote": "What you do speaks so loudly that I cannot hear what you say.", + "author": "Ralph Waldo Emerson" + }, + { + "quote": "People who are crazy enough to think they can change the world, are the ones who do.", + "author": "Rob Siltanen" + }, + { + "quote": "The best way out is always through.", + "author": "Robert Frost" + }, + { + "quote": "Today's accomplishments were yesterday's impossibilities.", + "author": "Robert H. Schuller" + }, + { + "quote": "Don't be satisfied with stories, how things have gone with others. Unfold your own myth.", + "author": "Rumi" + }, + { + "quote": "Forget safety. Live where you fear to live. Destroy your reputation. Be notorious.", + "author": "Rumi" + }, + { + "quote": "Sell your cleverness and buy bewilderment.", + "author": "Rumi" + }, + { + "quote": "The cure for pain is in the pain.", + "author": "Rumi" + }, + { + "quote": "Have no fear of perfection - you'll never reach it.", + "author": "Salvador Dalí" + }, + { + "quote": "Don't watch the clock. Do what it does. Keep going.", + "author": "Sam Levenson" + }, + { + "quote": "Ever Tried. Ever failed. No matter. Try again. Fail again. Fail better.", + "author": "Samuel Beckett" + }, + { + "quote": "The more you know, the more you realize you know nothing.", + "author": "Socrates" + }, + { + "quote": "The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge.", + "author": "Stephen Hawking" + }, + { + "quote": "The universe doesn't allow perfection.", + "author": "Stephen Hawking" + }, + { + "quote": "Whether you want to uncover the secrets of the universe, or you want to pursue a career in the 21st century, basic computer programming is an essential skill to learn.", + "author": "Stephen Hawking" + }, + { + "quote": "The scariest moment is always just before you start.", + "author": "Stephen King" + }, + { + "quote": "You can, you should, and if you're brave enough to start, you will.", + "author": "Stephen King" + }, + { + "quote": "Arise, Awake and Stop not until the goal is reached.", + "author": "Swami Vivekananda" + }, + { + "quote": "It is said that your life flashes before your eyes just before you die. That is true, it's called Life.", + "author": "Terry Pratchett" + }, + { + "quote": "Believe you can and you're halfway there.", + "author": "Theodore Roosevelt" + }, + { + "quote": "I have not failed. I've just found 10,000 ways that won't work.", + "author": "Thomas A. Edison" + }, + { + "quote": "Our greatest weakness lies in giving up. The most certain way to succeed is always to try just one more time.", + "author": "Thomas A. Edison" + }, + { + "quote": "The harder the conflict, the more glorious the triumph.", + "author": "Thomas Paine" + }, + { + "quote": "The Web as I envisaged it, we have not seen it yet. The future is still so much bigger than the past.", + "author": "Tim Berners-Lee" + }, + { + "quote": "Failure is the condiment that gives success its flavor.", + "author": "Truman Capote" + }, + { + "quote": "Those who say it cannot be done should not interrupt the person doing it.", + "author": "Unknown" + }, + { + "quote": "Look at usual things with unusual eyes.", + "author": "Vico Magistetti" + }, + { + "quote": "Even if you fall on your face, you're still moving forward.", + "author": "Victor Kiam" + }, + { + "quote": "It's not whether you get knocked down, it's whether you get up.", + "author": "Vince Lombardi" + }, + { + "quote": "I dream my painting and I paint my dream.", + "author": "Vincent van Gogh" + }, + { + "quote": "Great things are done by a series of small things brought together.", + "author": "Vincent van Gogh" + }, + { + "quote": "Let us cultivate our garden.", + "author": "Voltaire" + }, + { + "quote": "Aim for the moon. If you miss, you may hit a star.", + "author": "W. Clement Stone" + }, + { + "quote": "The way to get started is to quit talking and begin doing.", + "author": "Walt Disney" + }, + { + "quote": "You miss 100% of the shots you don't take.", + "author": "Wayne Gretzky" + }, + { + "quote": "Don't let yesterday take up too much of today.", + "author": "Will Rogers" + }, + { + "quote": "Even if you're on the right track, you'll get run over if you just sit there.", + "author": "Will Rogers" + }, + { + "quote": "Do not wait to strike till the iron is hot; but make it hot by striking.", + "author": "William Butler Yeats" + }, + { + "quote": "You cannot swim for new horizons until you have courage to lose sight of the shore.", + "author": "William Faulkner" + }, + { + "quote": "Be not afraid of greatness. Some are born great, some achieve greatness, and others have greatness thrust upon them.", + "author": "William Shakespeare" + }, + { + "quote": "We know what we are, but not what we may be.", + "author": "William Shakespeare" + }, + { + "quote": "In theory there is no difference between theory and practice. In practice there is.", + "author": "Yogi Berra" + }, + { + "quote": "You can see a lot by just looking.", + "author": "Yogi Berra" + }, + { + "quote": "There is no elevator to success, you have to take the stairs.", + "author": "Zig Ziglar" + }, + { + "quote": "You don't have to be great to start, but you have to start to be great.", + "author": "Zig Ziglar" + } + ] +} diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/english/translations.json b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/english/translations.json new file mode 100644 index 0000000000000000000000000000000000000000..17d13c7b3fb8d8acbfe9dd4be891e2b76a84a0b1 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/english/translations.json @@ -0,0 +1,1633 @@ +{ + "buttons": { + "logged-in-cta-btn": "Get started (it's free)", + "get-started": "Get Started", + "logged-out-cta-btn": "Sign in to save your progress (it's free)", + "view-curriculum": "View the Curriculum", + "first-lesson": "Go to the first lesson", + "close": "Close", + "edit": "Edit", + "copy": "Copy", + "view": "View", + "submit-continue": "Submit and continue", + "view-code": "View Code", + "view-project": "View Project", + "view-cert-title": "View {{certTitle}}", + "show-cert": "Show Certification", + "claim-cert": "Claim Certification", + "save-progress": "Save Progress", + "accepted-honesty": "You have agreed to our Academic Honesty Policy.", + "agree-honesty": "I agree to freeCodeCamp's Academic Honesty Policy.", + "save-portfolio": "Save this portfolio item", + "remove-portfolio": "Remove this portfolio item", + "add-portfolio": "Add a new portfolio Item", + "download-data": "Download your data", + "public": "Public", + "private": "Private", + "off": "Off", + "on": "On", + "sign-in": "Sign in", + "sign-up-email-list": "Sign up for Quincy's weekly emails", + "sign-out": "Sign out", + "catalog": "Catalog", + "curriculum": "Curriculum", + "contribute": "Contribute", + "podcast": "Podcast", + "forum": "Forum", + "radio": "Radio", + "profile": "Profile", + "news": "News", + "donate": "Donate", + "supporters": "Supporters", + "exam-app": "Exam App", + "go-to-supporters": "Go to Supporters Page", + "update-settings": "Update my account settings", + "sign-me-out": "Sign me out of freeCodeCamp", + "flag-user": "Flag This User's Account for Abuse", + "current-challenge": "Go to current challenge", + "try-again": "Try again", + "menu": "Menu", + "settings": "Settings", + "take-me": "Take me to the Challenges", + "check-answer": "Check your answer", + "submit": "Submit", + "get-hint": "Get a Hint", + "ask-for-help": "Ask for Help", + "create-post": "Create a help post on the forum", + "cancel": "Cancel", + "reset-lesson": "Reset this lesson", + "revert": "Revert", + "revert-to-saved-code": "Revert to Saved Code", + "run": "Run", + "run-test": "Run the Tests (Ctrl + Enter)", + "check-code": "Check Your Code", + "check-code-ctrl": "Check Your Code (Ctrl + Enter)", + "check-code-cmd": "Check Your Code (Command + Enter)", + "command-enter": "⌘ + Enter", + "ctrl-enter": "Ctrl + Enter", + "reset": "Reset", + "ask-socrates": "Ask Socrates (beta)", + "reset-step": "Reset This Step", + "help": "Help", + "get-help": "Get Help", + "watch-video": "Watch a Video", + "resubscribe": "You can click here to resubscribe", + "click-here": "Click here to sign in", + "save": "Save", + "save-code": "Save your Code", + "show-demo": "Show Demo", + "no-thanks": "No thanks", + "yes-please": "Yes please", + "update-email": "Update my Email", + "verify-email": "Verify Email", + "submit-and-go": "Submit and go to next challenge", + "submit-and-go-ctrl": "Submit and go to next challenge (Ctrl + Enter)", + "submit-and-go-cmd": "Submit and go to next challenge (Command + Enter)", + "go-to-next": "Go to next challenge", + "go-to-next-ctrl": "Go to next challenge (Ctrl + Enter)", + "go-to-next-cmd": "Go to next challenge (Command + Enter)", + "ask-later": "Ask me later", + "start-coding": "Start coding!", + "go-to-settings": "Go to settings to claim your certification", + "click-start-course": "Start the course", + "click-start-project": "Start the project", + "click-start-exam": "Start the exam", + "go-to-course": "Go to course", + "change-language": "Change Language", + "resume-project": "Resume project", + "start-project": "Start project", + "tweet": "Tweet", + "previous-question": "Previous question", + "next-question": "Next question", + "exit-exam": "Exit the exam", + "exit": "Exit", + "finish-exam": "Finish the exam", + "finish": "Finish", + "exit-quiz": "Exit the quiz", + "finish-quiz": "Finish the quiz", + "submit-exam-results": "Submit my results", + "verify-trophy": "Verify Trophy", + "link-account": "Link Account", + "unlink-account": "Unlink Account", + "update-card": "Update your card", + "donate-now": "Donate Now", + "confirm-amount": "Confirm amount", + "play": "Play Video", + "pause": "Pause Video", + "closed-caption": "Closed caption", + "share-on-x": "Share on X", + "share-on-bluesky": "Share on BlueSky", + "share-on-threads": "Share on Threads", + "share-on-facebook": "Share on Facebook", + "play-scene": "Press Play", + "download-latest-version": "Download the Latest Version", + "more-ways-to-sign-in": "More ways to sign in", + "sign-in-with-google": "Sign in with Google", + "go-to-dcc-today": "Go to Today's Challenge", + "go-to-dcc-archive": "Go to Daily Coding Challenge Archive", + "challenge-source": "View Challenge Source", + "outline": "Outline" + }, + "daily-coding-challenges": { + "title": "Daily Coding Challenges", + "map-title": "Try the coding challenge of the day:", + "not-found": "Daily Coding Challenge Not Found.", + "release-note": "The daily challenge updates at midnight US Central time." + }, + "weekdays": { + "short": { + "sunday": "S", + "monday": "M", + "tuesday": "T", + "wednesday": "W", + "thursday": "T", + "friday": "F", + "saturday": "S" + }, + "long": { + "sunday": "Sunday", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday" + } + }, + "landing": { + "big-heading-1": "Learn to code — for free.", + "big-heading-2": "Build projects.", + "big-heading-1-b": "Build Your Skills for Free.", + "big-heading-3": "Earn certifications.", + "advance-career": "Advance your career by learning in-demand skills in Programming, DevOps, Cybersecurity, AI Engineering, and English for Developers.", + "h2-heading": "More than 100,000 freeCodeCamp.org graduates have gotten jobs at tech companies including:", + "graduates-work": "More than 100,000 freeCodeCamp graduates work in companies such as", + "hero-img-description": "freeCodeCamp students at a local study group in South Korea.", + "hero-img-alt": "A group of people, including a White man, a Black woman, and an Asian woman, gathered around a laptop.", + "hero-img-uis": "A group of screenshots showing the freeCodeCamp editor interface on both a mobile and desktop device and a certification.", + "as-seen-in": "As seen in:", + "testimonials": { + "heading": "Here is what our alumni say about freeCodeCamp:", + "shawn": { + "img-alt": "Shawn Wang, a young-looking Asian man, smiling for a selfie with a snow-capped mountain in the background.", + "location": "Shawn Wang in Singapore", + "occupation": "Software Engineer at Amazon", + "testimony": "\"It's scary to change careers. I only gained confidence that I could code by working through the hundreds of hours of free lessons on freeCodeCamp. Within a year I had a six-figure job as a Software Engineer. freeCodeCamp changed my life.\"" + }, + "sarah": { + "img-alt": "Sarah Chima, a young-looking Black woman, smiling for the camera while sitting in a chair.", + "location": "Sarah Chima in Nigeria", + "occupation": "Software Engineer at ChatDesk", + "testimony": "\"freeCodeCamp was the gateway to my career as a software developer. The well-structured curriculum took my coding knowledge from a total beginner level to a very confident level. It was everything I needed to land my first dev job at an amazing company.\"" + }, + "emma": { + "img-alt": "Emma Bostian, a young-looking White woman, smiling for the camera in front of green foliage.", + "location": "Emma Bostian in Sweden", + "occupation": "Software Engineer at Spotify", + "testimony": "\"I've always struggled with learning JavaScript. I've taken many courses but freeCodeCamp's course was the one which stuck. Studying JavaScript as well as data structures and algorithms on freeCodeCamp gave me the skills and confidence I needed to land my dream job as a software engineer at Spotify.\"" + } + }, + "benefits": { + "heading": "Why learn with freeCodeCamp:", + "list": [ + { + "title": "Large Community", + "description": "Join our vibrant learning community of students, alumni, and educators." + }, + { + "title": "Free Education", + "description": "Learn from our charity and save money on your education. This is made possible by the generous support of our monthly donors." + }, + { + "title": "Extensive Certifications", + "description": "Earn industry-recognized, verifiable certifications in high-demand technologies." + }, + { + "title": "Comprehensive Curriculum", + "description": "Enhance your technical skills with our linear, world-class, project-based curriculum." + } + ], + "cta": "Start Learning Now (it's free)" + }, + "catalog": { + "heading": "Explore Course Catalog", + "seeAll": "See All Courses" + }, + "certification-heading": "Earn free verified certifications in:", + "core-certs-heading": "Recommended curriculum:", + "learn-english-heading": "Learn English for Developers:", + "learn-spanish-heading": "Learn Professional Spanish:", + "learn-chinese-heading": "Learn Professional Chinese:", + "professional-certs-heading": "Professional certifications:", + "interview-prep-heading": "Prepare for the developer interview job search:", + "legacy-curriculum-heading": "Our archived coursework:", + "next-heading": "Try our beta curriculum:", + "upcoming-heading": "Upcoming curriculum:", + "catalog-heading": "Explore our Catalog:", + "archive-link": "Looking for older coursework? Check out <0>our archive page.", + "faq": "Frequently asked questions:", + "faqs": [ + { + "question": "What exactly is freeCodeCamp?", + "answer": [ + "freeCodeCamp is a community of people from all around the world who are learning to code together. We're a 501(c)(3) public charity." + ] + }, + { + "question": "How will freeCodeCamp help me learn to code?", + "answer": [ + "You will learn to code by building dozens of projects, step-by-step, right in your browser, code editor, or mobile app.", + "You will also earn free verified certifications along the way." + ] + }, + { + "question": "Is freeCodeCamp really free?", + "answer": [ + "Yes. Every aspect of freeCodeCamp is 100% free. The courses, the projects, and even the certifications." + ] + }, + { + "question": "Can freeCodeCamp help me get a job as a software developer?", + "answer": [ + "Yes. Every year, thousands of people who join the freeCodeCamp community get their first software developer job." + ] + }, + { + "question": "What skills will I learn?", + "answer": [ + "You will learn the skills most developers use on the job: HTML, CSS, JavaScript, Python, Linux, Git, and SQL, and more. You'll also learn how to use powerful libraries for web development, mobile app development, data science, and artificial intelligence." + ] + }, + { + "question": "How long does it take to learn all this?", + "answer": [ + "freeCodeCamp is self-paced. Realistically, it may take several years of practicing coding to learn these skills well enough to get a job as a software engineer. Don't quit school or your day job until you feel ready." + ] + }, + { + "question": "How do I get started?", + "answer": [ + "If you're a beginner, you should start at the beginning of the freeCodeCamp core curriculum. If you're more advanced, we still recommend starting at the beginning, but you can skip to whatever area you wish." + ] + }, + { + "question": "How do I earn the free verified certifications?", + "answer": [ + "For each certification, you need to build its 5 certification projects, and get all of the project tests to pass to be able to claim your certification." + ] + }, + { + "question": "I don't see [name of tool] in the freeCodeCamp core curriculum.", + "answer": [ + "Aside from the freeCodeCamp core curriculum, We have thousands of free, full-length books, courses, and programming tutorials. We almost certainly teach whatever programming tools you want to learn. Just use the search bar." + ] + } + ] + }, + "settings": { + "share-projects": "Share your non-freeCodeCamp projects, articles or accepted pull requests.", + "privacy": "The settings in this section enable you to control what is shown on your freeCodeCamp public portfolio. Press save to save your changes.", + "data": "To see what data we hold on your account, click the \"Download your data\" button below", + "disabled": "Your certifications will be disabled, if set to private.", + "private-name": "Your name will not appear on your certifications, if this is set to private.", + "claim-legacy": "Once you've earned the following freeCodeCamp certifications, you'll be able to claim the {{cert}}:", + "for": "Settings for {{username}}", + "profile-note": "You can go to <0>your profile to update your personal information.", + "sound-mode": "This adds the pleasant sound of acoustic guitar throughout the website. You'll get musical feedback as you type in the editor, complete challenges, claim certifications, and more.", + "sound-volume": "Campfire Volume:", + "scrollbar-width": "Editor Scrollbar Width", + "reset-editor-layout-tooltip": "Reset the editor layout to its default state", + "reset-editor-layout": "Reset Editor Layout", + "shortcuts-explained": "Within a challenge, press ESC followed by the question mark to show a list of available shortcuts.", + "username": { + "contains invalid characters": "Username \"{{username}}\" contains invalid characters. Use only alphanumeric values like 'camperbot', or 'camperbot123'.", + "is too short": "Username \"{{username}}\" is too short", + "is a reserved error code": "Username \"{{username}}\" is a reserved error code", + "must be lowercase": "Username \"{{username}}\" must be lowercase", + "unavailable": "Username not available", + "validating": "Validating username...", + "available": "Username is available", + "change": "Please note, changing your username will also change the URL to your profile and your certifications." + }, + "labels": { + "username": "Username", + "name": "Name", + "location": "Location", + "picture": "Picture", + "about": "About", + "personal": "Personal Website", + "title": "Title", + "url": "URL", + "image": "Image", + "description": "Description", + "project-name": "Project Name", + "solution": "Solution", + "solution-for": "Solution for {{projectTitle}}", + "results-for": "Results for {{projectTitle}}", + "my-profile": "My profile", + "my-name": "My name", + "my-location": "My stated location (freeCodeCamp does not track your actual location)", + "my-about": "My about", + "my-points": "My points", + "my-heatmap": "My heatmap", + "my-certs": "My certifications", + "my-portfolio": "My portfolio", + "my-experience": "My experience", + "my-timeline": "My timeline", + "my-donations": "My donations", + "night-mode": "Night Mode", + "sound-mode": "Campfire Mode", + "keyboard-shortcuts": "Enable Keyboard Shortcuts" + }, + "headings": { + "personal": "Personal", + "account": "Account", + "certs": "Certifications", + "legacy-certs": "Legacy Certifications", + "honesty": "Academic Honesty Policy", + "internet": "Your Internet Presence", + "portfolio": "Portfolio Settings", + "privacy": "Privacy", + "personal-info": "Personal Information" + }, + "danger": { + "heading": "Danger Zone", + "be-careful": "Please be careful. Changes in this section are permanent.", + "reset": "Reset all of my progress", + "delete": "Delete my account", + "delete-title": "Delete My Account", + "delete-p1": "This will really delete all your data, including all your progress and account information.", + "delete-p2": "We won't be able to recover any of it for you later, even if you change your mind.", + "delete-p3": "If there's something we could do better, send us an email instead and we'll do our best: <0>{{email}}", + "nevermind": "Nevermind, I don't want to delete my account", + "certain": "I am 100% certain. Delete everything related to this account", + "reset-heading": "Reset My Progress", + "reset-p1": "This will permanently delete and reset all of the following:", + "reset-item-1": "Your progress through each step/challenge (all completed challenges will be lost)", + "reset-item-2": "Any saved code, including partially completed challenges, and certification project code", + "reset-item-3": "All completed and claimed certifications", + "reset-p2": "You will effectively be set back to the very first day you signed up.", + "reset-p3": "We won't be able to recover any of it for you later, even if you change your mind.", + "nevermind-2": "Nevermind, I don't want to delete all of my progress", + "reset-confirm": "Reset everything. I want to start from the beginning", + "verify-text": "To verify, type \"{{ verifyText }}\" below:", + "verify-reset-text": "I agree that all progress will be lost", + "verify-delete-text": "I agree to delete my account" + }, + "email": { + "missing": "You do not have an email associated with this account.", + "heading": "Email", + "not-verified": "Your email has not been verified.", + "check": "Please check your email, or <0>request a new verification email here.", + "current": "Current Email", + "new": "New Email", + "confirm": "Confirm New Email", + "weekly": "Send me Quincy's weekly email" + }, + "socrates": { + "p1": "Socrates", + "p2": "Offers tailored hints based on your input in workshops. You can turn this off at any time." + }, + "honesty": { + "p1": "Before you can claim a verified certification, you must accept our Academic Honesty Pledge, which reads:", + "p2": "\"I understand that plagiarism means copying someone else’s work and presenting the work as if it were my own, without clearly attributing the original author.\"", + "p3": "\"I understand that plagiarism is an act of intellectual dishonesty, and that people usually get kicked out of university or fired from their jobs if they get caught plagiarizing.\"", + "p4": "\"Aside from using open source libraries such as jQuery and Bootstrap, and short snippets of code which are clearly attributed to their original author, 100% of the code in my projects was written by me, or along with another person going through the freeCodeCamp curriculum with whom I was pair programming in real time.\"", + "p5": "\"I pledge that I did not plagiarize any of my freeCodeCamp.org work. I understand that freeCodeCamp.org’s team will audit my projects to confirm this.\"", + "p6": "In the situations where we discover instances of unambiguous plagiarism, we will replace the person in question’s certification with a message that \"Upon review, this account has been flagged for academic dishonesty.\"", + "p7": "As an academic institution that grants achievement-based certifications, we take academic honesty very seriously. If you have any questions about this policy, or suspect that someone has violated it, you can email <0>{{email}} and we will investigate." + }, + "classroom-mode": { + "heading": "Classroom Mode", + "buttons": { + "agree": "I agree, share my learning data", + "accepted": "You have agreed to share your learning data." + }, + "p1": "\"Classroom Mode\" enables syncing your learning progress with the Classroom app, making it accessible to educators and institutions with whom you're affiliated.", + "p2": "When you enable this feature, you authorize freeCodeCamp to share your learning data—including completed challenges, projects, and time tracking—with the Classroom app and your educator, regardless of your profile privacy settings.", + "p3": "If you have any questions or concerns about \"Classroom Mode\", please contact support at <0>{{email}}.", + "p4": "Currently your data is <0>{{status}} with the Classroom app. {{message}}", + "status": { + "shared": "being shared", + "not-shared": "not being shared" + }, + "message": { + "shared": "Please contact support if you wish to revoke your consent.", + "not-shared": "You can give your consent below to allow data sharing." + } + } + }, + "exam": { + "attempts": "Attempts", + "no-attempts-yet": "No attempts yet", + "date-taken": "Date Taken", + "score": "Score", + "status": "Status", + "pending": "Pending", + "passed": "Passed", + "failed": "Failed", + "in-progress": "In Progress", + "denied": "Retake Required", + "download-header": "Download the freeCodeCamp Exam Environment App", + "explanation": "To earn a certification, you must take an exam to test your understanding of the material you have learned. Taking the exam is absolutely free of charge.", + "version": "The latest version of our app is: {{version}}.", + "download-details": "Manually download the app", + "unable-to-detect-os": "We were unable to detect your operating system. Please manually download the app below.", + "download-trouble": "If you have trouble downloading the correct version, do not hesitate to contact support:", + "open-exam-application": "Open Exam Environment Application" + }, + "profile": { + "you-change-privacy": "You need to change your privacy setting in order for your portfolio to be seen by others. This is a preview of how your portfolio will look when made public.", + "username-change-privacy": "{{username}} needs to change their privacy setting in order for you to view their portfolio.", + "supporter": "Supporter", + "contributor": "Top Contributor", + "contributor-prolific": "Among most prolific volunteers in {{year}}", + "no-certs": "No certifications have been earned under the current curriculum", + "fcc-certs": "freeCodeCamp Certifications", + "longest-streak": "Longest Streak:", + "current-streak": "Current Streak:", + "portfolio": "Portfolio", + "badges": "Badges", + "donated": "Donated to the community", + "projects": "Projects", + "stats": "Stats", + "activity": "Activity", + "timeline": "Timeline", + "none-completed": "No challenges have been completed yet.", + "get-started": "Get started here.", + "challenge": "Challenge", + "completed": "Completed", + "add-linkedin": "Add this certification to my LinkedIn profile", + "add-twitter": "Share this certification on X", + "tweet": "I just earned the {{certTitle}} certification @freeCodeCamp! Check it out here: {{certURL}}", + "avatar": "{{username}}'s avatar", + "joined": "Joined {{date}}", + "from": "From {{location}}", + "total-points": "Total Points:", + "points_one": "{{count}} point on {{date}}", + "points_other": "{{count}} points on {{date}}", + "page-number": "{{pageNumber}} of {{totalPages}}", + "edit-my-profile": "Edit My Profile", + "add-bluesky": "Share this certification on BlueSky", + "add-threads": "Share this certification on Threads", + "add-facebook": "Share this certification on Facebook", + "experience": { + "heading": "Experience", + "share-experience": "Share your professional experience", + "add": "Add experience", + "save": "Save experience", + "remove": "Remove experience", + "job-title": "Job title", + "company": "Company", + "location": "Location", + "start-date": "Start date", + "end-date": "End date", + "end-date-helper": "Leave blank if current position", + "description": "Description", + "present": "Present", + "date-format-error": "Please enter the date in MM/YYYY format.", + "date-invalid": "Please enter a valid date." + }, + "completeness": { + "heading": "Profile {{percentage}}% complete", + "title": "Profile Completion", + "progress": "{{percentage}}% complete", + "name": "Add your name", + "location": "Add your location", + "picture": "Upload a profile picture", + "about": "Write an about section", + "social": "Add a social link", + "portfolio": "Add a portfolio project", + "experience": "Add your experience", + "privacy": "Make your profile public" + } + }, + "footer": { + "tax-exempt-status": "freeCodeCamp is a donor-supported tax-exempt 501(c)(3) charitable organization (United States Federal Tax Identification Number: 82-0779546).", + "mission-statement": "Our mission: to help people learn to code for free. We accomplish this by creating thousands of videos, articles, and interactive coding lessons - all freely available to the public.", + "donation-initiatives": "Donations to freeCodeCamp go toward our education initiatives, and help pay for servers, services, and staff.", + "donate-text": "You can <1>make a tax-deductible donation here.", + "trending-guides": "Trending Guides", + "mobile-app": "Mobile App", + "our-nonprofit": "Our Charity", + "links": { + "about": "About", + "alumni": "Alumni Network", + "open-source": "Open Source", + "shop": "Shop", + "support": "Support", + "sponsors": "Sponsors", + "honesty": "Academic Honesty", + "coc": "Code of Conduct", + "privacy": "Privacy Policy", + "tos": "Terms of Service", + "copyright": "Copyright Policy" + }, + "language": "Language:" + }, + "learn": { + "heading": "Welcome to freeCodeCamp's curriculum.", + "skip-to-content": "Skip to content", + "welcome-1": "Welcome back, {{name}}.", + "welcome-2": "Welcome to freeCodeCamp.org", + "start-at-beginning": "If you are new to coding, we recommend you <0>start at the beginning.", + "happy-coding": "Happy coding!", + "upcoming-lessons": "Upcoming Lessons", + "learn": "Learn", + "add-subtitles": "Help improve or add subtitles", + "wrong-answer": "Sorry, that's not the right answer. Give it another try?", + "check-answer": "Click the button below to check your answer.", + "assignment-not-complete_one": "Please complete the assignment", + "assignment-not-complete_other": "Please complete the assignments", + "assignments_one": "Assignment", + "assignments_other": "Assignments", + "question": "Question", + "questions": "Questions", + "answered-mcq": "You have unanswered questions and/or incorrect answers.", + "explanation": "Explanation", + "transcript": "Transcript", + "solution-link": "Solution Link", + "source-code-link": "Source Code Link", + "ms-link": "Microsoft Link", + "submit-and-go": "Submit and go to my next challenge", + "congratulations": "Congratulations, your code passes. Submit your code to continue.", + "congratulations-code-passes": "Congratulations. Your code passes.", + "i-completed": "I've completed this challenge", + "example-code": "Example Code", + "test-output": "Your test output will go here", + "running-tests": "// running tests", + "tests-completed": "// tests completed", + "console-output": "// console output", + "unavailable-local-resource": "Failed to load resource: \"{{source}}\" is not an available local {{resourceType}} file. Use: {{allowedSources}}.", + "unavailable-local-resource-no-allowed": "Failed to load resource: \"{{source}}\" is not an available local {{resourceType}} file in this challenge.", + "local-resource-type": { + "stylesheet": "stylesheet", + "script": "script" + }, + "example-app": "Build an app that is functionally similar to <0>this example project. Try not to copy the example project, give it your own personal style.", + "syntax-error": "Your code raised an error before any tests could run. Please fix it and try again.", + "indentation-error": "Your code has an indentation error. You may need to add pass on a new line to form a valid block of code.", + "sign-in-save": "Sign in to save your progress", + "hints-used-today": "hints used today", + "donor-socrates-benefit": "Supporters get higher daily limits.", + "socrates-not-enabled": "Socrates is not enabled for your account.", + "socrates-check-code-first": "Check your code before asking Socrates for a hint.", + "socrates-code-passes": "Congratulations, your code passes! Press submit and continue to the next challenge.", + "socrates-write-code-first": "Please write some code before asking Socrates for a hint.", + "socrates-generic-error": "Something went wrong while asking Socrates. Please try again.", + "socrates-no-access": "You do not have access to Socrates.", + "socrates-daily-limit": "You have reached the daily hint limit. Please try again tomorrow.", + "socrates-rate-limit": "You have reached the hint limit. Please wait a moment before trying again.", + "socrates-unable-to-generate": "Socrates was unable to generate a hint. Please try again.", + "socrates-unavailable": "Socrates is temporarily unavailable. Please try again later.", + "socrates-invalid-request": "Something went wrong with your request. Please try again.", + "download-solution": "Download my solution", + "download-results": "Download my results", + "percent-complete": "{{percent}}% complete", + "project-complete": "Completed", + "tried-rsa": "If you've already tried the <0>Read-Search-Ask method, then you can ask for help on the freeCodeCamp forum.", + "read-search-ask-checkbox": "I have tried the <0>Read-Search-Ask method", + "similar-questions-checkbox": "I have searched for <0>similar questions that have already been answered on the forum", + "minimum-characters": "Please describe in at least {{characters}} more characters", + "characters-left": "You can add {{characters}} more characters to your query", + "must-confirm-statements": "You must confirm the following statements before you can submit your post to the forum.", + "min-50-max-500": "50 character minimum, 500 character maximum", + "rsa": "Read, search, ask", + "rsa-forum": "Before making a new post please <0>check if your question has already been answered on the forum.", + "reset": "Reset this lesson?", + "reset-warn": "Are you sure you wish to reset this lesson ({{title}})? The code editors and tests will be reset.", + "reset-warn-2": "This cannot be undone.", + "reset-progress-heading": "Reset Progress for {{label}}", + "reset-progress-description": "This will permanently delete and reset the '{{label}}' section. Your progress through each step/challenge, including any saved code will be lost, forever.", + "reset-progress-warning": "We won't be able to recover any of it for you later, even if you change your mind.", + "reset-progress-nevermind": "Nevermind, I don't want to reset my progress", + "reset-progress-confirm": "Reset my progress. I understand this cannot be undone", + "reset-progress-verify": "I agree to reset my progress", + "reset-progress-aria-chapter": "Reset progress for {{chapterLabel}}", + "reset-progress-aria-module": "Reset progress for {{moduleLabel}}", + "reset-progress-aria-block": "Reset progress for {{blockLabel}}", + "reset-progress-in-flight": "Resetting your progress, please wait...", + "reset-progress-success": "Your progress for '{{label}}' has been reset.", + "reset-progress-failure": "We could not reset your progress. Please try again, or contact support if the problem persists.", + "reset-progress-dismiss": "Dismiss", + "revert-warn": "Are you sure you wish to revert this lesson? Your latest changes will be undone and the code reverted to the most recently saved version.", + "scrimba-tip": "Tip: If the mini-browser is covering the code, click and drag to move it. Also, feel free to stop and edit the code in the video at any time.", + "chal-preview": "Challenge Preview", + "donation-record-not-found": "Your donation record has not been found.", + "donation-heading": "Progress towards donation goal", + "sign-in-card-update": "Sign in to update your card", + "sign-in-see-benefits": "Sign in to see your supporter benefits", + "card-has-been-updated": "Your card has been updated successfully.", + "contact-support-mistake": "If you think there has been a mistake, please contact us at donors@freecodecamp.org", + "editor-tabs": { + "code": "Code", + "tests": "Tests:", + "restart": "Restart", + "restart-step": "Restart Step", + "console": "Console", + "instructions": "Instructions", + "notes": "Notes", + "preview": "Preview", + "editor": "Editor", + "interactive-editor": "Interactive Editor", + "terminal": "Terminal" + }, + "editor-alerts": { + "tab-trapped": "Pressing tab will now insert the tab character", + "tab-free": "Pressing tab will now move focus to the next focusable element" + }, + "help-translate": "We are still translating this certification.", + "help-translate-link": "Help us translate.", + "project-preview-title": "Here's a preview of what you will build", + "demo-project-title": "Here's an example of a project that meets the requirements", + "github-required": "<0>Create a GitHub account if you don't have one. You'll need it when you create the virtual Linux server machine. This process may take a few minutes.", + "codespaces": { + "intro": "This course runs in a virtual Linux machine using GitHub Codespaces. Follow these instructions to start the course:", + "step-1": "<0>Create a GitHub account if you don't have one", + "step-2": "Click the start button below", + "step-3": "On that page, click the create button", + "step-4": "Once the virtual Linux machine is finished loading, start the CodeRoad extension by:", + "step-5": "Clicking the \"hamburger\" menu near the top left of the VSCode window,", + "step-6": "Going to the <0>View menu,", + "step-7": "Clicking on the <0>Command Palette option,", + "step-8": "and running the <0>CodeRoad: Start command", + "step-9": "Follow the instructions in CodeRoad to complete the course", + "continue-project": "Clicking the start button below will start a new project. If you have previously started the {{title}} course, go to <0>your Codespaces to re-open a previous workspace.", + "learn-more": "Learn more about <0>Codespace workspaces.", + "reuse-tab-warning": "Don't bookmark the link the start button opens, or reuse an old browser tab from a previous session. Doing so opens a new workspace instead of resuming your previous one, and it may look like your progress was lost. Use your Codespaces list to resume instead.", + "logout-warning": "If you log out of freeCodeCamp before you complete the entire {{course}} course, your progress will not be saved to your freeCodeCamp account.", + "sub-step-3": "Navigate to your <0>Codespaces secrets page", + "sub-step-4": "Create a new secret named <0>CODEROAD_WEBHOOK_TOKEN", + "sub-step-5": "In the <0>Value field, paste your token", + "sub-step-6": "In the <0>Repository access field, select the <1>freeCodeCamp/rdb-alpha repository", + "sub-step-7": "Click the <0>Add secret button", + "summary": "Codespaces Setup" + }, + "freecodecamp-os": { + "token-modal": "When you run the course, a modal will appear asking for your user token. Paste the token you copied above into it. You only need to do this once per environment.", + "local": { + "intro": "This course runs in a dev container on your computer using the freeCodeCamp - Courses VS Code extension. To run the course, you first need to download each of the following if you don't already have them:", + "heading": "Then, follow these instructions to start the course:", + "step-1": "Open a terminal and clone the back-end-development-and-apis repo if you don't already have it with <0>git clone https://github.com/freeCodeCamp/back-end-development-and-apis", + "step-2": "Navigate to the <0>back-end-development-and-apis directory in the terminal with <1>cd back-end-development-and-apis, and open VS Code with <2>code .", + "step-3": "Open the command palette in VS Code by expanding the \"View\" menu and clicking \"Command Palette...\" and enter <0>Dev Containers: Rebuild and Reopen in Container in the input.", + "step-4": "A new VS Code window will open and begin building the dev container. It will take several minutes the first time.", + "step-5": "Once it is finished building, open the command palette again and enter <0>freeCodeCamp: Run Course to start the course.", + "step-6": "The Simple Browser will open when it is done. If it is a blank white page, use the refresh button to update it and see the course home page.", + "step-7": "Click on one of the available projects to start it, then follow the instructions in the project to complete it." + }, + "codespaces": { + "intro": "This course runs in a virtual Linux machine using GitHub Codespaces and the freeCodeCamp - Courses VS Code extension. Follow these instructions to start the course:", + "step-1": "<0>Create a GitHub account if you don't have one", + "step-2": "Click the start button below", + "step-3": "On the page that opens, click the create button", + "step-4": "Once the virtual Linux machine is finished loading, open the command palette and run the <0>freeCodeCamp: Run Course command", + "step-5": "The Simple Browser will open when it is done. If it is a blank white page, use the refresh button to update it and see the course home page.", + "step-6": "Click on one of the available projects to start it, then follow the instructions in the project to complete it.", + "continue-project": "Clicking the start button below will start a new machine. If you have previously started the {{title}} course, go to the <0>repository page to re-open a previous workspace." + } + }, + "local": { + "intro": "This course runs in a virtual Linux machine on your computer. To run the course, you first need to download each of the following if you don't already have them:", + "download-vscode": "<0>VS Code and the <1>Dev Containers extension", + "heading": "Then, follow these instructions to start the course:", + "step-1": "Open a terminal and clone the RDB Alpha repo if you don't already have it with <0>git clone https://github.com/freeCodeCamp/rdb-alpha", + "step-2": "Navigate to the <0>rdb-alpha directory in the terminal with <1>cd rdb-alpha, and open VS Code with <2>code .", + "sub-step-heading": "If you want to save your progress to your freeCodeCamp account, do the following:", + "sub-step-1": "Generate a user token if you don't already have one:", + "generate-token-btn": "Generate User Token", + "sub-step-2": "Copy your user token:", + "copy-token-btn": "Copy User Token", + "logout-warning": "If you log out of freeCodeCamp before you complete the entire {{course}} course, your user token will be deleted and your progress will not be saved to your freeCodeCamp account.", + "sub-step-3": "In the VS Code that opened, find and open the file named <0>Dockerfile. At the bottom of the file, paste your token in as the value for the <1>CODEROAD_WEBHOOK_TOKEN variable. It should look like this: <2>ENV CODEROAD_WEBHOOK_TOKEN=your-token-here", + "step-3": "Open the command palette in VS Code by expanding the \"View\" menu and clicking \"Command Palette...\" and enter <0>Dev Containers: Rebuild and Reopen in Container in the input.", + "step-4": "A new VS Code window will open and begin building the Docker image. It will take several minutes the first time.", + "step-5": "Once it is finished building, open the command palette again and enter <0>CodeRoad: Start to open CodeRoad.", + "step-6": "In the CodeRoad window, click \"Start New Tutorial\" and then the \"URL\" tab at the top.", + "step-7": "Copy the course URL below, paste it in the URL input, and click \"Load\".", + "copy-url": "Copy Course URL", + "step-8": "Click \"Start\" to begin.", + "step-9": "Follow the instructions in CodeRoad to complete the course. Note: You may need to restart the terminal once for terminal settings to take effect and the tests to pass.", + "summary": "Local Setup" + }, + "step-1": "Step 1: Complete the project", + "step-2": "Step 2: Submit your code", + "submit-public-url": "When you have completed the project, save all the required files into a public repository and submit the URL to it below.", + "complete-both-steps": "Complete both steps below to finish the challenge.", + "runs-in-vm": "The project runs in a virtual machine, complete the user stories described in there and get all the tests to pass to finish step 1.", + "completed": "Completed", + "not-completed": "Not completed", + "not-started": "Not started", + "steps-completed": "{{completedSteps}} of {{totalSteps}} steps complete", + "test": "Test", + "sorry-try-again": "Sorry, your code does not pass. Try again.", + "sorry-keep-trying": "Sorry, your code does not pass. Keep trying.", + "sorry-getting-there": "Sorry, your code does not pass. You're getting there.", + "sorry-hang-in-there": "Sorry, your code does not pass. Hang in there.", + "sorry-dont-giveup": "Sorry, your code does not pass. Don't give up.", + "challenges-completed": "{{completedCount}} of {{totalChallenges}} challenges completed", + "season-greetings-fcc": "Season's Greetings from the freeCodeCamp community 🎉", + "if-getting-value": "If you're getting a lot out of freeCodeCamp, now is a great time to donate to support our charity's mission.", + "building-a-university": "We're Building a Free Computer Science University Degree Program 🎉", + "if-help-university": "We've already made a ton of progress. Donate now to help our charity with the road ahead.", + "preview-external-window": "Preview currently showing in external window.", + "fill-in-the-blank": { + "heading": "Fill in the blank", + "blank": "blank" + }, + "quiz": { + "correct-answer": "Correct!", + "incorrect-answer": "Incorrect.", + "unanswered-questions": "The following questions are unanswered: {{ unansweredQuestions }}. You must answer all questions.", + "have-n-correct-questions": "You have {{ correctAnswerCount }} out of {{ total }} questions correct.", + "finish-modal-header": "Finish Quiz", + "finish-modal-body": "Are you sure you want to finish the quiz?", + "finish-modal-yes": "Yes, I am finished", + "finish-modal-no": "No, I would like to continue the quiz", + "exit-modal-header": "Exit Quiz", + "exit-modal-body": "Are you sure you want to leave the quiz? You will lose any progress you have made.", + "exit-modal-yes": "Yes, I want to leave the quiz", + "exit-modal-no": "No, I would like to continue the quiz" + }, + "exam": { + "qualified": "Congratulations, you have completed all the requirements to qualify for the exam.", + "not-qualified": "You have not met the requirements to be eligible for the exam. To qualify, please complete the following challenges:", + "time": "Time: {{ t }}", + "questions": "Question {{ n }} of {{ t }}", + "passed": "Passed", + "not-passed": "Not Passed", + "number-of-questions": "Number of questions: {{ n }}", + "correct-answers": "Correct answers: {{ n }}", + "percent-correct": "Percent correct: {{ n }}%", + "passed-message": "Congratulations! You passed the exam and can claim your certification.", + "not-passed-message": "Sorry, but you did not answer enough questions correctly to pass the exam.", + "results-header": "{{ title }} Results", + "question-results": "You correctly answered {{ n }} out of {{ q }} questions", + "percent-results": "{{ p }}% correct", + "finish-header": "Finish Exam", + "finish": "Are you sure you want to finish the exam? You will not be able to change any answers. Your results will be final.", + "finish-yes": "Yes, I am finished", + "finish-no": "No, I would like to continue the exam", + "exit-header": "Exit Exam", + "exit": "Are you sure you want to leave the exam? You will lose any progress you have made.", + "exit-yes": "Yes, I want to leave the exam", + "exit-no": "No, I would like to continue the exam", + "not-honest": "You need to <0>accept the Academic Honesty Policy to take this exam" + }, + "ms": { + "link-header": "Link your Microsoft account", + "link-signin": "To complete this challenge, you must first link your Microsoft username to your freeCodeCamp account. Sign in to link your Microsoft username.", + "linked": "The Microsoft account with username \"{{ msUsername }}\" is currently linked to your freeCodeCamp account. If this is not your Microsoft username, remove the link.", + "unlinked": "To complete this challenge, you must first link your Microsoft username to your freeCodeCamp account by following these instructions:", + "link-li-1": "Using a browser where you are logged into your Microsoft account, go to <0>https://learn.microsoft.com/users/me/transcript", + "link-li-2": "Find and click the \"Share link\" button.", + "link-li-3": "If you do not have a transcript link, click the \"Create link\" button to create one.", + "link-li-4": "Click the \"Copy link\" button to copy the transcript URL.", + "link-li-5": "Paste the URL into the input below, it should look similar to this: <0>https://learn.microsoft.com/LOCALE/users/USERNAME/transcript/ID", + "link-li-6": "Click \"Link Account\" to link your Microsoft username.", + "transcript-label": "Your Microsoft Transcript Link", + "invalid-transcript": "Your transcript link is not correct, it should have the following form: <1>https://learn.microsoft.com/LOCALE/users/USERNAME/transcript/ID - check the UPPERCASE items in your link are correct." + }, + "block-type": { + "lecture": "Theory", + "workshop": "Workshop", + "lab": "Lab", + "review": "Review", + "quiz": "Quiz", + "cert-project": "Certification Project", + "exam": "Exam", + "warm-up": "Warm-up", + "learn": "Learn", + "practice": "Practice", + "video": "Video" + }, + "archive": { + "title": "Archived Coursework", + "content-not-updated": "The content in this section is not being updated, but is still available for you to further your learning. We recommend trying <0>our current curriculum." + }, + "search": { + "search-challenges-in-curriculum": "Search lessons in the curriculum", + "search-challenges-results": "Showing {{resultCount}} matching lessons for \"{{term}}\".", + "search-challenges-no-results": "No results found for \"{{term}}\"." + } + }, + "donate": { + "title": "Support our charity", + "processing": "We are processing your donation.", + "redirecting": "Redirecting...", + "thanks": "Thanks for donating", + "thank-you": "Thank You for Being a Supporter", + "thank-you-continued": "Thank you for your continued support", + "success-card-update": "Your card has been updated successfully.", + "additional": "You can make an additional one-time donation of any amount using this link: <0>{{url}}", + "help-more": "Help Our Charity Do More", + "error": "Something went wrong with your donation.", + "error-card-update": "Something went wrong with updating your card.", + "error-2": "Something is not right. Please contact donors@freecodecamp.org", + "error-3": "Please try again or contact donors@freecodecamp.org", + "free-tech": "Your donations will support free technology education for people all over the world.", + "visit-supporters": "Visit the Supporters page to learn about your Supporter benefits.", + "gift-frequency": "Select gift frequency:", + "gift-amount": "Select gift amount:", + "confirm": "Confirm your donation:", + "confirm-one-time": "Confirm your one-time donation of ${{usd}}:", + "confirm-monthly": "Confirm your donation of ${{usd}} / month:", + "confirm-yearly": "Confirm your donation of ${{usd}} / year:", + "confirm-multitier": "Donating ${{usd}} / month:", + "edit-amount": "edit amount", + "wallet-label": "${{usd}} donation to freeCodeCamp", + "wallet-label-1": "${{usd}} / month donation to freeCodeCamp", + "your-donation": "Your ${{usd}} donation will provide {{hours}} hours of learning to people around the world.", + "your-donation-2": "Your ${{usd}} donation will provide {{hours}} hours of learning to people around the world each month.", + "your-donation-3": "Your ${{usd}} donation will provide {{hours}} hours of learning to people around the world each year.", + "repeats-monthly": "Your donation will repeat monthly until canceled.", + "become-supporter": "Become a Supporter", + "progress-modal-cta-1": "Donate now to help our charity build a free accredited Computer Science degree for all.", + "progress-modal-cta-2": "Donate now to sponsor 53 hours of server time for our charity's website.", + "progress-modal-cta-3": "Donate now to help our charity translate lessons into 32 languages for learners worldwide.", + "progress-modal-cta-4": "Donate now to support development of our charity's new Python curriculum.", + "progress-modal-cta-5": "Donate now to help our charity design lessons on new programming tools.", + "progress-modal-cta-6": "Donate now to support our charity's open source projects.", + "progress-modal-cta-7": "Donate now to help our charity hire even more amazing teachers.", + "progress-modal-cta-8": "Donate now to help us develop new courses on emerging tools and programming concepts.", + "progress-modal-cta-9": "Donate now to support our math for developers curriculum.", + "progress-modal-cta-10": "Donate now to help us develop free professional programming certifications for all.", + "help-us-reach-20k": "Donate now to help our charity reach our goal of 20,000 monthly supporters this year.", + "beta-certification": "This certification is currently in beta. Please consider donating to support the completion of its development.", + "unfinished-certification": "This certification is currently in active development. While there isn't a claimable certification available at the moment, one will be available soon. In the meantime, you're welcome to explore the courses we have created below.", + "consider-donating": "Please consider donating to support the completion of its development.", + "unfinished-certification-2": "This certification will take you a substantial amount of time and effort to complete. If you start now, you may be ready to take the final exam when we launch it in the coming months.", + "consider-donating-2": "If you want to help us speed up development of this curriculum, please consider becoming a supporter of our charity.", + "help-us-develop": "Help us develop free professional programming certifications for all.", + "nicely-done": "Nicely done. You just completed {{block}}.", + "credit-card": "Credit Card", + "credit-card-2": "Or donate with a credit card:", + "or-card": "Or donate with card", + "paypal": "with PayPal:", + "need-email": "We need a valid email address to which we can send your donation tax receipt.", + "went-wrong": "Something went wrong processing your donation. Your card has not been charged.", + "valid-info": "Please enter valid email address, credit card number, and expiration date.", + "valid-email": "Please enter a valid email address.", + "valid-card": "Please enter valid credit card number and expiration date.", + "email-receipt": "Email (we'll send you a tax-deductible donation receipt):", + "need-help": "Need help with your current or past donations?", + "forward-receipt": "Forward a copy of your donation receipt to donors@freecodecamp.org and tell us how we can help.", + "efficiency": "freeCodeCamp is a highly efficient education charity.", + "why-donate-1": "When you donate to freeCodeCamp, you help people learn new skills and provide for their families.", + "why-donate-2": "You also help us create new resources for you to use to expand your own technology skills.", + "bigger-donation": "Want to make a bigger one-time donation, mail us a check, or give in other ways?", + "other-ways": "Here are many <0>other ways you can support our charity's mission.", + "if-support-further": "If you want to support our charity further, please consider <0>making a one-time donation, <1>sending us a check, or <2>learning about other ways you could support our charity.", + "failed-pay": "Uh - oh. It looks like your transaction didn't go through. Could you please try again?", + "try-another-method": "Uh - oh. It looks like your transaction didn't go through. Could you please try another payment method?", + "try-again": "Please try again.", + "card-number": "Your Card Number:", + "expiration": "Expiration Date:", + "secure-donation": "Secure donation", + "faq": "Frequently asked questions:", + "only-you": "Only you can see this message. Congratulations on earning this certification. It's no easy task. Running freeCodeCamp isn't easy either. Nor is it cheap. Help us help you and many other people around the world. Make a tax-deductible supporting donation to our charity today.", + "get-help": "How can I get help with my donations?", + "offer-refunds": "Does freeCodeCamp offer refunds?", + "donations-are-voluntary": "Donations to freeCodeCamp are voluntary charitable contributions and are non-refundable. Once a donation has been processed, we do not offer refunds.", + "cancel-future-donations": "If you started a monthly donation, you can cancel future donations at any time by forwarding a copy of your donation receipt to donors@freecodecamp.org and telling us you would like to cancel.", + "without-your-authorization": "If you believe a donation was made without your authorization, or if you see a duplicate charge, please email donors@freecodecamp.org so we can review it.", + "how-transparent": "How transparent is freeCodeCamp?", + "very-transparent": "Very. We have a Platinum transparency rating from GuideStar.org.", + "download-irs": "You can <0>download our IRS Determination Letter here.", + "download-990": "You can <0>download our most recent 990 (annual tax report) here.", + "how-efficient": "How efficient is freeCodeCamp?", + "fcc-budget": "freeCodeCamp's budget is much smaller than most comparable charities. We do not use professional fundraising firms. We keep our fundraising operations small so more of our budget can support our educational mission.", + "help-millions": "However, on a budget of only a few hundred thousand dollars per year, we have been able to help millions of people.", + "how-one-time": "How can I make a one-time donation?", + "one-time": "If you prefer to make one-time donations, you can support freeCodeCamp's mission whenever you have cash to spare. You can use <0>this link to donate any amount through PayPal.", + "wire-transfer": "You can also send money to freeCodeCamp directly through a wire transfer. If you need our wire details, email Quincy at quincy@freecodecamp.org", + "does-crypto": "Does freeCodeCamp accept donations in Bitcoin or other cryptocurrencies?", + "yes-cryptocurrency": "Yes. Please email Quincy at quincy@freecodecamp.org and he can send you freeCodeCamp's wallet information. He can also provide you with a donation receipt if you need one for your taxes.", + "can-check": "Can I mail a physical check?", + "yes-check": "Yes, we would welcome a check. You can mail it to us at:", + "how-matching-gift": "How can I set up matching gifts from my employer, or payroll deductions?", + "employers-vary": "This varies from employer to employer, and our charity is already listed in many of the big donation-matching databases.", + "some-volunteer": "Some people are able to volunteer for freeCodeCamp and their employer matches by donating a fixed amount per hour they volunteer. Other employers will match any donations the donors make up to a certain amount", + "help-matching-gift": "If you need help with this, please email Quincy directly: quincy@freecodecamp.org", + "how-endowment": "How can I set up an endowment gift to freeCodeCamp?", + "endowment": "Endowment gifts can help sustain freeCodeCamp's mission over the long term. Since this is a more manual process, Quincy can help walk you through it personally. Please email him directly at quincy@freecodecamp.org.", + "how-legacy": "How can I set up a legacy gift to freeCodeCamp?", + "we-honored": "We would be honored to put such a gift to good use helping people around the world learn to code. Depending on where you live, this may also be tax exempt.", + "legacy-gift-message": "I give, devise, and bequeath [the sum of _____ USD (or other currency) OR _____ percent of the rest and residue of my estate] to freeCodeCamp.org (Free Code Camp, Inc. tax identification number 82-0779546), a charitable corporation organized under the laws of the State of Delaware, United States, currently located at 3905 Hedgcoxe Rd, PO Box 250352, Plano, Texas, 75025 United States, to be used for its general charitable purposes at its discretion.", + "thank-wikimedia": "We would like to thank the Wikimedia Foundation for providing this formal language for us to use.", + "legacy-gift-questions": "If you have any questions about this process, please email Quincy at quincy@freecodecamp.org.", + "how-stock": "How can I donate stock to freeCodeCamp?", + "welcome-stock": "We would welcome your stock donations. Please email Quincy directly and he can help you with this, and share our charity's brokerage account details: quincy@freecodecamp.org.", + "how-receipt": "Can I get a donation receipt so that I can deduct my donation from my taxes?", + "just-forward": "Absolutely. Just forward the receipt from your transaction to donors@freecodecamp.org, tell us you'd like a receipt and any special instructions you may have, and we'll reply with a receipt for you.", + "how-update": "I set up a monthly donation. How can I update, pause, or cancel it?", + "take-care-of-this": "Forward a copy of your donation receipt to donors@freecodecamp.org and tell us what you would like to change.", + "help-update-change-cancel": "We can help you update your monthly donation amount, change your payment method, pause your monthly donation, or cancel future monthly donations. Canceling a monthly donation stops future charges.", + "anything-else": "Is there anything else I can learn about donating to freeCodeCamp?", + "other-support": "If there is some other way you'd like to support our charity and its mission that isn't listed here, or if you have any questions at all, please email Quincy at quincy@freecodecamp.org.", + "how-will-donation-appear": "How will my donation appear on my bank or card statement?", + "as-freecodecamp-inc": "Your donation may appear on your bank or card statement as \"freeCodeCamp\", \"Free Code Camp\", \"Free Code Camp, Inc.\", or the name of one of our payment processors.", + "do-not-recognize": "If you do not recognize a charge, please email donors@freecodecamp.org before filing a dispute. We can help you identify the donation, update or cancel future monthly donations, and answer any questions.", + "are-benefits-a-product": "Are Supporter benefits a product I am buying?", + "benefits-are-thanks": "No. Donations to freeCodeCamp are charitable contributions. Supporter benefits, such as removed donation prompt popups, a Supporter badge, profile styling, and access to Supporter Discord channels, are our way of thanking donors.", + "benefits-not-sold-separately": "These benefits may change over time and are not sold separately. Your donation supports freeCodeCamp's charitable mission of helping people learn to code for free.", + "is-donation-tax-deductible": "Is my donation tax-deductible?", + "freecodecamp-is-a-charitable-organization": "Free Code Camp, Inc. is a tax-exempt 501(c)(3) charitable organization in the United States. Our tax identification number is 82-0779546.", + "donations-may-be-deductible": "Donations may be tax-deductible for donors in the United States, depending on your individual tax situation. Donors outside the United States should check the rules in their country.", + "annual-donation-receipt": "We cannot provide tax advice, but we can provide an annual donation receipt. If you need help with that, email us at donors@freecodecamp.org.", + "bear-progress-alt": "Illustration of an adorable teddy bear with a pleading expression holding an empty money jar.", + "bear-completion-alt": "Illustration of an adorable teddy bear holding a large trophy.", + "flying-bear": "Illustration of an adorable teddy bear wearing a graduation cap and flying with a Supporter badge.", + "crucial-contribution": "Your contributions are crucial in creating resources that empower millions of people to learn new skills and support their families.", + "support-benefits-title": "Benefits of becoming a Supporter:", + "support-benefits-1": "No more donation prompt popups while signed in", + "support-benefits-2": "A Supporter badge on your profile page", + "support-benefits-3": "A golden halo around your profile image", + "support-benefits-4": "Access to special Supporter Discord channels - <0>join our Discord and use the <1>/supporter command to get access", + "support-benefits-6": "You’ll get higher usage limits for select beta features.", + "support-benefits-disclaimer": "Supporter benefits are our way of thanking donors and may change over time.", + "exclusive-features": "Here is the list of exclusive features for you as a Supporter:", + "current-initiatives-title": "Your donations help us:", + "your-donation-helps-followings": "Your donation makes the following initiatives possible:", + "current-initiatives-1": "Build new JavaScript and Python curricula", + "current-initiatives-2": "Create free English and math curricula", + "current-initiatives-3": "Translate our curriculum and tutorials into 32 languages", + "current-initiatives-4": "Develop a free accredited computer science bachelor's degree", + "community-achievements-title": "Our recent community achievements:", + "community-achievements-1": "Published <0>193 full-length courses on YouTube", + "community-achievements-2": "Published <0>850 text-based coding tutorials and <0>5 free books through freeCodeCamp Press", + "community-achievements-3": "Merged <0>2,455 code contributions into our open source repositories on GitHub", + "community-achievements-4": "Translated <0>1.5 million words to make our curriculum and tutorials more accessible to speakers of many world languages", + "careful-with-every-donation": "We are careful with every donation and put donor support directly toward our charitable mission.", + "get-benefits": "Get the benefits and the knowledge that you're helping our charity change education for the better. Become a Supporter today.", + "modal-benefits-title": "Support us", + "help-us-more-certifications": "Help us build more certifications", + "remove-donation-popups": "Remove donation popups", + "help-millions-learn": "Help millions of people learn", + "reach-goals-faster": "Reach your goals faster", + "remove-distractions": "Remove distractions", + "remove-interruptions": "Remove interruptions", + "acquire-skills-faster": "Acquire skills faster", + "animation-description": "This is a 20 second animated advertisement to encourage campers to become supporters of freeCodeCamp. The animation starts with a teddy bear who becomes a supporter. As a result, distracting pop-ups disappear and the bear gets to complete all of its goals. Then, it graduates and becomes an education super hero helping people around the world.", + "animation-countdown": "This animation will stop after {{secondsRemaining}} seconds." + }, + "report": { + "sign-in": "You need to be signed in to report a user", + "details": "Please provide as much detail as possible about the account or behavior you are reporting.", + "portfolio": "Report a users portfolio", + "portfolio-2": "Do you want to report {{username}}'s portfolio for abuse?", + "notify-1": "We will notify the community moderators' team, and send a copy of this report to your email: {{email}}", + "notify-2": "We may get back to you for more information, if required.", + "what": "What would you like to report?", + "submit": "Submit the report" + }, + "404": { + "page-not-found": "Page not found", + "not-found": "404 Not Found:", + "heres-a-quote": "We couldn't find what you were looking for, but here is a quote:" + }, + "search": { + "label": "Search", + "placeholder": { + "default": "Search our books and courses", + "numbered": "Search {{ roundedTotalRecords }}+ of our books and courses" + }, + "see-results": "See all results for {{searchQuery}}", + "try": "Looking for something? Try the search bar on this page.", + "no-results": "No results found", + "result-list": "Search results" + }, + "misc": { + "coming-soon": "Coming Soon", + "note": "Note", + "caution": "Caution", + "offline": "You appear to be offline, your progress may not be saved", + "server-offline": "The server could not be reached and your progress may not be saved. Please contact <0>support if this message persists", + "unsubscribed": "You have successfully been unsubscribed", + "keep-coding": "Whatever you go on to, keep coding!", + "email-signup": "Email Sign Up", + "email-signup-not-signed-in": "Sign in to adjust your newsletter preferences.", + "brand-new-account": "Welcome to your brand new freeCodeCamp account. Let's get started.", + "duplicate-account-warning": "If you meant to sign into an existing account instead of creating this account, <0>click here to delete this account and try another email address.", + "quincy": "- Quincy Larson, the teacher who founded freeCodeCamp.org", + "email-blast": "Each Friday I send an email with 5 links about programming and computer science. I send these to about 6 million people. Would you like me to send this to you, too?", + "update-email-1": "Update your email address", + "update-email-2": "Update your email address here:", + "email": "Email", + "and": "and", + "update-your-card": "Update your card", + "supporters-page-title": "Supporters page", + "change-theme": "Sign in to change theme.", + "translation-pending": "Help us translate", + "certification-project": "Certification Project", + "iframe-preview": "{{title}} preview", + "iframe-alert": "Normally this link would bring you to another website! It works. This is a link to: {{externalLink}}", + "iframe-form-submit-alert": "Normally this form would be submitted! It works. This will be submitted to: {{externalLink}}", + "document-notfound": "document not found", + "slow-load-msg": "Looks like this is taking longer than usual, please try refreshing the page.", + "navigation-warning": "If you leave this page, you will lose your progress. Are you sure?", + "fsd-b-description": "This comprehensive course prepares you to become a Certified Full-Stack Developer. You'll learn to build complete web applications using HTML, CSS, JavaScript, React, TypeScript, Node.js, Python, and more.", + "fsd-b-cta": "Start Learning", + "continue-learning": "Continue Learning", + "fsd-b-benefit-1-title": "100k+ Students", + "fsd-b-benefit-1-description": "Join more than 100k students taking this certification.", + "fsd-b-benefit-2-title": "Professional Certification", + "fsd-b-benefit-2-description": "Prove your skills with an official, verifiable certification.", + "fsd-b-benefit-3-title": "500+ Exercises", + "fsd-b-benefit-3-description": "Solidify your knowledge with plenty of practice.", + "or": "OR" + }, + "mobile-app-modal": { + "heading": "We see you are on mobile!", + "body": "This course is available in our app for a better experience.", + "ios": "Download on the App Store", + "android": "Get it on Google Play", + "open-app": "Open in App", + "do-not-show": "Do not show me again" + }, + "icons": { + "gold-cup": "Gold Cup", + "avatar": "Default Avatar", + "avatar-2": "An avatar coding with a laptop", + "donate": "Donate with PayPal", + "fail": "Test Failed", + "not-passed": "Not Passed", + "waiting": "Waiting", + "passed": "Passed", + "failed": "Failed", + "hint": "Hint", + "heart": "Heart", + "initial": "Initial", + "input-reset": "Clear search terms", + "input-search": "Submit search terms", + "info": "Intro Information", + "spacer": "Spacer", + "toggle": "Toggle Checkmark", + "magnifier": "Submit search terms" + }, + "aria": { + "fcc-curriculum": "freeCodeCamp Curriculum", + "answer": "Answer", + "linkedin": "Link to {{username}}'s LinkedIn", + "github": "Link to {{username}}'s GitHub", + "website": "Link to {{username}}'s website", + "twitter": "Link to {{username}}'s X", + "bluesky": "Link to {{username}}'s Bluesky", + "next-month": "Go to next month", + "previous-month": "Go to previous month", + "first-page": "Go to first page", + "previous-page": "Go to previous page", + "next-page": "Go to next page", + "last-page": "Go to last page", + "primary-nav": "primary", + "breadcrumb-nav": "breadcrumb", + "timeline-pagination-nav": "Timeline Pagination", + "submit": "Use Ctrl + Enter to submit.", + "running-tests": "Running tests", + "hide-preview": "Hide the preview", + "move-preview-to-new-window": "Move the preview to a new window and focus it", + "move-preview-to-main-window": "Move the preview to this window and close the external preview window", + "close-external-preview-window": "Close the external preview window", + "show-preview": "Show the preview in this window", + "open-preview-in-new-window": "Open the preview in a new window and focus it", + "step": "Step", + "steps": "Steps", + "steps-for": "Steps for {{blockTitle}}", + "task": "Task", + "dialogues-and-tasks-for": "Dialogues and tasks for {{blockTitle}}", + "code-example": "{{codeName}} code example", + "opens-new-window": "Opens in new window", + "rsa-checkbox": "I have tried the Read-Search-Ask method", + "similar-questions-checkbox": "I have searched for similar questions that have already been answered on the forum", + "edit-my-profile": "Edit my profile", + "add-portfolio": "Add portfolio project", + "edit-portfolio": "Edit portfolio project", + "add-experience": "Add experience", + "edit-experience": "Edit experience", + "editor-a11y-off-macos": "{{editorName}} editor content. Press Option+F1 for accessibility options.", + "editor-a11y-off-non-macos": "{{editorName}} editor content. Press Alt+F1 for accessibility options.", + "editor-a11y-on-macos": "{{editorName}} editor content. Accessibility mode set to 'on'. Press Command+E to disable or press Option+F1 for more options.", + "editor-a11y-on-non-macos": "{{editorName}} editor content. Accessibility mode set to 'on'. Press Ctrl+E to disable or press Alt+F1 for more options.", + "terminal-output": "Terminal output", + "not-available": "Not available", + "interactive-editor-desc": "Turn static code examples into interactive editors. This allows you to edit and run the code directly on the page.", + "hide-terminal": "Hide the terminal", + "move-terminal-to-new-window": "Move the terminal to a new window and focus it", + "move-terminal-to-main-window": "Move the terminal to this window and close the external terminal window", + "close-external-terminal-window": "Close the external terminal window", + "pinyin-to-hanzi-input-desc": "This task uses Pinyin-to-Hanzi inputs. Type pinyin with tone numbers (1 to 5). When you enter a correct syllable, it will turn into a Chinese character. If you press backspace after a Chinese character, it will change back to pinyin and remove the last thing you typed: if it's a tone number, the tone is removed; if it's a letter, the letter is removed.", + "pinyin-tone-input-desc": "This task uses Pinyin Tone inputs. Type pinyin with tone numbers (1 to 5). When you enter a tone number, it will be converted to a tone mark. If you press backspace, the last thing you typed is removed: if it's a tone number, the tone is removed; if it's a letter, the letter is removed." + }, + "flash": { + "no-email-in-userinfo": "We could not retrieve an email from your chosen provider. Please try another provider or use the 'Continue with Email' option.", + "honest-first": "To claim a certification, you must first agree to our academic honesty policy", + "really-weird": "Something really weird happened, if it happens again, please consider raising an issue on https://github.com/freeCodeCamp/freeCodeCamp/issues/new", + "generic-error": "Something went wrong. Please try again in a moment or contact support@freecodecamp.org if the error persists.", + "went-wrong": "Something went wrong, please check and try again", + "account-deleted": "Your account has been successfully deleted", + "progress-reset": "Your progress has been reset", + "module-reset": "Your module progress has been reset", + "not-authorized": "You are not authorized to continue on this route", + "could-not-find": "We couldn't find what you were looking for. Please check and try again", + "wrong-updating": "Something went wrong updating your account. Please check and try again", + "updated-about-me": "We have updated your personal information", + "updated-socials": "We have updated your social links", + "updated-sound": "We have updated your sound settings", + "updated-themes": "We have updated your theme", + "keyboard-shortcut-updated": "We have updated your keyboard shortcuts settings", + "subscribe-to-quincy-updated": "We have updated your subscription to Quincy's email", + "socrates-updated": "We have updated your Socrates settings", + "portfolio-item-updated": "We have updated your portfolio", + "experience-updated": "We have updated your experience", + "email-invalid": "Email format is invalid", + "email-valid": "Your email has successfully been changed, happy coding!", + "bad-challengeId": "currentChallengeId is not a valid challenge ID", + "theme-invalid": "Theme is invalid", + "theme-set": "Theme already set", + "theme-updated": "Your theme has been updated!", + "username-used": "Username is already associated with this account", + "username-taken": "Username is already associated with a different account", + "username-restricted": "That username is reserved and can't be used.", + "username-updated": "We have updated your username to {{username}}", + "privacy-updated": "We have updated your privacy settings", + "could-not-logout": "We could not log you out, please try again in a moment", + "email-encoded-wrong": "The email encoded in the link is incorrectly formatted", + "oops-not-right": "Oops, something is not right, please request a fresh link to sign in / sign up", + "expired-link": "Looks like the link you clicked has expired, please request a fresh link, to sign in", + "signin-success": "Success! You have signed in to your account. Happy Coding!", + "social-auth-gone": "We are moving away from social authentication for privacy reasons. Next time we recommend using your email address: {{email}} to sign in instead.", + "name-needed": "We need your name to put it on your certification. Please add your name in your profile and click save. Then we can issue your certification.", + "incomplete-steps": "It looks like you have not completed the necessary steps. Please complete the required projects to claim the {{name}} Certification.", + "already-claimed": "It looks like you already have claimed the {{name}} Certification", + "cert-claim-success": "@{{username}}, you have successfully claimed the {{name}} Certification! Congratulations on behalf of the freeCodeCamp.org team!", + "wrong-name": "Something went wrong with the verification of {{name}}, please try again. If you continue to receive this error, you can send a message to support@freeCodeCamp.org to get help.", + "error-claiming": "Error claiming {{certName}}", + "username-not-found": "We could not find a user with the username \"{{username}}\"", + "add-name": "This user needs to add their name to their account in order for others to be able to view their certification.", + "not-eligible": "This user is not eligible for freeCodeCamp.org certifications at this time.", + "profile-private": "{{username}} has chosen to make their profile private. They will need to make their profile public in order for others to be able to view their certification.", + "certs-private": "{{username}} has chosen to make their certifications private. They will need to make their certifications public in order for others to be able to view them.", + "certs-claimable": "You can now claim the {{certName}} certification! Visit your settings page to claim your certification.", + "not-honest": "{{username}} has not yet agreed to our Academic Honesty Pledge.", + "user-not-certified": "It looks like user {{username}} is not {{cert}} certified", + "invalid-challenge": "That does not appear to be a valid challenge submission", + "no-links-provided": "You have not provided the valid links for us to inspect your work.", + "no-social": "No social account found", + "invalid-social": "Invalid social account", + "no-account": "No {{website}} account associated", + "unlink-success": "You've successfully unlinked your {{website}}", + "provide-username": "Check if you have provided a username and a report", + "report-sent": "A report was sent to the team with {{email}} in copy", + "report-error": "Unable to report this user at this time.", + "certificate-missing": "The certification you tried to view does not exist", + "create-token-err": "An error occurred while creating your user token", + "delete-token-err": "An error occurred while deleting your user token", + "token-created": "You have successfully created a new user token.", + "token-deleted": "Your user token has been deleted.", + "start-project-err": "Something went wrong trying to start the project. Please try again.", + "complete-project-first": "You must complete the project first.", + "local-code-save-error": "Oops, your code did not save, your browser's local storage may be full.", + "local-code-saved": "Saved! Your code was saved to your browser's local storage.", + "timeline-private": "{{username}} has chosen to make their timeline private. They will need to make their timeline public in order for others to be able to view their certification.", + "code-saved": "Your code was saved to the database. It will be here when you return.", + "code-save-error": "An error occurred trying to save your code.", + "code-save-less": "Slow Down! Your code was not saved. Try again in a few seconds.", + "challenge-save-too-big": "Sorry, you cannot save your code. Your code is {{user-size}} bytes. We allow a maximum of {{max-size}} bytes. Please make your code smaller and try again or request assistance on https://forum.freecodecamp.org", + "challenge-submit-too-big": "Sorry, you cannot submit your code. Your code is {{user-size}} bytes. We allow a maximum of {{max-size}} bytes. Please make your code smaller and try again or request assistance on https://forum.freecodecamp.org", + "invalid-update-flag": "You are attempting to access forbidden resources. Please request assistance on https://forum.freecodecamp.org if this is a valid request.", + "generate-exam-error": "An error occurred trying to generate your exam.", + "cert-not-found": "The certification {{certSlug}} does not exist.", + "reset-editor-layout": "Your editor layout has been reset.", + "user-token-generated": "A user token was created for you.", + "user-token-generate-error": "Something went wrong trying to generate a user token for you.", + "user-token-copied": "User token copied to clipboard.", + "user-token-copy-error": "Something went wrong trying to copy your token.", + "course-url-copied": "Course URL copied to clipboard.", + "course-url-copy-error": "Something went wrong trying to copy the course URL.", + "ms": { + "transcript": { + "link-err-1": "Please include a Microsoft transcript URL in the request.", + "link-err-2": "Something went wrong trying to get your transcript from Microsoft.", + "link-err-3": "A username was not found in your Microsoft transcript.", + "link-err-4": "That Microsoft username is being used by another freeCodeCamp account.", + "link-err-5": "Something went wrong trying to save your Microsoft account.", + "link-err-6": "Something went wrong trying to link your Microsoft username to your freeCodeCamp account.", + "linked": "Your Microsoft username has been linked to your freeCodeCamp account.", + "unlinked": "The link to your Microsoft username has been removed.", + "unlink-err": "Something went wrong trying to remove the link to your Microsoft username." + }, + "profile": { + "err": "We could not find a Microsoft user ID for Microsoft user \"{{msUsername}}\"" + }, + "trophy": { + "err-1": "We could not find a Microsoft username associated with your freeCodeCamp account.", + "err-2": "You are trying to submit a challenge that does not appear to be a trophy challenge.", + "err-3": "We could not get your Microsoft profile from your Microsoft ID.", + "err-4": "It appears that the Microsoft user \"{{msUsername}}\" has not earned this trophy.", + "err-5": "Something went wrong trying to verify your trophy. Please check and try again.", + "err-6": "It looks like your Microsoft account might be private. Set it to public and try again.", + "verified": "Your trophy from Microsoft's learning platform was verified." + } + }, + "survey": { + "err-1": "The survey submitted is not in the correct format.", + "err-2": "It looks like you have already completed this survey.", + "err-3": "Something went wrong trying to save your survey.", + "success": "Thank you. Your survey was submitted." + }, + "classroom-mode-updated": "We have updated your classroom mode settings", + "user-fetch-error": "Unable to retrieve your user information. You can still use the site, but your progress may not be saved." + }, + "validation": { + "max-characters": "There is a maximum limit of 288 characters, you have {{charsLeft}} left", + "max-characters-500": "There is a maximum limit of 500 characters, you have {{charsLeft}} left", + "same-email": "This email is the same as your current email", + "invalid-email": "We could not validate your email correctly, please ensure it is correct", + "email-mismatch": "Both new email addresses must be the same", + "title-required": "A title is required", + "title-short": "Title is too short", + "title-long": "Title is too long", + "company-required": "Company is required", + "company-short": "Company name is too short", + "company-long": "Company name is too long", + "start-date-required": "Start date is required", + "invalid-url": "We could not validate your URL correctly, please ensure it is correct", + "invalid-protocol": "URL must start with http or https", + "url-not-image": "URL must link directly to an image file", + "use-valid-url": "Please use a valid URL", + "editor-url": "Remember to submit the Live App URL.", + "http-url": "An unsecure (http) URL cannot be used.", + "own-work-url": "Remember to submit your own work.", + "publicly-visible-url": "Remember to submit a publicly visible app URL.", + "ms-learn-link": "Please use a valid Microsoft Learn trophy link.", + "path-url": "You probably want to submit the root path i.e. https://example.com, not https://example.com/path", + "source-code-link-required": "Remember to submit the link to your source code.", + "source-code-link-public": "Source code link must be publicly visible." + }, + "certification": { + "executive": "Executive Director, freeCodeCamp.org", + "ms-president": "President, Microsoft Developer Division", + "verify": "Verify this certification at:", + "issued": "Issued", + "fulltext": "<0>This certifies that <1>{{user}} <2>successfully completed the <3>{{title}} <4>Developer Certification on {{time}} <5>representing approximately {{completionTime}} hours of work", + "fulltextNoHours": "<0>This certifies that <1>{{user}} <2>successfully completed the <3>{{title}} <4>Developer Certification on {{time}}", + "fulltextLanguageExam": "<0>This certifies that <1>{{user}} <2>has successfully passed the <3>{{title}} <4>exam on {{time}} <5>demonstrating competence in grammar, listening, and reading portions of the CEFR standards for this level based on the content covered in the curriculum.", + "quincy-larson-signature": "Quincy Larson's Signature", + "julia-liuson-signature": "Julia Liuson's Signature", + "project": { + "heading-legacy-full-stack": "As part of this Legacy Full-Stack certification, {{user}} completed the following certifications:", + "heading-exam": "As part of this certification, {{user}} passed the following exam: ", + "heading": "As part of this certification, {{user}} built the following projects and got all automated test suites to pass:", + "solution": "Solution", + "no-solution": "error displaying solution, email support@freeCodeCamp.org to get help.", + "no-solution-to-display": "No solution to display", + "source": "Source", + "footnote": "If you suspect that any of these projects violate the <2>academic honesty policy, please <5>report this to our team.", + "title": { + "Build a Personal Portfolio Webpage": "Build a Personal Portfolio Webpage", + "Build a Random Quote Machine": "Build a Random Quote Machine", + "Build a 25 + 5 Clock": "Build a 25 + 5 Clock", + "Build a JavaScript Calculator": "Build a JavaScript Calculator", + "Show the Local Weather": "Show the Local Weather", + "Use the TwitchTV JSON API": "Use the TwitchTV JSON API", + "Stylize Stories on Camper News": "Stylize Stories on Camper News", + "Build a Wikipedia Viewer": "Build a Wikipedia Viewer", + "Build a Tic Tac Toe Game": "Build a Tic Tac Toe Game", + "Build a Simon Game": "Build a Simon Game", + "Timestamp Microservice": "Timestamp Microservice", + "Request Header Parser Microservice": "Request Header Parser Microservice", + "URL Shortener Microservice": "URL Shortener Microservice", + "Image Search Abstraction Layer": "Image Search Abstraction Layer", + "File Metadata Microservice": "File Metadata Microservice", + "Build a Voting App": "Build a Voting App", + "Build a Nightlife Coordination App": "Build a Nightlife Coordination App", + "Chart the Stock Market": "Chart the Stock Market", + "Manage a Book Trading Club": "Manage a Book Trading Club", + "Build a Pinterest Clone": "Build a Pinterest Clone", + "Build a Markdown Previewer": "Build a Markdown Previewer", + "Build a Camper Leaderboard": "Build a Camper Leaderboard", + "Build a Recipe Box": "Build a Recipe Box", + "Build the Game of Life": "Build the Game of Life", + "Build a Roguelike Dungeon Crawler Game": "Build a Roguelike Dungeon Crawler Game", + "Visualize Data with a Bar Chart": "Visualize Data with a Bar Chart", + "Visualize Data with a Scatterplot Graph": "Visualize Data with a Scatterplot Graph", + "Visualize Data with a Heat Map": "Visualize Data with a Heat Map", + "Show National Contiguity with a Force Directed Graph": "Show National Contiguity with a Force Directed Graph", + "Map Data Across the Globe": "Map Data Across the Globe", + "Metric-Imperial Converter": "Metric-Imperial Converter", + "Issue Tracker": "Issue Tracker", + "Personal Library": "Personal Library", + "Stock Price Checker": "Stock Price Checker", + "Anonymous Message Board": "Anonymous Message Board", + "Build a Tribute Page": "Build a Tribute Page", + "Build a Survey Form": "Build a Survey Form", + "Build a Product Landing Page": "Build a Product Landing Page", + "Build a Technical Documentation Page": "Build a Technical Documentation Page", + "Palindrome Checker": "Palindrome Checker", + "Roman Numeral Converter": "Roman Numeral Converter", + "Caesars Cipher": "Caesars Cipher", + "Telephone Number Validator": "Telephone Number Validator", + "Cash Register": "Cash Register", + "Build a Drum Machine": "Build a Drum Machine", + "Visualize Data with a Choropleth Map": "Visualize Data with a Choropleth Map", + "Visualize Data with a Treemap Diagram": "Visualize Data with a Treemap Diagram", + "Exercise Tracker": "Exercise Tracker", + "Sudoku Solver": "Sudoku Solver", + "American British Translator": "American British Translator", + "Arithmetic Formatter": "Arithmetic Formatter", + "Time Calculator": "Time Calculator", + "Budget App": "Budget App", + "Polygon Area Calculator": "Polygon Area Calculator", + "Probability Calculator": "Probability Calculator", + "Mean-Variance-Standard Deviation Calculator": "Mean-Variance-Standard Deviation Calculator", + "Demographic Data Analyzer": "Demographic Data Analyzer", + "Medical Data Visualizer": "Medical Data Visualizer", + "Page View Time Series Visualizer": "Page View Time Series Visualizer", + "Sea Level Predictor": "Sea Level Predictor", + "Port Scanner": "Port Scanner", + "SHA-1 Password Cracker": "SHA-1 Password Cracker", + "Secure Real Time Multiplayer Game": "Secure Real Time Multiplayer Game", + "Rock Paper Scissors": "Rock Paper Scissors", + "Cat and Dog Image Classifier": "Cat and Dog Image Classifier", + "Book Recommendation Engine using KNN": "Book Recommendation Engine using KNN", + "Linear Regression Health Costs Calculator": "Linear Regression Health Costs Calculator", + "Neural Network SMS Text Classifier": "Neural Network SMS Text Classifier", + "Celestial Bodies Database": "Celestial Bodies Database", + "World Cup Database": "World Cup Database", + "Salon Appointment Scheduler": "Salon Appointment Scheduler", + "Periodic Table Database": "Periodic Table Database", + "Number Guessing Game": "Number Guessing Game", + "Build a freeCodeCamp Forum Homepage": "Build a freeCodeCamp Forum Homepage" + } + }, + "title": { + "responsive-web-design": "Legacy Responsive Web Design V8", + "responsive-web-design-cert": "Legacy Responsive Web Design V8 Certification", + "javascript-algorithms-and-data-structures": "Legacy JavaScript Algorithms and Data Structures V7", + "javascript-algorithms-and-data-structures-cert": "Legacy JavaScript Algorithms and Data Structures V7 Certification", + "javascript-algorithms-and-data-structures-v8": "Legacy JavaScript Algorithms and Data Structures V8", + "javascript-algorithms-and-data-structures-v8-cert": "Legacy JavaScript Algorithms and Data Structures V8 Certification", + "front-end-development-libraries": "Front-End Development Libraries V8", + "front-end-development-libraries-cert": "Front-End Development Libraries V8 Certification", + "data-visualization": "Data Visualization V8", + "data-visualization-cert": "Data Visualization V8 Certification", + "relational-database-v8": "Relational Database V8", + "relational-database-v8-cert": "Relational Database V8 Certification", + "back-end-development-and-apis": "Back-End Development and APIs V8", + "back-end-development-and-apis-cert": "Back-End Development and APIs V8 Certification", + "quality-assurance-v7": "Quality Assurance", + "quality-assurance-v7-cert": "Quality Assurance Certification", + "scientific-computing-with-python-v7": "Scientific Computing with Python", + "scientific-computing-with-python-v7-cert": "Scientific Computing with Python Certification", + "data-analysis-with-python-v7": "Data Analysis with Python", + "data-analysis-with-python-v7-cert": "Data Analysis with Python Certification", + "information-security-v7": "Information Security", + "information-security-v7-cert": "Information Security Certification", + "machine-learning-with-python-v7": "Machine Learning with Python", + "machine-learning-with-python-v7-cert": "Machine Learning with Python Certification", + "college-algebra-with-python-v8": "College Algebra with Python", + "college-algebra-with-python-v8-cert": "College Algebra with Python Certification", + "foundational-c-sharp-with-microsoft": "Foundational C# with Microsoft", + "foundational-c-sharp-with-microsoft-cert": "Foundational C# with Microsoft Certification", + "learn-python-for-beginners": "Learn Python for Beginners", + "introduction-to-algorithms-and-data-structures": "Introduction to Algorithms and Data Structures", + "learn-rag-mcp-fundamentals": "Learn RAG and MCP Fundamentals", + "introduction-to-precalculus": "Introduction to Precalculus", + "learn-oop-with-python": "Learn OOP with Python", + "a2-english-for-developers": "A2 English for Developers (Beta)", + "a2-english-for-developers-cert": "A2 English for Developers Certification (Beta)", + "b1-english-for-developers": "B1 English for Developers (Beta)", + "b1-english-for-developers-cert": "B1 English for Developers Certification (Beta)", + "responsive-web-design-v9": "Responsive Web Design", + "responsive-web-design-v9-cert": "Responsive Web Design Certification", + "javascript-v9": "JavaScript", + "javascript-v9-cert": "JavaScript Certification", + "front-end-development-libraries-v9": "Front-End Development Libraries", + "front-end-development-libraries-v9-cert": "Front-End Development Libraries Certification", + "python-v9": "Python", + "python-v9-cert": "Python Certification", + "relational-databases-v9": "Relational Database", + "relational-databases-v9-cert": "Relational Database Certification", + "back-end-development-and-apis-v9": "Back-End Development and APIs", + "back-end-development-and-apis-v9-cert": "Back-End Development and APIs Certification", + "full-stack-developer-v9": "Full-Stack Developer", + "full-stack-developer-v9-cert": "Full-Stack Developer Certification", + "a1-professional-spanish": "A1 Professional Spanish", + "a1-professional-spanish-cert": "A1 Professional Spanish Certification", + "a2-professional-spanish": "A2 Professional Spanish", + "a2-professional-spanish-cert": "A2 Professional Spanish Certification", + "a2-professional-chinese": "A2 Professional Chinese", + "a2-professional-chinese-cert": "A2 Professional Chinese Certification", + "a1-professional-chinese": "A1 Professional Chinese", + "a1-professional-chinese-cert": "A1 Professional Chinese Certification", + "legacy-front-end": "Legacy Front-End", + "legacy-front-end-cert": "Legacy Front-End Certification", + "legacy-back-end": "Legacy Back-End", + "legacy-back-end-cert": "Legacy Back-End Certification", + "legacy-data-visualization": "Legacy Data Visualization", + "legacy-data-visualization-cert": "Legacy Data Visualization Certification", + "information-security-and-quality-assurance": "Legacy Information Security and Quality Assurance", + "information-security-and-quality-assurance-cert": "Legacy Information Security and Quality Assurance Certification", + "full-stack": "Legacy Full-Stack", + "full-stack-cert": "Legacy Full-Stack Certification", + "introduction-to-bash": "Introduction to Bash", + "introduction-to-sql-and-postgresql": "Introduction to SQL and PostgreSQL", + "learn-bash-scripting": "Learn Bash Scripting", + "learn-sql-and-bash": "Learn SQL and Bash", + "introduction-to-nano": "Introduction to Nano", + "introduction-to-git-and-github": "Introduction to Git and GitHub", + "introduction-to-variables-and-strings-in-javascript": "Introduction to Variables and Strings in JavaScript", + "introduction-to-booleans-and-numbers-in-javascript": "Introduction to Booleans and Numbers in JavaScript", + "introduction-functions-in-javascript": "Introduction to Functions in JavaScript", + "introduction-to-arrays-in-javascript": "Introduction to Arrays in JavaScript", + "introduction-to-objects-in-javascript": "Introduction to Objects in JavaScript", + "introduction-to-loops-in-javascript": "Introduction to Loops in JavaScript", + "javascript-fundamentals-review": "JavaScript Fundamentals Review", + "introduction-to-higher-order-functions-and-callbacks-in-javascript": "Introduction to Higher-Order Functions and Callbacks in JavaScript", + "learn-dom-manipulation-and-events-with-javascript": "Learn DOM Manipulation and Events with JavaScript", + "introduction-to-javascript-and-accessibility": "Introduction to JavaScript and Accessibility", + "learn-javascript-debugging": "Learn JavaScript Debugging", + "learn-basic-regex-with-javascript": "Learn Basic Regex with JavaScript", + "introduction-to-dates-in-javascript": "Introduction to Dates in JavaScript", + "learn-audio-and-video-events-with-javascript": "Learn Audio and Video Events with JavaScript", + "introduction-to-maps-and-sets-in-javascript": "Introduction to Maps and Sets in JavaScript", + "learn-localstorage-and-crud-operations-with-javascript": "Learn localStorage and CRUD Operations with JavaScript", + "introduction-to-javascript-classes": "Introduction to JavaScript Classes", + "learn-recursion-with-javascript": "Learn Recursion with JavaScript", + "introduction-to-functional-programming-with-javascript": "Introduction to Functional Programming with JavaScript", + "introduction-to-asynchronous-javascript": "Introduction to Asynchronous JavaScript", + "learn-data-visualization-with-d3": "Learn Data Visualization with D3", + "introduction-to-python-basics": "Introduction to Python Basics", + "learn-python-loops-and-sequences": "Learn Python Loops and Sequences", + "learn-python-dictionaries-and-sets": "Learn Python Dictionaries and Sets", + "learn-error-handling-in-python": "Learn Error Handling in Python", + "learn-python-classes-and-objects": "Learn Python Classes and Objects", + "introduction-to-oop-in-python": "Introduction to OOP in Python", + "introduction-to-linear-data-structures-in-python": "Introduction to Linear Data Structures in Python", + "learn-algorithms-in-python": "Learn Algorithms in Python", + "learn-graphs-and-trees-in-python": "Learn Graphs and Trees in Python", + "learn-dynamic-programming-in-python": "Learn Dynamic Programming in Python" + } + }, + "certification-card": { + "title": "Claim Your Certification", + "intro": "Complete the following steps to claim and view your {{i18nCertText}}", + "complete-project": "Complete {{i18nCertText}} Projects", + "accept-honesty": "Accept our Academic Honesty Policy", + "set-name": "Set your name, and make it public", + "set-certs-public": "Set your certification settings to public", + "set-profile-public": "Set your profile settings to public", + "set-claim": "Claim and view your certification" + }, + "forum-help": { + "browser-info": "Your browser information:", + "user-agent": "User Agent is: {{userAgent}}", + "challenge": "Challenge Information:", + "whats-happening": "Tell us what's happening:", + "describe": "Describe your issue in detail here. Example: \nMy h1 element is missing an opening tag. Need help checking my code. \nOR \nMy for loop runs infinitely. How to prevent this?", + "camper-project": "Your project link(s)", + "camper-code": "Your code so far", + "warning": "WARNING", + "too-long-one": "The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.", + "too-long-two": "You will need to take an additional step here so the code you wrote presents in an easy to read format.", + "too-long-three": "Please copy/paste all the editor code showing in the challenge from where you just linked.", + "add-code-one": "Replace these two sentences with your copied code.", + "add-code-two": "Please leave the ``` line above and the ``` line below,", + "add-code-three": "because they allow your code to properly format in the post.", + "git-info": "GitHub Link: {{gitLink}}" + }, + "user-token": { + "title": "User Token", + "create": "Create a new token", + "create-p1": "It looks like you don't have a user token. Create one to save your progress on this section", + "create-p2": "Create a user token to save your progress on the curriculum sections that use a virtual machine.", + "delete": "Delete my user token", + "delete-title": "Delete My User Token", + "delete-p1": "Your user token is used to save your progress on curriculum sections that use a virtual machine. If you suspect it has been compromised, you can delete it without losing any progress. A new one will be created automatically the next time you open a project.", + "delete-p2": "If you suspect your token has been compromised, you can delete it to make it unusable. Progress on previously submitted lessons will not be lost.", + "delete-p3": "You will need to create a new token to save future progress on the curriculum sections that use a virtual machine.", + "no-thanks": "No thanks, I would like to keep my token", + "yes-please": "Yes please, I would like to delete my token" + }, + "exam-token": { + "exam-token": "Exam Token", + "note": "Your exam token is a secret key that allows you to access exams. Do not share this token with anyone.", + "invalidation-1": "It looks like you have a valid exam token. If you generate a new one, your existing token will be invalidated.", + "invalidation-2": "If you generate a new token, your existing token will be invalidated.", + "generate-exam-token": "Generate Exam Token", + "your-exam-token": "Your Exam Token is: {{token}}", + "error": "There was an error generating your token, please try again in a moment.", + "no-token": "It looks like you don't have a valid exam token.", + "copy": "Copy Exam Token", + "copied": "Token copied to clipboard", + "copy-error": "Error copying token to clipboard", + "token-usage": "Your Exam Environment authorization token is used to log you into the desktop application.", + "generated": "A new Exam Environment authorization token has been generated for your account.", + "non-staff-testing": "Only freeCodeCamp staff are allowed to generate exam tokens on non-production environments at this time." + }, + "shortcuts": { + "title": "Keyboard shortcuts", + "table-header-action": "Action", + "table-header-key": "Key(s)", + "navigation-mode": "Navigation Mode", + "execute-challenge": "Execute Challenge", + "focus-editor": "Focus Editor", + "focus-instructions-panel": "Focus Instructions Panel", + "navigate-previous": "Navigate To Previous Exercise", + "navigate-next": "Navigate To Next Exercise", + "play-video": "Play Video" + }, + "signout": { + "heading": "Sign out of your account", + "p1": "Warning: If you continue, your progress will no longer be saved.", + "p2": "This action will sign you out of your account on this device and browser session only. Please confirm if you would like to proceed.", + "certain": "Yes, sign out of my account", + "nevermind": "Nevermind, I don't want to sign out" + }, + "staging-warning": { + "heading": "Warning: This is an early access test deployment", + "p1": "We welcome you to try this platform in a test-only mode and get early access to upcoming features. Sometimes these changes are referred to as next, beta, staging, etc. interchangeably.", + "p2": "We thank you for reporting bugs that you encounter and help in making freeCodeCamp.org better.", + "p3": "Your progress MAY NOT be saved on your next visit, and any certifications claimed on this deployment are not valid.", + "certain": "Accept and Dismiss" + }, + "survey": { + "foundational-c-sharp": { + "title": "Foundational C# with Microsoft Survey", + "q1": { + "q": "Please describe your role:", + "o1": "Student developer", + "o2": "Beginner developer (less than 2 years experience)", + "o3": "Intermediate developer (between 2 and 5 years experience)", + "o4": "Experienced developer (more than 5 years experience)" + }, + "q2": { + "q": "Prior to this course, how experienced were you with .NET and C#?", + "o1": "Novice (no prior experience)", + "o2": "Beginner", + "o3": "Intermediate", + "o4": "Advanced", + "o5": "Expert" + } + }, + "misc": { + "take": "Take the survey", + "submit": "Submit the survey", + "exit": "Exit the survey", + "two-questions": "Congratulations on getting this far. Before you can start the exam, please answer these two short survey questions." + } + }, + "speaking-modal": { + "heading": "Speaking Practice", + "repeat-sentence": "Repeat aloud this sentence:", + "play": "Play", + "playing": "Playing...", + "record": "Record", + "stop": "Stop", + "incorrect-words": "Incorrect words: {{words}}.", + "misplaced-words": "Misplaced words: {{words}}.", + "correct-congratulations": "That's correct! Congratulations!", + "very-good": "Very good!", + "try-again": "Try again.", + "no-audio-available": "No audio file available.", + "no-speech-detected": "Recording stopped. No speech detected.", + "speech-recognition-not-supported": "Speech recognition not supported in this browser.", + "recording-speak-now": "Recording. Speak now.", + "recording-stopped-processing": "Recording stopped. Processing...", + "microphone-access-error": "Error: Could not access microphone.", + "speaking-button": "Practice speaking" + }, + "curriculum": { + "catalog": { + "title": "Explore our Catalog", + "levels": { + "beginner": "Beginner", + "intermediate": "Intermediate", + "advanced": "Advanced" + }, + "duration-singular": "{{duration}} hour", + "duration": "{{duration}} hours", + "no-results": "No courses found. Try adjusting your filters to see more results.", + "topic": { + "html": "HTML", + "css": "CSS", + "js": "JavaScript", + "react": "React", + "python": "Python", + "data-analysis": "Data Analysis", + "machine-learning": "Machine Learning", + "d3": "D3", + "api": "APIs", + "information-security": "Information Security", + "computer-fundamentals": "Computer Fundamentals", + "computer-science": "Computer Science", + "math": "Math", + "databases": "Databases", + "bash": "Bash", + "git": "Git", + "editors": "Editors", + "ai": "AI" + } + } + } +} diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/espanol/links.json b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/espanol/links.json new file mode 100644 index 0000000000000000000000000000000000000000..f838b0b8c559ce25612920c74ae2090fbd5cf724 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/espanol/links.json @@ -0,0 +1,41 @@ +{ + "help-translate-link-url": "https://contribute.freecodecamp.org/getting-started/#translations", + "top-contributors": "https://www.freecodecamp.org/news/freecodecamp-top-contributors/", + "footer": { + "about-url": "https://www.freecodecamp.org/espanol/news/acerca-de-freecodecamp-preguntas-frecuentes/", + "shop-url": "https://shop.freecodecamp.org/", + "support-url": "https://www.freecodecamp.org/espanol/news/preguntas-comunes-de-soporte-tecnico/", + "sponsors-url": "https://www.freecodecamp.org/news/sponsors/", + "honesty-url": "https://www.freecodecamp.org/espanol/news/politica-de-honestidad-academica/", + "coc-url": "https://www.freecodecamp.org/espanol/news/codigo-de-conducta/", + "privacy-url": "https://www.freecodecamp.org/news/privacy-policy/", + "tos-url": "https://www.freecodecamp.org/news/terms-of-service/", + "copyright-url": "https://www.freecodecamp.org/news/copyright-policy/" + }, + "donate": { + "other-ways-url": "https://www.freecodecamp.org/news/how-to-donate-to-free-code-camp", + "download-irs-url": "https://s3.amazonaws.com/freecodecamp/Free+Code+Camp+Inc+IRS+Determination+Letter.pdf", + "download-990-url": "https://freecodecamp.s3.amazonaws.com/freeCodeCamp+2019+f990.pdf", + "one-time-url": "https://paypal.me/freecodecamp" + }, + "nav": { + "contribute": "https://contribute.freecodecamp.org/#/i18n/espanol/index", + "forum": "https://forum.freecodecamp.org/", + "news": "https://freecodecamp.org/espanol/news/", + "podcast": "https://www.freecodecamp.org/espanol/news/el-podcast-de-freecodecamp-en-espanol/" + }, + "help": { + "HTML-CSS": "curriculum-help", + "JavaScript": "curriculum-help", + "Python": "curriculum-help", + "Backend Development": "curriculum-help", + "C-Sharp": "curriculum-help", + "English": "curriculum-help", + "Spanish Curriculum": "curriculum-help", + "Chinese Curriculum": "curriculum-help", + "Odin": "curriculum-help", + "Euler": "curriculum-help", + "Rosetta": "curriculum-help", + "General": "curriculum-help" + } +} diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/german/links.json b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/german/links.json new file mode 100644 index 0000000000000000000000000000000000000000..3a6286c313f246c58f70540417116f6ec5af330a --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/german/links.json @@ -0,0 +1,41 @@ +{ + "help-translate-link-url": "https://contribute.freecodecamp.org/getting-started/#translations", + "top-contributors": "https://www.freecodecamp.org/news/freecodecamp-top-contributors/", + "footer": { + "about-url": "https://www.freecodecamp.org/news/about/", + "shop-url": "https://shop.freecodecamp.org/", + "support-url": "https://www.freecodecamp.org/news/support/", + "sponsors-url": "https://www.freecodecamp.org/news/sponsors/", + "honesty-url": "https://www.freecodecamp.org/news/academic-honesty-policy/", + "coc-url": "https://www.freecodecamp.org/news/code-of-conduct/", + "privacy-url": "https://www.freecodecamp.org/news/privacy-policy/", + "tos-url": "https://www.freecodecamp.org/news/terms-of-service/", + "copyright-url": "https://www.freecodecamp.org/news/copyright-policy/" + }, + "donate": { + "other-ways-url": "https://www.freecodecamp.org/news/how-to-donate-to-free-code-camp", + "download-irs-url": "https://s3.amazonaws.com/freecodecamp/Free+Code+Camp+Inc+IRS+Determination+Letter.pdf", + "download-990-url": "https://freecodecamp.s3.amazonaws.com/freeCodeCamp+2019+f990.pdf", + "one-time-url": "https://paypal.me/freecodecamp" + }, + "nav": { + "contribute": "https://contribute.freecodecamp.org/#/i18n/german/index", + "forum": "https://forum.freecodecamp.org/", + "news": "https://freecodecamp.org/german/news/", + "podcast": "https://freecodecamp.libsyn.com/" + }, + "help": { + "HTML-CSS": "curriculum-help", + "JavaScript": "curriculum-help", + "Python": "curriculum-help", + "Backend Development": "curriculum-help", + "C-Sharp": "curriculum-help", + "English": "curriculum-help", + "Spanish Curriculum": "curriculum-help", + "Chinese Curriculum": "curriculum-help", + "Odin": "curriculum-help", + "Euler": "curriculum-help", + "Rosetta": "curriculum-help", + "General": "curriculum-help" + } +} diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/italian/links.json b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/italian/links.json new file mode 100644 index 0000000000000000000000000000000000000000..25acf627f18203947de067923ebb863b7870abaf --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/italian/links.json @@ -0,0 +1,41 @@ +{ + "help-translate-link-url": "https://contribute.freecodecamp.org/getting-started/#translations", + "top-contributors": "https://www.freecodecamp.org/news/freecodecamp-top-contributors/", + "footer": { + "about-url": "https://www.freecodecamp.org/news/about/", + "shop-url": "https://shop.freecodecamp.org/", + "support-url": "https://www.freecodecamp.org/news/support/", + "sponsors-url": "https://www.freecodecamp.org/news/sponsors/", + "honesty-url": "https://www.freecodecamp.org/news/academic-honesty-policy/", + "coc-url": "https://www.freecodecamp.org/news/code-of-conduct/", + "privacy-url": "https://www.freecodecamp.org/news/privacy-policy/", + "tos-url": "https://www.freecodecamp.org/news/terms-of-service/", + "copyright-url": "https://www.freecodecamp.org/news/copyright-policy/" + }, + "donate": { + "other-ways-url": "https://www.freecodecamp.org/news/how-to-donate-to-free-code-camp", + "download-irs-url": "https://s3.amazonaws.com/freecodecamp/Free+Code+Camp+Inc+IRS+Determination+Letter.pdf", + "download-990-url": "https://freecodecamp.s3.amazonaws.com/freeCodeCamp+2019+f990.pdf", + "one-time-url": "https://paypal.me/freecodecamp" + }, + "nav": { + "contribute": "https://contribute.freecodecamp.org/#/i18n/italian/index", + "forum": "https://forum.freecodecamp.org/", + "news": "https://freecodecamp.org/italian/news/", + "podcast": "https://freecodecamp.libsyn.com/" + }, + "help": { + "HTML-CSS": "curriculum-help", + "JavaScript": "curriculum-help", + "Python": "curriculum-help", + "Backend Development": "curriculum-help", + "C-Sharp": "curriculum-help", + "English": "curriculum-help", + "Spanish Curriculum": "curriculum-help", + "Chinese Curriculum": "curriculum-help", + "Odin": "curriculum-help", + "Euler": "curriculum-help", + "Rosetta": "curriculum-help", + "General": "curriculum-help" + } +} diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/japanese/links.json b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/japanese/links.json new file mode 100644 index 0000000000000000000000000000000000000000..c2f876793be7d9c11bceb4a5a527091a90679d40 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/japanese/links.json @@ -0,0 +1,41 @@ +{ + "help-translate-link-url": "https://contribute.freecodecamp.org/getting-started/#translations", + "top-contributors": "https://www.freecodecamp.org/news/freecodecamp-top-contributors/", + "footer": { + "about-url": "https://www.freecodecamp.org/japanese/news/about/", + "shop-url": "https://shop.freecodecamp.org/", + "support-url": "https://www.freecodecamp.org/japanese/news/support/", + "sponsors-url": "https://www.freecodecamp.org/news/sponsors/", + "honesty-url": "https://www.freecodecamp.org/japanese/news/academic-honesty-policy/", + "coc-url": "https://www.freecodecamp.org/japanese/news/code-of-conduct/", + "privacy-url": "https://www.freecodecamp.org/news/privacy-policy/", + "tos-url": "https://www.freecodecamp.org/news/terms-of-service/", + "copyright-url": "https://www.freecodecamp.org/news/copyright-policy/" + }, + "donate": { + "other-ways-url": "https://www.freecodecamp.org/japanese/news/how-to-donate-to-free-code-camp", + "download-irs-url": "https://s3.amazonaws.com/freecodecamp/Free+Code+Camp+Inc+IRS+Determination+Letter.pdf", + "download-990-url": "https://freecodecamp.s3.amazonaws.com/freeCodeCamp+2019+f990.pdf", + "one-time-url": "https://paypal.me/freecodecamp" + }, + "nav": { + "contribute": "https://contribute.freecodecamp.org/#/i18n/japanese/index", + "forum": "https://forum.freecodecamp.org/", + "news": "https://www.freecodecamp.org/japanese/news/", + "podcast": "https://freecodecamp.libsyn.com/" + }, + "help": { + "HTML-CSS": "curriculum-help", + "JavaScript": "curriculum-help", + "Python": "curriculum-help", + "Backend Development": "curriculum-help", + "C-Sharp": "curriculum-help", + "English": "curriculum-help", + "Spanish Curriculum": "curriculum-help", + "Chinese Curriculum": "curriculum-help", + "Odin": "curriculum-help", + "Euler": "curriculum-help", + "Rosetta": "curriculum-help", + "General": "curriculum-help" + } +} diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/korean/links.json b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/korean/links.json new file mode 100644 index 0000000000000000000000000000000000000000..5b273959775719c526cc187199ba3c0fec6088aa --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/korean/links.json @@ -0,0 +1,43 @@ +{ + "help-translate-link-url": "https://contribute.freecodecamp.org/getting-started/#translations", + "top-contributors": "https://www.freecodecamp.org/news/freecodecamp-top-contributors/", + "footer": { + "about-url": "https://www.freecodecamp.org/news/about/", + "shop-url": "https://shop.freecodecamp.org/", + "support-url": "https://www.freecodecamp.org/news/support/", + "sponsors-url": "https://www.freecodecamp.org/news/sponsors/", + "honesty-url": "https://www.freecodecamp.org/news/academic-honesty-policy/", + "coc-url": "https://www.freecodecamp.org/news/code-of-conduct/", + "privacy-url": "https://www.freecodecamp.org/news/privacy-policy/", + "tos-url": "https://www.freecodecamp.org/news/terms-of-service/", + "copyright-url": "https://www.freecodecamp.org/news/copyright-policy/" + }, + "donate": { + "other-ways-url": "https://www.freecodecamp.org/news/how-to-donate-to-free-code-camp", + "download-irs-url": "https://s3.amazonaws.com/freecodecamp/Free+Code+Camp+Inc+IRS+Determination+Letter.pdf", + "download-990-url": "https://freecodecamp.s3.amazonaws.com/freeCodeCamp+2019+f990.pdf", + "one-time-url": "https://paypal.me/freecodecamp", + "one-time-external-url": "https://www.freecodecamp.org/news/how-to-donate-to-free-code-camp/#how-can-i-make-a-one-time-donation", + "mail-check-url": "https://www.freecodecamp.org/news/how-to-donate-to-free-code-camp/#can-i-mail-a-physical-check" + }, + "nav": { + "contribute": "https://contribute.freecodecamp.org/#/", + "forum": "https://forum.freecodecamp.org/", + "news": "https://www.freecodecamp.org/korean/news/search/", + "podcast": "https://freecodecamp.libsyn.com/" + }, + "help": { + "HTML-CSS": "curriculum-help", + "JavaScript": "curriculum-help", + "Python": "curriculum-help", + "Backend Development": "curriculum-help", + "C-Sharp": "curriculum-help", + "English": "curriculum-help", + "Spanish Curriculum": "curriculum-help", + "Chinese Curriculum": "curriculum-help", + "Odin": "curriculum-help", + "Euler": "curriculum-help", + "Rosetta": "curriculum-help", + "General": "curriculum-help" + } +} diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/portuguese/links.json b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/portuguese/links.json new file mode 100644 index 0000000000000000000000000000000000000000..e3c63456533bbb3bebc69ff0ac91c94ef9757f43 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/portuguese/links.json @@ -0,0 +1,41 @@ +{ + "help-translate-link-url": "https://contribute.freecodecamp.org/getting-started/#translations", + "top-contributors": "https://www.freecodecamp.org/news/freecodecamp-top-contributors/", + "footer": { + "about-url": "https://www.freecodecamp.org/portuguese/news/sobre-o-freecodecamp-perguntas-frequentes/", + "shop-url": "https://shop.freecodecamp.org/", + "support-url": "https://www.freecodecamp.org/portuguese/news/perguntas-frequentes-sobre-suporte-tecnico-faq-do-freecodecamp/", + "sponsors-url": "https://www.freecodecamp.org/news/sponsors/", + "honesty-url": "https://www.freecodecamp.org/portuguese/news/politica-de-honestidade-academica-do-freecodecamp/", + "coc-url": "https://www.freecodecamp.org/portuguese/news/codigo-de-conduta-do-freecodecamp/", + "privacy-url": "https://www.freecodecamp.org/news/privacy-policy/", + "tos-url": "https://www.freecodecamp.org/news/terms-of-service/", + "copyright-url": "https://www.freecodecamp.org/news/copyright-policy/" + }, + "donate": { + "other-ways-url": "https://www.freecodecamp.org/news/how-to-donate-to-free-code-camp", + "download-irs-url": "https://s3.amazonaws.com/freecodecamp/Free+Code+Camp+Inc+IRS+Determination+Letter.pdf", + "download-990-url": "https://freecodecamp.s3.amazonaws.com/freeCodeCamp+2019+f990.pdf", + "one-time-url": "https://paypal.me/freecodecamp" + }, + "nav": { + "contribute": "https://contribute.freecodecamp.org/#/i18n/portuguese/index", + "forum": "https://forum.freecodecamp.org/", + "news": "https://freecodecamp.org/portuguese/news/", + "podcast": "https://open.spotify.com/show/70m92At5oht4zY4f87lLEE?si=6tozUAOBQFSVyaqixy6aCg" + }, + "help": { + "HTML-CSS": "curriculum-help", + "JavaScript": "curriculum-help", + "Python": "curriculum-help", + "Backend Development": "curriculum-help", + "C-Sharp": "curriculum-help", + "English": "curriculum-help", + "Spanish Curriculum": "curriculum-help", + "Chinese Curriculum": "curriculum-help", + "Odin": "curriculum-help", + "Euler": "curriculum-help", + "Rosetta": "curriculum-help", + "General": "curriculum-help" + } +} diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/swahili/links.json b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/swahili/links.json new file mode 100644 index 0000000000000000000000000000000000000000..1447e85c2dade52d13ce1b30a79e3a83bda67b8b --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/swahili/links.json @@ -0,0 +1,41 @@ +{ + "help-translate-link-url": "https://contribute.freecodecamp.org/getting-started/#translations", + "top-contributors": "https://www.freecodecamp.org/news/freecodecamp-top-contributors/", + "footer": { + "about-url": "https://www.freecodecamp.org/news/about/", + "shop-url": "https://shop.freecodecamp.org/", + "support-url": "https://www.freecodecamp.org/news/support/", + "sponsors-url": "https://www.freecodecamp.org/news/sponsors/", + "honesty-url": "https://www.freecodecamp.org/news/academic-honesty-policy/", + "coc-url": "https://www.freecodecamp.org/news/code-of-conduct/", + "privacy-url": "https://www.freecodecamp.org/news/privacy-policy/", + "tos-url": "https://www.freecodecamp.org/news/terms-of-service/", + "copyright-url": "https://www.freecodecamp.org/news/copyright-policy/" + }, + "donate": { + "other-ways-url": "https://www.freecodecamp.org/news/how-to-donate-to-free-code-camp", + "download-irs-url": "https://s3.amazonaws.com/freecodecamp/Free+Code+Camp+Inc+IRS+Determination+Letter.pdf", + "download-990-url": "https://freecodecamp.s3.amazonaws.com/freeCodeCamp+2019+f990.pdf", + "one-time-url": "https://paypal.me/freecodecamp" + }, + "nav": { + "contribute": "https://contribute.freecodecamp.org/#/", + "forum": "https://forum.freecodecamp.org/", + "news": "https://freecodecamp.org/news/", + "podcast": "https://freecodecamp.libsyn.com/" + }, + "help": { + "HTML-CSS": "curriculum-help", + "JavaScript": "curriculum-help", + "Python": "curriculum-help", + "Backend Development": "curriculum-help", + "C-Sharp": "curriculum-help", + "English": "curriculum-help", + "Spanish Curriculum": "curriculum-help", + "Chinese Curriculum": "curriculum-help", + "Odin": "curriculum-help", + "Euler": "curriculum-help", + "Rosetta": "curriculum-help", + "General": "curriculum-help" + } +} diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/ukrainian/links.json b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/ukrainian/links.json new file mode 100644 index 0000000000000000000000000000000000000000..04b6c7836355542614a165bae5d869fcda18f5f6 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/locales/ukrainian/links.json @@ -0,0 +1,41 @@ +{ + "help-translate-link-url": "https://contribute.freecodecamp.org/getting-started/#translations", + "top-contributors": "https://www.freecodecamp.org/news/freecodecamp-top-contributors/", + "footer": { + "about-url": "https://www.freecodecamp.org/ukrainian/news/chapy-freecodecamp/", + "shop-url": "https://shop.freecodecamp.org/", + "support-url": "https://www.freecodecamp.org/ukrainian/news/chapy-freecodecamp-populyarni-zapytannya-tekhnichniy-pidtrymtsi/", + "sponsors-url": "https://www.freecodecamp.org/news/sponsors/", + "honesty-url": "https://www.freecodecamp.org/ukrainian/news/polityka-akademichnoyi-dobrochesnosti-freecodecamp/", + "coc-url": "https://www.freecodecamp.org/ukrainian/news/kodeks-povedinky-freecodecamp/", + "privacy-url": "https://www.freecodecamp.org/news/privacy-policy/", + "tos-url": "https://www.freecodecamp.org/news/terms-of-service/", + "copyright-url": "https://www.freecodecamp.org/news/copyright-policy/" + }, + "donate": { + "other-ways-url": "https://www.freecodecamp.org/news/how-to-donate-to-free-code-camp", + "download-irs-url": "https://s3.amazonaws.com/freecodecamp/Free+Code+Camp+Inc+IRS+Determination+Letter.pdf", + "download-990-url": "https://freecodecamp.s3.amazonaws.com/freeCodeCamp+2019+f990.pdf", + "one-time-url": "https://paypal.me/freecodecamp" + }, + "nav": { + "contribute": "https://contribute.freecodecamp.org/#/i18n/ukrainian/index", + "forum": "https://forum.freecodecamp.org/", + "news": "https://www.freecodecamp.org/ukrainian/news/", + "podcast": "https://freecodecamp.libsyn.com/" + }, + "help": { + "HTML-CSS": "curriculum-help", + "JavaScript": "curriculum-help", + "Python": "curriculum-help", + "Backend Development": "curriculum-help", + "C-Sharp": "curriculum-help", + "English": "curriculum-help", + "Spanish Curriculum": "curriculum-help", + "Chinese Curriculum": "curriculum-help", + "Odin": "curriculum-help", + "Euler": "curriculum-help", + "Rosetta": "curriculum-help", + "General": "curriculum-help" + } +} diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/i18n/schema-validation.ts b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/schema-validation.ts new file mode 100644 index 0000000000000000000000000000000000000000..98ed44ceb119b58ca1838a5504c9f1240213ca54 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/i18n/schema-validation.ts @@ -0,0 +1,246 @@ +import path from 'path'; +import { readFile } from 'fs/promises'; +import { availableLangs } from '@freecodecamp/shared/config/i18n'; +import introSchema from './locales/english/intro.json'; +import linksSchema from './locales/english/links.json'; +import metaTagsSchema from './locales/english/meta-tags.json'; +import motivationSchema from './locales/english/motivation.json'; +import translationsSchema from './locales/english/translations.json'; + +type MotivationalQuotes = { quote: string; author: string }[]; + +/** + * Flattens a nested object structure into a single + * object with property chains as keys. + * @param {Object} obj Object to flatten + * @param {String} namespace Used for property chaining + */ +const flattenAnObject = (obj: Record, namespace = '') => { + const flattened: Record = {}; + Object.keys(obj).forEach(key => { + const value = obj[key]; + const field = namespace ? `${namespace}.${key}` : key; + if (Array.isArray(value)) { + flattened[field] = value; + } else if (typeof value === 'object') { + Object.assign( + flattened, + flattenAnObject(value as Record, field) + ); + } else { + flattened[field] = value; + } + }); + return flattened; +}; + +/** + * Checks if a translation object is missing keys + * that are present in the schema. + * @param {String[]} file Array of translation object's keys + * @param {String[]} schema Array of matching schema's keys + * @param {String} path string path to file + */ +const findMissingKeys = (file: string[], schema: string[], path: string) => { + const missingKeys = []; + for (const key of schema) { + if (!file.includes(key)) { + missingKeys.push(key); + } + } + if (missingKeys.length) { + console.warn( + `${path} is missing these required keys: ${missingKeys.join(', ')}` + ); + } +}; + +/** + * Checks if a translation object has extra + * keys which are NOT present in the schema. + * @param {String[]} file Array of translation object's keys + * @param {String[]} schema Array of matching schema's keys + * @param {String} path string path to file + */ +const findExtraneousKeys = (file: string[], schema: string[], path: string) => { + const extraKeys = []; + for (const key of file) { + if (!schema.includes(key)) { + extraKeys.push(key); + } + } + if (extraKeys.length) { + console.warn( + `${path} has these keys that are not in the schema: ${extraKeys.join( + ', ' + )}` + ); + } +}; + +/** + * Validates that all values in the object are non-empty. Includes + * validation of nested objects. + * @param {Object} obj The object to check the values of + * @param {String} namespace String for tracking nested properties + */ +const noEmptyObjectValues = ( + obj: Record, + namespace = '' +): string[] => { + const emptyKeys = []; + for (const key of Object.keys(obj)) { + const value = obj[key]; + const field = namespace ? `${namespace}.${key}` : key; + if (Array.isArray(value)) { + if (!value.length) { + emptyKeys.push(field); + } + } else if (typeof value === 'object') { + emptyKeys.push( + noEmptyObjectValues(value as Record, field) + ); + } else if (!value) { + emptyKeys.push(field); + } + } + return emptyKeys.flat(); +}; + +/** + * Grab the schema keys once, to avoid overhead of + * fetching within iterative function. + */ +const translationSchemaKeys = Object.keys(flattenAnObject(translationsSchema)); +const motivationSchemaKeys = Object.keys(flattenAnObject(motivationSchema)); +const introSchemaKeys = Object.keys(flattenAnObject(introSchema)); +const metaTagsSchemaKeys = Object.keys(flattenAnObject(metaTagsSchema)); +const linksSchemaKeys = Object.keys(flattenAnObject(linksSchema)); + +/** + * Function that checks the translations.json file + * for each available client language. + * @param {String[]} languages List of languages to test + */ +const translationSchemaValidation = (languages: string[]) => { + languages.forEach(language => { + void readJsonFile(language, 'translations').then(fileJson => { + schemaValidation( + language, + 'translations', + fileJson, + translationSchemaKeys + ); + }); + }); +}; + +/** + * Function that checks the motivation.json file + * for each available client language. + * @param {String[]} languages List of languages to test + */ +const motivationSchemaValidation = (languages: string[]) => { + languages.forEach(language => { + void readJsonFile(language, 'motivation').then(fileJson => { + schemaValidation(language, 'motivation', fileJson, motivationSchemaKeys); + }); + }); +}; + +/** + * Function that checks the intro.json file + * for each available client language. + * @param {String[]} languages List of languages to test + */ +const introSchemaValidation = (languages: string[]) => { + languages.forEach(language => { + void readJsonFile(language, 'intro').then(fileJson => { + schemaValidation(language, 'intro', fileJson, introSchemaKeys); + }); + }); +}; + +/** + * Function that checks the meta-tags.json file + * for each available client language. + * @param {String[]} languages List of languages to test + */ +const metaTagsSchemaValidation = (languages: string[]) => { + languages.forEach(language => { + void readJsonFile(language, 'meta-tags').then(fileJson => { + schemaValidation(language, 'meta-tags', fileJson, metaTagsSchemaKeys); + }); + }); +}; + +/** + * Function that checks the links.json file + * for each available client language. + * @param {String[]} languages List of languages to test + */ +const linksSchemaValidation = (languages: string[]) => { + languages.forEach(language => { + void readJsonFile(language, 'links').then(fileJson => { + schemaValidation(language, 'links', fileJson, linksSchemaKeys); + }); + }); +}; + +/** + * Common Function that checks the json file + * @param {String} language the language to test + * @param {String} fileName the fileName of json file to test + * @param {Object} fileJson the fileJson got by readJsonFile + * @param {String[]} schemaKeys Array of matching schema's keys + */ +const schemaValidation = ( + language: string, + fileName: string, + fileJson: Record, + schemaKeys: string[] +) => { + const fileKeys = Object.keys(flattenAnObject(fileJson)); + findMissingKeys(fileKeys, schemaKeys, `${language}/${fileName}.json`); + findExtraneousKeys(fileKeys, schemaKeys, `${language}/${fileName}.json`); + const emptyKeys = noEmptyObjectValues(fileJson); + if (emptyKeys.length) { + console.warn( + `${language}/${fileName}.json has these empty keys: ${emptyKeys.join( + ', ' + )}` + ); + } + // Special line to assert that objects in motivational quote are correct + if ( + fileName === 'motivation' && + !(fileJson.motivationalQuotes as MotivationalQuotes).every( + object => + Object.prototype.hasOwnProperty.call(object, 'quote') && + Object.prototype.hasOwnProperty.call(object, 'author') + ) + ) { + console.warn(`${language}/${fileName}.json has malformed quote objects.`); + } + console.info(`${language} ${fileName}.json validation complete`); +}; + +const readJsonFile = async (language: string, fileName: string) => { + const filePath = path.join( + __dirname, + `/locales/${language}/${fileName}.json` + ); + const file = await readFile(filePath, 'utf8'); + const fileJson = JSON.parse(file) as Record; + return fileJson; +}; + +const translatedLangs = availableLangs.client.filter( + x => String(x) !== 'english' +); + +translationSchemaValidation(translatedLangs); +motivationSchemaValidation(translatedLangs); +introSchemaValidation(translatedLangs); +metaTagsSchemaValidation(translatedLangs); +linksSchemaValidation(translatedLangs); diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/package.json b/github_code/freeCodeCamp__freeCodeCamp/client/package.json new file mode 100644 index 0000000000000000000000000000000000000000..46459a5ad20a2f1589955a92871d96f03a1d73b5 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/package.json @@ -0,0 +1,189 @@ +{ + "name": "@freecodecamp/client", + "version": "0.0.1", + "description": "The freeCodeCamp.org open-source codebase and curriculum", + "license": "BSD-3-Clause", + "private": true, + "engines": { + "node": ">=24", + "pnpm": ">=10" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/freeCodeCamp/freeCodeCamp.git" + }, + "bugs": { + "url": "https://github.com/freeCodeCamp/freeCodeCamp/issues" + }, + "homepage": "https://github.com/freeCodeCamp/freeCodeCamp#readme", + "author": "freeCodeCamp ", + "main": "index.js", + "scripts": { + "build": "NODE_OPTIONS=\"--max-old-space-size=7168 --no-deprecation\" gatsby build --prefix-paths", + "clean": "gatsby clean", + "copy:scripts": "tsx ./tools/copy-browser-scripts.ts", + "create:i18n": "tsx ./tools/create-i18n.ts", + "create:env": "DEBUG=fcc:* tsx ./tools/create-env.ts", + "create:external-curriculum": "tsx ./tools/external-curriculum/build", + "create:trending": "tsx ./tools/download-trending.ts", + "create:search-placeholder": "tsx ./tools/generate-search-placeholder", + "develop": "NODE_OPTIONS=\"--max-old-space-size=7168 --no-deprecation\" gatsby develop --inspect=9230", + "lint": "eslint --max-warnings 0", + "setup": "pnpm clean && pnpm create:env && pnpm create:i18n && pnpm create:trending && pnpm create:search-placeholder && pnpm create:external-curriculum && pnpm copy:scripts", + "serve": "gatsby serve -p 8000", + "serve-ci": "serve -l 8000 -c serve.json public", + "prestand-alone": "pnpm run prebuild", + "stand-alone": "gatsby develop", + "test": "vitest run", + "test:watch": "vitest", + "test:ui": "vitest --ui", + "type-check": "tsc --noEmit" + }, + "dependencies": { + "@babel/plugin-proposal-export-default-from": "7.23.3", + "@babel/plugin-proposal-function-bind": "7.23.3", + "@babel/plugin-transform-runtime": "^7.19.6", + "@babel/preset-env": "7.23.7", + "@babel/preset-react": "7.23.3", + "@babel/preset-typescript": "7.23.3", + "@codesandbox/sandpack-react": "2.20.0", + "@codesandbox/sandpack-themes": "2.0.21", + "@fortawesome/fontawesome-svg-core": "7.2.0", + "@fortawesome/free-brands-svg-icons": "7.2.0", + "@fortawesome/free-solid-svg-icons": "7.2.0", + "@fortawesome/react-fontawesome": "3.3.1", + "@freecodecamp/challenge-builder": "workspace:*", + "@freecodecamp/ui": "6.0.1", + "@gatsbyjs/reach-router": "1.3.9", + "@growthbook/growthbook-react": "1.6.5", + "@loadable/component": "5.16.7", + "@paypal/react-paypal-js": "10.3.0", + "@redux-devtools/extension": "3.3.0", + "@redux-saga/core": "^1.4.2", + "@reduxjs/toolkit": "2.11.2", + "@stripe/react-stripe-js": "1.16.5", + "@stripe/stripe-js": "1.54.2", + "@types/react-speech-recognition": "3.9.6", + "@xterm/addon-fit": "0.11.0", + "@xterm/xterm": "6.0.0", + "algoliasearch": "4.27.0", + "assert": "2.0.0", + "babel-plugin-preval": "5.1.0", + "babel-plugin-prismjs": "2.1.0", + "bezier-easing": "2.1.0", + "browser-cookies": "1.2.0", + "canvas-confetti": "^1.6.0", + "crypto-browserify": "3.12.1", + "date-fns": "4.1.0", + "date-fns-tz": "3.2.0", + "eslint-config-react-app": "^7.0.1", + "final-form": "4.20.10", + "gatsby": "5.16.1", + "gatsby-cli": "5.16.0", + "gatsby-plugin-postcss": "6.16.0", + "gatsby-plugin-react-helmet": "6.16.0", + "gatsby-plugin-remove-serviceworker": "1.0.0", + "gatsby-source-filesystem": "5.16.0", + "gatsby-transformer-remark": "6.16.0", + "i18next": "25.10.10", + "instantsearch.js": "4.95.0", + "lodash": "4.18.1", + "lodash-es": "4.18.1", + "micromark": "4.0.2", + "monaco-editor": "0.55.1", + "nanoid": "3.3.12", + "normalize-url": "6.1.0", + "path-browserify": "1.0.1", + "pinyin-tone": "2.4.0", + "postcss": "8.5.13", + "prismjs": "1.30.0", + "process": "0.11.10", + "prop-types": "15.8.1", + "qrcode.react": "^3.1.0", + "query-string": "7.1.3", + "react": "18.3.1", + "react-calendar-heatmap": "1.10.0", + "react-dom": "18.3.1", + "react-final-form": "6.5.9", + "react-gtm-module": "2.0.11", + "react-helmet": "6.1.0", + "react-hotkeys": "2.0.0", + "react-i18next": "15.7.4", + "react-instantsearch": "7.31.0", + "react-instantsearch-core": "7.31.0", + "react-monaco-editor": "0.59.0", + "react-redux": "8.1.3", + "react-reflex": "4.2.7", + "react-responsive": "9.0.2", + "react-scroll": "1.9.3", + "react-speech-recognition": "4.0.1", + "react-spinkit": "3.0.0", + "react-tooltip": "4.5.1", + "react-transition-group": "4.4.5", + "react-youtube": "10.1.0", + "redux": "4.2.1", + "redux-actions": "2.6.5", + "redux-observable": "1.2.0", + "redux-saga": "1.4.2", + "reselect": "4.1.8", + "rxjs": "6.6.7", + "sanitize-html": "2.17.4", + "store": "2.0.12", + "stream-browserify": "3.0.0", + "tone": "15.1.22", + "typescript": "5.9.3", + "util": "0.12.5", + "uuid": "8.3.2", + "validator": "13.15.35" + }, + "devDependencies": { + "@babel/plugin-syntax-dynamic-import": "7.8.3", + "@freecodecamp/browser-scripts": "workspace:*", + "@freecodecamp/curriculum": "workspace:*", + "@freecodecamp/eslint-config": "workspace:*", + "@freecodecamp/shared": "workspace:*", + "@testing-library/jest-dom": "^6.8.0", + "@testing-library/react": "14.3.1", + "@testing-library/user-event": "14.6.1", + "@total-typescript/ts-reset": "^0.5.0", + "@types/canvas-confetti": "^1.6.0", + "@types/gatsbyjs__reach-router": "1.3.0", + "@types/js-yaml": "4.0.9", + "@types/loadable__component": "5.13.10", + "@types/lodash-es": "^4.17.6", + "@types/prismjs": "^1.26.0", + "@types/react": "18.3.28", + "@types/react-dom": "18.3.7", + "@types/react-gtm-module": "2.0.4", + "@types/react-helmet": "6.1.11", + "@types/react-redux": "7.1.34", + "@types/react-scroll": "1.8.10", + "@types/react-spinkit": "3.0.10", + "@types/react-test-renderer": "16.9.12", + "@types/react-transition-group": "4.4.12", + "@types/redux-actions": "2.6.5", + "@types/sanitize-html": "^2.8.0", + "@types/store": "^2.0.2", + "@types/validator": "^13.7.12", + "@vitest/ui": "^4.0.15", + "autoprefixer": "10.4.27", + "babel-plugin-macros": "3.1.0", + "core-js": "3.49.0", + "dotenv": "16.6.1", + "eslint": "^9.39.1", + "eslint-plugin-flowtype": "^8.0.3", + "gatsby-plugin-pnpm-gatsby-5": "1.2.11", + "gatsby-plugin-schema-snapshot": "4.16.0", + "gatsby-plugin-webpack-bundle-analyser-v2": "1.1.32", + "i18next-fs-backend": "2.6.5", + "joi": "18.1.2", + "js-yaml": "4.1.0", + "monaco-editor-webpack-plugin": "7.1.1", + "react-test-renderer": "18.3.1", + "readdirp": "3.6.0", + "redux-saga-test-plan": "4.0.6", + "serve": "13.0.4", + "url": "0.11.4", + "vitest": "^4.0.15" + } +} diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/postcss.config.js b/github_code/freeCodeCamp__freeCodeCamp/client/postcss.config.js new file mode 100644 index 0000000000000000000000000000000000000000..119e6185905998fe5893a1a8b2fe8e142e52fb2f --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/postcss.config.js @@ -0,0 +1,7 @@ +module.exports = { + plugins: { + autoprefixer: { + overrideBrowserslist: ['last 2 versions'] + } + } +}; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/schema.gql b/github_code/freeCodeCamp__freeCodeCamp/client/schema.gql new file mode 100644 index 0000000000000000000000000000000000000000..7e76feade0aba8b123a02bedbab9fba323efdc1e --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/schema.gql @@ -0,0 +1,577 @@ +### Type definitions saved at 2026-03-10T08:56:46.271Z ### + +enum RemoteFileFit { + COVER + FILL + OUTSIDE + CONTAIN +} + +enum RemoteFileFormat { + AUTO + JPG + PNG + WEBP + AVIF +} + +enum RemoteFileLayout { + FIXED + FULL_WIDTH + CONSTRAINED +} + +enum RemoteFilePlaceholder { + DOMINANT_COLOR + BLURRED + TRACED_SVG + NONE +} + +enum RemoteFileCropFocus { + CENTER + TOP + RIGHT + BOTTOM + LEFT + ENTROPY + EDGES + FACES +} + +type RemoteFileResize { + width: Int + height: Int + src: String +} + +""" +Remote Interface +""" +interface RemoteFile { + id: ID! + mimeType: String! + filename: String! + filesize: Int + width: Int + height: Int + publicUrl: String! + resize( + width: Int + height: Int + aspectRatio: Float + fit: RemoteFileFit = COVER + + """ + The image formats to generate. Valid values are AUTO (meaning the same + format as the source image), JPG, PNG, WEBP and AVIF. + The default value is [AUTO, WEBP, AVIF], and you should rarely need to + change this. Take care if you specify JPG or PNG when you do + not know the formats of the source images, as this could lead to unwanted + results such as converting JPEGs to PNGs. Specifying + both PNG and JPG is not supported and will be ignored. + """ + format: RemoteFileFormat = AUTO + cropFocus: [RemoteFileCropFocus] + quality: Int = 75 + ): RemoteFileResize + + """ + Data used in the component. See https://gatsby.dev/img for more info. + """ + gatsbyImage( + """ + The layout for the image. + FIXED: A static image sized, that does not resize according to the screen width + FULL_WIDTH: The image resizes to fit its container. Pass a "sizes" option if + it isn't going to be the full width of the screen. + CONSTRAINED: Resizes to fit its container, up to a maximum width, at which point it will remain fixed in size. + """ + layout: RemoteFileLayout = CONSTRAINED + + """ + The display width of the generated image for layout = FIXED, and the display + width of the largest image for layout = CONSTRAINED. + The actual largest image resolution will be this value multiplied by the largest value in outputPixelDensities + Ignored if layout = FLUID. + """ + width: Int + + """ + If set, the height of the generated image. If omitted, it is calculated from + the supplied width, matching the aspect ratio of the source image. + """ + height: Int + + """ + Format of generated placeholder image, displayed while the main image loads. + BLURRED: a blurred, low resolution image, encoded as a base64 data URI + DOMINANT_COLOR: a solid color, calculated from the dominant color of the image (default). + TRACED_SVG: deprecated. Will use DOMINANT_COLOR. + NONE: no placeholder. Set the argument "backgroundColor" to use a fixed background color. + """ + placeholder: RemoteFilePlaceholder = DOMINANT_COLOR + + """ + If set along with width or height, this will set the value of the other + dimension to match the provided aspect ratio, cropping the image if needed. + If neither width or height is provided, height will be set based on the intrinsic width of the source image. + """ + aspectRatio: Float + + """ + The image formats to generate. Valid values are AUTO (meaning the same + format as the source image), JPG, PNG, WEBP and AVIF. + The default value is [AUTO, WEBP, AVIF], and you should rarely need to + change this. Take care if you specify JPG or PNG when you do + not know the formats of the source images, as this could lead to unwanted + results such as converting JPEGs to PNGs. Specifying + both PNG and JPG is not supported and will be ignored. + """ + formats: [RemoteFileFormat!] = [AUTO, WEBP, AVIF] + + """ + A list of image pixel densities to generate for FIXED and CONSTRAINED + images. You should rarely need to change this. It will never generate images + larger than the source, and will always include a 1x image. + Default is [ 1, 2 ] for fixed images, meaning 1x, 2x, and [0.25, 0.5, 1, 2] + for fluid. In this case, an image with a fluid layout and width = 400 would + generate images at 100, 200, 400 and 800px wide. + """ + outputPixelDensities: [Float] = [0.25, 0.5, 1, 2] + + """ + Specifies the image widths to generate. You should rarely need to change + this. For FIXED and CONSTRAINED images it is better to allow these to be + determined automatically, + based on the image size. For FULL_WIDTH images this can be used to override + the default, which is [750, 1080, 1366, 1920]. + It will never generate any images larger than the source. + """ + breakpoints: [Int] = [750, 1080, 1366, 1920] + + """ + The "sizes" property, passed to the img tag. This describes the display size of the image. + This does not affect the generated images, but is used by the browser to + decide which images to download. You can leave this blank for fixed images, + or if the responsive image + container will be the full width of the screen. In these cases we will generate an appropriate value. + """ + sizes: String + + """ + Background color applied to the wrapper, or when "letterboxing" an image to another aspect ratio. + """ + backgroundColor: String + fit: RemoteFileFit = COVER + cropFocus: [RemoteFileCropFocus] + quality: Int = 75 + ): GatsbyImageData +} + +type File implements Node @dontInfer { + sourceInstanceName: String! + absolutePath: String! + relativePath: String! + extension: String! + size: Int! + prettySize: String! + modifiedTime: Date! @dateformat + accessTime: Date! @dateformat + changeTime: Date! @dateformat + birthTime: Date! @dateformat + root: String! + dir: String! + base: String! + ext: String! + name: String! + relativeDirectory: String! + dev: Int! + mode: Int! + nlink: Int! + uid: Int! + gid: Int! + rdev: Int! + ino: Float! + atimeMs: Float! + mtimeMs: Float! + ctimeMs: Float! + atime: Date! @dateformat + mtime: Date! @dateformat + ctime: Date! @dateformat + birthtime: Date @deprecated(reason: "Use `birthTime` instead") + birthtimeMs: Float @deprecated(reason: "Use `birthTime` instead") +} + +type Directory implements Node @dontInfer { + sourceInstanceName: String! + absolutePath: String! + relativePath: String! + extension: String! + size: Int! + prettySize: String! + modifiedTime: Date! @dateformat + accessTime: Date! @dateformat + changeTime: Date! @dateformat + birthTime: Date! @dateformat + root: String! + dir: String! + base: String! + ext: String! + name: String! + relativeDirectory: String! + dev: Int! + mode: Int! + nlink: Int! + uid: Int! + gid: Int! + rdev: Int! + ino: Float! + atimeMs: Float! + mtimeMs: Float! + ctimeMs: Float! + atime: Date! @dateformat + mtime: Date! @dateformat + ctime: Date! @dateformat + birthtime: Date @deprecated(reason: "Use `birthTime` instead") + birthtimeMs: Float @deprecated(reason: "Use `birthTime` instead") +} + +type Site implements Node @derivedTypes @dontInfer { + buildTime: Date @dateformat + siteMetadata: SiteSiteMetadata + port: Int + host: String + flags: SiteFlags + trailingSlash: String + pathPrefix: String + polyfill: Boolean + jsxRuntime: String + graphqlTypegen: Boolean +} + +type SiteSiteMetadata { + title: String + description: String + siteUrl: String +} + +type SiteFlags { + DEV_SSR: Boolean +} + +type SiteFunction implements Node @dontInfer { + functionRoute: String! + pluginName: String! + originalAbsoluteFilePath: String! + originalRelativeFilePath: String! + relativeCompiledFilePath: String! + absoluteCompiledFilePath: String! + matchPath: String +} + +type SitePage implements Node @dontInfer { + path: String! + component: String! + internalComponentName: String! + componentChunkName: String! + matchPath: String + pageContext: JSON @proxy(from: "context", fromNode: false) + pluginCreator: SitePlugin @link(by: "id", from: "pluginCreatorId") +} + +type SitePlugin implements Node @dontInfer { + resolve: String + name: String + version: String + nodeAPIs: [String] + browserAPIs: [String] + ssrAPIs: [String] + pluginFilepath: String + pluginOptions: JSON + packageJson: JSON +} + +type SiteBuildMetadata implements Node @dontInfer { + buildTime: Date @dateformat +} + +type ChallengeNodeChallengeHooks { + afterEach: String + beforeAll: String + beforeEach: String + afterAll: String +} + +type SuperBlockStructure implements Node @derivedTypes @dontInfer { + chapters: [SuperBlockStructureChapters] + superBlock: String + blocks: [String] +} + +type SuperBlockStructureChapters @derivedTypes { + dashedName: String + modules: [SuperBlockStructureChaptersModules] + chapterType: String + comingSoon: Boolean +} + +type SuperBlockStructureChaptersModules { + dashedName: String + blocks: [String] + moduleType: String + comingSoon: Boolean +} + +type ChallengeNode implements Node @derivedTypes @dontInfer { + sourceInstanceName: String + challenge: ChallengeNodeChallenge +} + +type ChallengeNodeChallenge @derivedTypes { + id: String + title: String + challengeType: Int + dashedName: String + demoType: String + challengeFiles: [ChallengeNodeChallengeChallengeFiles] + solutions: [[ChallengeNodeChallengeSolutions]] + assignments: [String] + tests: [ChallengeNodeChallengeTests] + description: String + translationPending: Boolean + sourceLocation: String + block: String + blockLabel: String + blockLayout: String + hasEditableBoundaries: Boolean + order: Int + instructions: String + questions: [ChallengeNodeChallengeQuestions] + superBlock: String + superOrder: Int + challengeOrder: Int + isLastChallengeInBlock: Boolean + required: [ChallengeNodeChallengeRequired] + helpCategory: String + usesMultifileEditor: Boolean + disableLoopProtectTests: Boolean + disableLoopProtectPreview: Boolean + certification: String + fields: ChallengeNodeChallengeFields + quizzes: [ChallengeNodeChallengeQuizzes] + chapter: String + module: String + hooks: ChallengeNodeChallengeHooks + nodules: [ChallengeNodeChallengeNodules] + forumTopicId: Int + videoId: String + bilibiliIds: ChallengeNodeChallengeBilibiliIds + saveSubmissionToDB: Boolean + lang: String + scene: ChallengeNodeChallengeScene + explanation: String + fillInTheBlank: ChallengeNodeChallengeFillInTheBlank + inputType: String + videoUrl: String + url: String + template: String + transcript: String + isExam: Boolean + videoLocaleIds: ChallengeNodeChallengeVideoLocaleIds + notes: String + prerequisites: [ChallengeNodeChallengePrerequisites] + msTrophyId: String +} + +type ChallengeNodeChallengeChallengeFiles { + head: String + tail: String + id: String + editableRegionBoundaries: [Int] + history: [String] + name: String + ext: String + path: String + fileKey: String + contents: String + seed: String +} + +type ChallengeNodeChallengeSolutions { + head: String + tail: String + id: String + history: [String] + name: String + ext: String + path: String + fileKey: String + contents: String + seed: String +} + +type ChallengeNodeChallengeTests { + text: String + testString: String +} + +type ChallengeNodeChallengeQuestions @derivedTypes { + text: String + answers: [ChallengeNodeChallengeQuestionsAnswers] + solution: Int +} + +type ChallengeNodeChallengeQuestionsAnswers { + answer: String + feedback: String + audioId: String +} + +type ChallengeNodeChallengeRequired { + src: String + link: String + raw: Boolean +} + +type ChallengeNodeChallengeFields { + slug: String + blockHashSlug: String +} + +type ChallengeNodeChallengeQuizzes @derivedTypes { + questions: [ChallengeNodeChallengeQuizzesQuestions] +} + +type ChallengeNodeChallengeQuizzesQuestions @derivedTypes { + text: String + distractors: [String] + answer: String + audioData: ChallengeNodeChallengeQuizzesQuestionsAudioData +} + +type ChallengeNodeChallengeQuizzesQuestionsAudioData @derivedTypes { + audio: ChallengeNodeChallengeQuizzesQuestionsAudioDataAudio + transcript: [ChallengeNodeChallengeQuizzesQuestionsAudioDataTranscript] +} + +type ChallengeNodeChallengeQuizzesQuestionsAudioDataAudio { + filename: String + startTimestamp: Float + finishTimestamp: Float +} + +type ChallengeNodeChallengeQuizzesQuestionsAudioDataTranscript { + character: String + text: String +} + +type ChallengeNodeChallengeNodules @derivedTypes { + type: String + contents: String + files: [ChallengeNodeChallengeNodulesFiles] +} + +type ChallengeNodeChallengeNodulesFiles { + contents: String + ext: String + name: String + contentsHtml: String +} + +type ChallengeNodeChallengeBilibiliIds { + aid: Int + bvid: String + cid: Int +} + +type ChallengeNodeChallengeScene @derivedTypes { + setup: ChallengeNodeChallengeSceneSetup + commands: [ChallengeNodeChallengeSceneCommands] +} + +type ChallengeNodeChallengeSceneSetup @derivedTypes { + background: String + characters: [ChallengeNodeChallengeSceneSetupCharacters] + audio: ChallengeNodeChallengeSceneSetupAudio + alwaysShowDialogue: Boolean +} + +type ChallengeNodeChallengeSceneSetupCharacters @derivedTypes { + character: String + position: ChallengeNodeChallengeSceneSetupCharactersPosition + opacity: Int +} + +type ChallengeNodeChallengeSceneSetupCharactersPosition { + x: Int + y: Int + z: Float +} + +type ChallengeNodeChallengeSceneSetupAudio { + filename: String + startTime: Float + startTimestamp: Float + finishTimestamp: Float +} + +type ChallengeNodeChallengeSceneCommands @derivedTypes { + character: String + opacity: Int + startTime: Float + finishTime: Float + dialogue: ChallengeNodeChallengeSceneCommandsDialogue + position: ChallengeNodeChallengeSceneCommandsPosition + background: String +} + +type ChallengeNodeChallengeSceneCommandsDialogue { + text: String + align: String +} + +type ChallengeNodeChallengeSceneCommandsPosition { + x: Int + y: Int + z: Float +} + +type ChallengeNodeChallengeFillInTheBlank @derivedTypes { + sentence: String + blanks: [ChallengeNodeChallengeFillInTheBlankBlanks] +} + +type ChallengeNodeChallengeFillInTheBlankBlanks { + answer: String + feedback: String +} + +type ChallengeNodeChallengeVideoLocaleIds { + espanol: String + italian: String + portuguese: String +} + +type ChallengeNodeChallengePrerequisites { + id: String + title: String +} + +type CertificateNode implements Node @derivedTypes @dontInfer { + sourceInstanceName: String + challenge: CertificateNodeChallenge +} + +type CertificateNodeChallenge @derivedTypes { + id: String + title: String + certification: String + challengeType: Int + tests: [CertificateNodeChallengeTests] +} + +type CertificateNodeChallengeTests { + id: String + title: String +} diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/__tests__/integration/handled-error.test.ts b/github_code/freeCodeCamp__freeCodeCamp/client/src/__tests__/integration/handled-error.test.ts new file mode 100644 index 0000000000000000000000000000000000000000..3ba72b81a37cff3c168ba23f4b8e505303dbb4f4 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/__tests__/integration/handled-error.test.ts @@ -0,0 +1,42 @@ +import { describe, it, expect } from 'vitest'; +import { + wrapHandledError, + unwrapHandledError +} from '../../utils/handled-error'; + +describe('handled-error integration', () => { + const handledA = { + type: 'info', + message: 'something helpful', + redirectTo: '/a-path-we-choose' + }; + const handledB = { + type: 'danger', + message: 'Oh noes!', + redirectTo: '/whoops' + }; + const handledC = { + type: 'success', + message: 'great news!', + redirectTo: '/awesome' + }; + const handledD = {}; + + it('can wrap and unwrap handled errors', () => { + expect.assertions(4); + const wrappedA = wrapHandledError(new Error(), handledA); + const wrappedB = wrapHandledError(new Error(), handledB); + const wrappedC = wrapHandledError(new Error(), handledC); + const wrappedD = wrapHandledError(new Error(), handledD); + + const unwrappedA = unwrapHandledError(wrappedA); + const unwrappedB = unwrapHandledError(wrappedB); + const unwrappedC = unwrapHandledError(wrappedC); + const unwrappedD = unwrapHandledError(wrappedD); + + expect(unwrappedA).toEqual(handledA); + expect(unwrappedB).toEqual(handledB); + expect(unwrappedC).toEqual(handledC); + expect(unwrappedD).toEqual(handledD); + }); +}); diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/analytics/__mocks__/index.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/analytics/__mocks__/index.tsx new file mode 100644 index 0000000000000000000000000000000000000000..c6aee6202e44b77b82a26b2e924d57e1471ad807 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/analytics/__mocks__/index.tsx @@ -0,0 +1,7 @@ +const analytics = { + event: function (): void { + // comment necessary for linting. + } +}; + +export default analytics; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/analytics/call-ga.ts b/github_code/freeCodeCamp__freeCodeCamp/client/src/analytics/call-ga.ts new file mode 100644 index 0000000000000000000000000000000000000000..06d2d1bcf9921fc6ff30995ff4bdd3e298c7ee89 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/analytics/call-ga.ts @@ -0,0 +1,136 @@ +import { + DonationAmount, + DonationDuration +} from '@freecodecamp/shared/config/donation-settings'; +import { ChallengeFiles } from '../redux/prop-types'; +import TagManager from '.'; + +type DonationEventAction = + | 'Donate Page PayPal Payment Submission' + | 'Donate Page Stripe Card Payment Submission' + | 'Donate Page Stripe Payment Submission' + | 'Modal PayPal Payment Submission' + | 'Modal Stripe Card Payment Submission' + | 'Modal Stripe Payment Submission' + | 'Certificate PayPal Payment Submission' + | 'Certificate Stripe Card Payment Submission' + | 'Certificate Stripe Payment Submission'; + +interface DonationEvent { + event: 'donation'; + action: DonationEventAction; + duration: DonationDuration; + amount: DonationAmount; + completed_challenges: number; + completed_challenges_session: number; + isSignedIn: boolean; +} + +type DonationRelatedEventAction = + | 'Learn Donation Alert Click' + | 'Certification Donation Alert Click' + | 'Modal Become Supporter Click' + | 'Socrates LowerJaw Become Supporter Click' + | 'Donate Page Patreon Payment Redirection' + | 'Modal Patreon Payment Redirection' + | 'Amount Confirmation Clicked' + | 'Select Amount Tab Clicked' + | 'Edit Amount Clicked' + | 'Certificate Patreon Payment Redirection'; + +interface DonationRelatedEvent { + event: 'donation_related'; + action: DonationRelatedEventAction; + amount?: DonationAmount; +} + +type DonationViewEventAction = + | 'Displayed Block Donation Modal' + | 'Displayed Progress Donation Modal' + | 'Displayed Donate Page' + | 'Displayed Certificate Donation'; + +interface DonationViewEvent { + event: 'donation_view'; + action: DonationViewEventAction; +} + +interface PageViewEvent { + event: 'pageview'; + pagePath: string; +} + +interface ExperimentViewEvent { + event: 'experiment_viewed'; + event_category: 'experiment'; + experiment_id: string; + variation_id: number; +} + +interface ChallengeFailedEvent { + event: 'challenge_failed'; + challenge_id: string; + challenge_path: string; + challenge_files: ChallengeFiles; +} + +interface UserData { + event: 'user_data'; + user_id: string; +} + +interface SignIn { + event: 'sign_in'; +} + +interface SignOut { + event: 'sign_out'; + user_id: undefined; +} + +interface ChallengeTestCodeButtonClickEvent { + event: 'challenge_test_code_button_click'; +} + +interface ChallengeSubmitButtonClickEvent { + event: 'challenge_submit_button_click'; +} + +interface CallSocratesEvent { + event: 'call_socrates'; + action: 'Socrates LowerJaw Button Click'; + is_donating: boolean; + attempts: number | null; + limit: number | null; + optimized_request: Record | null; +} + +interface SendSocratesEvent { + event: 'send_socrates'; + action: 'Socrates Request Sent'; + is_donating: boolean; + attempts: number | null; + limit: number | null; + optimized_request: Record | null; +} + +export type GAevent = + | DonationViewEvent + | DonationEvent + | DonationRelatedEvent + | PageViewEvent + | ExperimentViewEvent + | ChallengeFailedEvent + | UserData + | SignOut + | SignIn + | ChallengeTestCodeButtonClickEvent + | ChallengeSubmitButtonClickEvent + | CallSocratesEvent + | SendSocratesEvent; + +export default function callGA(payload: GAevent) { + TagManager.dataLayer({ + dataLayer: payload + }); +} diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/analytics/index.ts b/github_code/freeCodeCamp__freeCodeCamp/client/src/analytics/index.ts new file mode 100644 index 0000000000000000000000000000000000000000..7f39d6bf6380fe0b6c1e766f153975bf6d08c7b0 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/analytics/index.ts @@ -0,0 +1,23 @@ +import TagManager from 'react-gtm-module'; + +import { + devAnalyticsId, + prodAnalyticsId +} from '../../config/analytics-settings'; + +import envData from '../../config/env.json'; + +const { deploymentEnv } = envData; + +const analyticsIDSelector = () => { + if (deploymentEnv === 'staging') return devAnalyticsId; + else return prodAnalyticsId; +}; + +const gtmId = analyticsIDSelector(); + +if (typeof document !== `undefined`) { + TagManager.initialize({ gtmId }); +} + +export default TagManager; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/chapter-icon.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/chapter-icon.tsx new file mode 100644 index 0000000000000000000000000000000000000000..b0fdb83417795d96276c10e3fca0a616a5fcd830 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/chapter-icon.tsx @@ -0,0 +1,73 @@ +import React from 'react'; +import { + A1SpanishChapters, + FsdChapters, + A1ChineseChapters +} from '@freecodecamp/shared/config/chapters'; +import DatabaseIcon from './icons/database'; +import JavaScriptIcon from './icons/javascript'; +import ReactIcon from './icons/react'; +import ResponsiveDesign from './icons/responsive-design'; +import FreeCodeCampIcon from './icons/freecodecamp'; +import Html from './icons/html'; +import Css from './icons/css'; +import NodeIcon from './icons/node'; +import Python from './icons/python'; +import Graduation from './icons/graduation'; +import { + faBuilding, + faComments, + faCubes, + faDoorOpen, + faHands, + faIdCard +} from '@fortawesome/free-solid-svg-icons'; +import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; + +const iconMap = { + [FsdChapters.Welcome]: FreeCodeCampIcon, + [FsdChapters.Html]: Html, + [FsdChapters.Css]: Css, + [FsdChapters.Javascript]: JavaScriptIcon, + [FsdChapters.FrontendLibraries]: ReactIcon, + [FsdChapters.RelationalDatabases]: DatabaseIcon, + [FsdChapters.BackendJavascript]: NodeIcon, + [FsdChapters.Python]: Python, + [FsdChapters.Career]: Graduation, + [FsdChapters.RwdExam]: Graduation, + [FsdChapters.JsExam]: Graduation, + [FsdChapters.Fed]: ReactIcon, + [FsdChapters.FedExam]: Graduation, + [FsdChapters.PythonExam]: Graduation, + [FsdChapters.RdbExam]: Graduation, + [FsdChapters.Bed]: NodeIcon, + [FsdChapters.BedExam]: Graduation, + [FsdChapters.FsdExam]: Graduation, + [A1ChineseChapters.zhA1Welcome]: faDoorOpen, + [A1ChineseChapters.zhA1PinYin]: faCubes, + [A1ChineseChapters.zhA1Greetings]: faComments, + [A1ChineseChapters.zhA1GreetingsLegacy]: faComments, + [A1ChineseChapters.zhA1NumbersAndPersonalInformation]: faIdCard, + [A1ChineseChapters.zhA1Family]: faIdCard, + [A1ChineseChapters.zhA1Expressing]: faHands, + [A1SpanishChapters.esA1Welcome]: faDoorOpen, + [A1SpanishChapters.esA1Fundamentals]: faCubes, + [A1SpanishChapters.esA1Greetings]: faComments, + [A1SpanishChapters.esA1Details]: faIdCard, + [A1SpanishChapters.esA1Describing]: faBuilding +}; + +type ChapterIconProps = { + chapter: FsdChapters; +} & React.SVGProps; + +export function ChapterIcon(props: ChapterIconProps): JSX.Element { + const { chapter, ...iconProps } = props; + const Icon = iconMap[chapter] ?? ResponsiveDesign; + + if (typeof Icon === 'object') { + return ; + } + + return ; +} diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/a1-chinese.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/a1-chinese.tsx new file mode 100644 index 0000000000000000000000000000000000000000..d2f1f24535a39477bc8eb8007fab70a5ea10d012 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/a1-chinese.tsx @@ -0,0 +1,77 @@ +import React from 'react'; + +function A1ChineseIcon( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} + +A1ChineseIcon.displayName = 'A1ChineseIcon'; + +export default A1ChineseIcon; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/a1-spanish.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/a1-spanish.tsx new file mode 100644 index 0000000000000000000000000000000000000000..f580b1fcd0cb4e53b5ff47d3fa38a0dd97efdde7 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/a1-spanish.tsx @@ -0,0 +1,77 @@ +import React from 'react'; + +function A1SpanishIcon( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} + +A1SpanishIcon.displayName = 'A1SpanishIcon'; + +export default A1SpanishIcon; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/a2-chinese.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/a2-chinese.tsx new file mode 100644 index 0000000000000000000000000000000000000000..09da704351cc6e08a8ce3294bbb8cdea62ed7bbb --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/a2-chinese.tsx @@ -0,0 +1,77 @@ +import React from 'react'; + +function A2ChineseIcon( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} + +A2ChineseIcon.displayName = 'A2ChineseIcon'; + +export default A2ChineseIcon; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/a2-english.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/a2-english.tsx new file mode 100644 index 0000000000000000000000000000000000000000..f9a52edc2dae65f64542b40d09123155bc38f1ee --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/a2-english.tsx @@ -0,0 +1,80 @@ +import React from 'react'; + +function A2EnglishIcon( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} + +A2EnglishIcon.displayName = 'A2EnglishIcon'; + +export default A2EnglishIcon; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/a2-spanish.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/a2-spanish.tsx new file mode 100644 index 0000000000000000000000000000000000000000..b6db8bc7033f9c4bf88094912823381bc351cbf8 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/a2-spanish.tsx @@ -0,0 +1,77 @@ +import React from 'react'; + +function A2SpanishIcon( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} + +A2SpanishIcon.displayName = 'A2SpanishIcon'; + +export default A2SpanishIcon; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/algorithm.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/algorithm.tsx new file mode 100644 index 0000000000000000000000000000000000000000..c66c75ec5b684e4247d266211e0f4fbeaf5d7d4c --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/algorithm.tsx @@ -0,0 +1,20 @@ +import React from 'react'; + +function Algorithm( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} + +Algorithm.displayName = 'Algorithm'; + +export default Algorithm; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/analytics.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/analytics.tsx new file mode 100644 index 0000000000000000000000000000000000000000..d04155bcf78a7fb21eef94aeb482334e338a8e87 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/analytics.tsx @@ -0,0 +1,20 @@ +import React from 'react'; + +function Analytics( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} + +Analytics.displayName = 'Analytics'; + +export default Analytics; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/api.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/api.tsx new file mode 100644 index 0000000000000000000000000000000000000000..d1aeadbb5faa6475d9f3245280de4092634b1fbb --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/api.tsx @@ -0,0 +1,19 @@ +import React from 'react'; +function APIIcon( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} + +APIIcon.displayName = 'APIIcon'; + +export default APIIcon; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/b1-english.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/b1-english.tsx new file mode 100644 index 0000000000000000000000000000000000000000..e75413b7e16f0c8d739ae8ecaa13ff31d9d00c83 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/b1-english.tsx @@ -0,0 +1,80 @@ +import React from 'react'; + +function B1EnglishIcon( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} + +B1EnglishIcon.displayName = 'B1EnglishIcon'; + +export default B1EnglishIcon; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/b2-english.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/b2-english.tsx new file mode 100644 index 0000000000000000000000000000000000000000..3788b6056ec979d8521572fb89692774c87911db --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/b2-english.tsx @@ -0,0 +1,80 @@ +import React from 'react'; + +function B2EnglishIcon( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} + +B2EnglishIcon.displayName = 'B2EnglishIcon'; + +export default B2EnglishIcon; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/c-sharp-logo.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/c-sharp-logo.tsx new file mode 100644 index 0000000000000000000000000000000000000000..d34cb765a5939fc9d29e2f9facaa5db247d47cfa --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/c-sharp-logo.tsx @@ -0,0 +1,24 @@ +import React from 'react'; + +function CSharpLogo( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} + +CSharpLogo.displayName = 'CSharpLogo'; +export default CSharpLogo; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/c1-english.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/c1-english.tsx new file mode 100644 index 0000000000000000000000000000000000000000..b8e79943965b5a593a874bb434e4526e7cafc054 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/c1-english.tsx @@ -0,0 +1,24 @@ +import React from 'react'; + +function C1EnglishIcon( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + + + ); +} + +C1EnglishIcon.displayName = 'C1EnglishIcon'; + +export default C1EnglishIcon; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/c2-english.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/c2-english.tsx new file mode 100644 index 0000000000000000000000000000000000000000..27669ed8b46d75b66b6af2718f771cd4eaca88fa --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/c2-english.tsx @@ -0,0 +1,25 @@ +import React from 'react'; + +function C2EnglishIcon( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} + +C2EnglishIcon.displayName = 'C2EnglishIcon'; + +export default C2EnglishIcon; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/calendar.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/calendar.tsx new file mode 100644 index 0000000000000000000000000000000000000000..0d896a0190b63aed714f919b26ef62daca76637c --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/calendar.tsx @@ -0,0 +1,21 @@ +import React from 'react'; + +function CalendarIcon( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} + +CalendarIcon.displayName = 'CalendarIcon'; + +export default CalendarIcon; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/cap.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/cap.tsx new file mode 100644 index 0000000000000000000000000000000000000000..24f827bfee6deabf70d009598ef289c276f21c1f --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/cap.tsx @@ -0,0 +1,29 @@ +import React from 'react'; +function CapIcon( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} + +CapIcon.displayName = 'CapIcon'; + +export default CapIcon; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/caret.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/caret.tsx new file mode 100644 index 0000000000000000000000000000000000000000..70cd4e05738d9e184ddc6a05984b9f7d08b0862b --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/caret.tsx @@ -0,0 +1,23 @@ +import React from 'react'; + +function Caret(): JSX.Element { + return ( + + + + ); +} + +Caret.displayName = 'Caret'; + +export default Caret; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/certification.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/certification.tsx new file mode 100644 index 0000000000000000000000000000000000000000..10df0b2b8435134a3fd28a15b424b6d60fb367d2 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/certification.tsx @@ -0,0 +1,68 @@ +import React from 'react'; + +function CertificationIcon(): JSX.Element { + return ( + + + + + + + + + + + + + + + + + + + + + ); +} + +CertificationIcon.displayName = 'CertificationIcon'; + +export default CertificationIcon; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/clipboard.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/clipboard.tsx new file mode 100644 index 0000000000000000000000000000000000000000..8ec6a43284197fee789d77c83bd6c4d07eb41286 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/clipboard.tsx @@ -0,0 +1,20 @@ +import React from 'react'; + +function Clipboard( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} + +Clipboard.displayName = 'Clipboard'; + +export default Clipboard; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/closedcaptions.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/closedcaptions.tsx new file mode 100644 index 0000000000000000000000000000000000000000..f93f081e9d311607adcd07328eb00647f9ad9186 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/closedcaptions.tsx @@ -0,0 +1,19 @@ +import React from 'react'; + +function ClosedCaptionsIcon( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + + + ); +} + +ClosedCaptionsIcon.displayName = 'ClosedCaptionsIcon'; + +export default ClosedCaptionsIcon; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/code.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/code.tsx new file mode 100644 index 0000000000000000000000000000000000000000..fcd3b4f6537e996498c274f6ae459957dccfd0f9 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/code.tsx @@ -0,0 +1,20 @@ +import React from 'react'; + +function Code( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + + + ); +} + +Code.displayName = 'Code'; + +export default Code; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/college-algebra.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/college-algebra.tsx new file mode 100644 index 0000000000000000000000000000000000000000..6e26f752aaf8ea24c35342879abef659c71c973f --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/college-algebra.tsx @@ -0,0 +1,20 @@ +import React from 'react'; + +function CollegeAlgebra( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} + +CollegeAlgebra.displayName = 'CollegeAlgebra'; + +export default CollegeAlgebra; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/community.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/community.tsx new file mode 100644 index 0000000000000000000000000000000000000000..78519de9c8264c595ee9f10d0d2fe162efdb3ae5 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/community.tsx @@ -0,0 +1,45 @@ +import React from 'react'; +function CommunityIcon( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} + +CommunityIcon.displayName = 'CommunityIcon'; + +export default CommunityIcon; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/css.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/css.tsx new file mode 100644 index 0000000000000000000000000000000000000000..95bdab948c6fc46a4fce08085fab663dddde9cf8 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/css.tsx @@ -0,0 +1,15 @@ +import React from 'react'; + +function Css( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + + + ); +} + +Css.displayName = 'Css'; + +export default Css; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/curriculum.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/curriculum.tsx new file mode 100644 index 0000000000000000000000000000000000000000..2fa7cbd9cfd8f0de3beaf7ab8bef9bf3f86b82b7 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/curriculum.tsx @@ -0,0 +1,27 @@ +import React from 'react'; +function CurriculumIcon( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} + +CurriculumIcon.displayName = 'CurriculumIcon'; + +export default CurriculumIcon; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/d3.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/d3.tsx new file mode 100644 index 0000000000000000000000000000000000000000..d735e8ff36a9eabaa9420d9343cfab036e277fa0 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/d3.tsx @@ -0,0 +1,20 @@ +import React from 'react'; + +function D3Icon( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} + +D3Icon.displayName = 'D3'; + +export default D3Icon; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/daily-coding-challenge.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/daily-coding-challenge.tsx new file mode 100644 index 0000000000000000000000000000000000000000..ddfdb93108a81bee43a2eaa1e9b975b46c650394 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/daily-coding-challenge.tsx @@ -0,0 +1,21 @@ +import React from 'react'; + +function DailyCodingChallengeIcon( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} + +DailyCodingChallengeIcon.displayName = 'DailyCodingChallengeIcon'; + +export default DailyCodingChallengeIcon; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/database.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/database.tsx new file mode 100644 index 0000000000000000000000000000000000000000..374198d157d64d85f24f33162ccb335e3b7dbe3e --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/database.tsx @@ -0,0 +1,20 @@ +import React from 'react'; + +function DatabaseIcon( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} + +DatabaseIcon.displayName = 'Database'; + +export default DatabaseIcon; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/default-avatar.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/default-avatar.tsx new file mode 100644 index 0000000000000000000000000000000000000000..6cf3370e336ffbdd46f6555e5e726412611b0d49 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/default-avatar.tsx @@ -0,0 +1,95 @@ +import React from 'react'; +import { useTranslation } from 'react-i18next'; + +function DefaultAvatar( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + const { t } = useTranslation(); + + return ( + + ); +} + +DefaultAvatar.displayName = 'DefaultAvatar'; + +export default DefaultAvatar; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/dot-net-logo.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/dot-net-logo.tsx new file mode 100644 index 0000000000000000000000000000000000000000..a5c0bea6e6e6566915480462bf8eca6f9d9326fe --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/dot-net-logo.tsx @@ -0,0 +1,23 @@ +import React from 'react'; + +function DotNetLogo( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + .NET + + + ); +} + +DotNetLogo.displayName = 'DotNetLogo'; +export default DotNetLogo; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/dropdown.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/dropdown.tsx new file mode 100644 index 0000000000000000000000000000000000000000..5b2f9333aaa021b209a414e97068b4eda48ed992 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/dropdown.tsx @@ -0,0 +1,28 @@ +import React from 'react'; + +function DropDown(): JSX.Element { + return ( + + ); +} + +DropDown.displayName = 'DropDown'; + +export default DropDown; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/dumbbell.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/dumbbell.tsx new file mode 100644 index 0000000000000000000000000000000000000000..d45d3111002331ebf12c90999de4d9be50a251b5 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/dumbbell.tsx @@ -0,0 +1,50 @@ +import React from 'react'; +function DumbbellIcon( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} + +DumbbellIcon.displayName = 'DumbbellIcon'; + +export default DumbbellIcon; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/fail.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/fail.tsx new file mode 100644 index 0000000000000000000000000000000000000000..98fb3632e5c0c632cea93fd8e324f47bb7ac0665 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/fail.tsx @@ -0,0 +1,52 @@ +import React from 'react'; +import { useTranslation } from 'react-i18next'; + +function RedFail(): JSX.Element { + const { t } = useTranslation(); + + return ( + + ); +} + +RedFail.displayName = 'RedFail'; + +export default RedFail; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/free.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/free.tsx new file mode 100644 index 0000000000000000000000000000000000000000..f88738addba88266656037d29e8e5795ab978a65 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/free.tsx @@ -0,0 +1,27 @@ +import React from 'react'; +function FreeIcon( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} + +FreeIcon.displayName = 'FreeIcon'; + +export default FreeIcon; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/freecodecamp-logo.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/freecodecamp-logo.tsx new file mode 100644 index 0000000000000000000000000000000000000000..1e1a28f8321dfd7145fa12fa8f7cf2778487fef0 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/freecodecamp-logo.tsx @@ -0,0 +1,114 @@ +import React from 'react'; + +function FreeCodeCampLogo( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ); +} + +FreeCodeCampLogo.displayName = 'FreeCodeCampLogo'; + +export default FreeCodeCampLogo; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/freecodecamp.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/freecodecamp.tsx new file mode 100644 index 0000000000000000000000000000000000000000..1316044a46bff29a1f2f8ce164f1bb6053445f6d --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/freecodecamp.tsx @@ -0,0 +1,15 @@ +import React from 'react'; + +function FreeCodeCampIcon( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + + + ); +} + +FreeCodeCampIcon.displayName = 'FreeCodeCampIcon'; + +export default FreeCodeCampIcon; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/graduation.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/graduation.tsx new file mode 100644 index 0000000000000000000000000000000000000000..f4a37f976f88cb17697edb5112f9d0fc0995bb0c --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/graduation.tsx @@ -0,0 +1,23 @@ +import React from 'react'; + +function Graduation( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} + +Graduation.displayName = 'Graduation'; + +export default Graduation; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/green-not-completed.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/green-not-completed.tsx new file mode 100644 index 0000000000000000000000000000000000000000..bed54acf1b5886a05510434fc781845d1243d4d3 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/green-not-completed.tsx @@ -0,0 +1,45 @@ +import React from 'react'; +import { useTranslation } from 'react-i18next'; + +interface GreenNotCompletedProps + extends JSX.IntrinsicAttributes, React.SVGProps { + hushScreenReaderText?: boolean; +} + +function GreenNotCompleted(props: GreenNotCompletedProps): JSX.Element { + const { t } = useTranslation(); + const { hushScreenReaderText = false, ...rest } = props; + return ( + <> + {!hushScreenReaderText && ( + {t('icons.not-passed')} + )} + + + ); +} + +GreenNotCompleted.displayName = 'GreenNotCompleted'; + +export default GreenNotCompleted; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/green-pass.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/green-pass.tsx new file mode 100644 index 0000000000000000000000000000000000000000..b5c0f7cc4936f9673a3386aa63fc0c38e8b3a53e --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/green-pass.tsx @@ -0,0 +1,59 @@ +import React from 'react'; +import { useTranslation } from 'react-i18next'; + +interface GreenPassProps + extends JSX.IntrinsicAttributes, React.SVGProps { + hushScreenReaderText?: boolean; +} +function GreenPass(props: GreenPassProps): JSX.Element { + const { t } = useTranslation(); + const { hushScreenReaderText = false, ...rest } = props; + return ( + + + + ); +} + +GreenPass.displayName = 'GreenPass'; + +export default GreenPass; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/help.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/help.tsx new file mode 100644 index 0000000000000000000000000000000000000000..744fa8dc4636f9bdf265eb0aeb06ff9e60aa5ca1 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/help.tsx @@ -0,0 +1,26 @@ +import React from 'react'; + +function Help( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} + +Help.displayName = 'Help'; + +export default Help; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/html.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/html.tsx new file mode 100644 index 0000000000000000000000000000000000000000..a9e0ae5aeb89fe094048c276c16938caf127f766 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/html.tsx @@ -0,0 +1,15 @@ +import React from 'react'; + +function Html( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + + + ); +} + +Html.displayName = 'Html'; + +export default Html; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/initial.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/initial.tsx new file mode 100644 index 0000000000000000000000000000000000000000..3dc99c0774653cbf920dcd226a86eb04f7c20f1a --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/initial.tsx @@ -0,0 +1,58 @@ +import React from 'react'; +import { useTranslation } from 'react-i18next'; + +function Initial( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + const { t } = useTranslation(); + + return ( + + + {t('icons.initial')} + + + + + + + ); +} + +Initial.displayName = 'Initial'; + +export default Initial; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/input-reset.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/input-reset.tsx new file mode 100644 index 0000000000000000000000000000000000000000..25c5311b8a236fc110dc036bd01331c31a639e20 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/input-reset.tsx @@ -0,0 +1,24 @@ +import React from 'react'; +import { useTranslation } from 'react-i18next'; + +const InputReset = (): JSX.Element => { + const { t } = useTranslation(); + + return ( + <> + {t('icons.input-reset')} + + + + + ); +}; + +InputReset.displayName = 'InputReset'; +export default InputReset; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/javascript.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/javascript.tsx new file mode 100644 index 0000000000000000000000000000000000000000..94e49c9c0781c960ae022dcdf129f3f1969446a8 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/javascript.tsx @@ -0,0 +1,20 @@ +import React from 'react'; + +function JavaScriptIcon( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} + +JavaScriptIcon.displayName = 'JavaScriptIcon'; + +export default JavaScriptIcon; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/language-globe.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/language-globe.tsx new file mode 100644 index 0000000000000000000000000000000000000000..5ab89640f7988cc6ce71a96f46fb80bc18c2fd3b --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/language-globe.tsx @@ -0,0 +1,56 @@ +import React from 'react'; + +function LanguageGlobe( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + + + + + + + ); +} + +LanguageGlobe.displayName = 'LanguageGlobe'; + +export default LanguageGlobe; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/link-button.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/link-button.tsx new file mode 100644 index 0000000000000000000000000000000000000000..799df61f905972f6f340c4a6ec40cf273616f4da --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/link-button.tsx @@ -0,0 +1,36 @@ +import React from 'react'; + +export default function LinkButton( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/magnifier.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/magnifier.tsx new file mode 100644 index 0000000000000000000000000000000000000000..9c6faed41623a27f68e8c15a7cd821935a476ea2 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/magnifier.tsx @@ -0,0 +1,24 @@ +import React from 'react'; +import { useTranslation } from 'react-i18next'; + +const Magnifier = (): JSX.Element => { + const { t } = useTranslation(); + + return ( + <> + {t('icons.magnifier')} + + + + + ); +}; + +Magnifier.displayName = 'Magnifier'; +export default Magnifier; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/microsoft-logo.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/microsoft-logo.tsx new file mode 100644 index 0000000000000000000000000000000000000000..9b84c063b338096fbf3ec5be693867def7f67be7 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/microsoft-logo.tsx @@ -0,0 +1,26 @@ +import React from 'react'; + +function MicrosoftLogo( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + + + + + + + ); +} + +MicrosoftLogo.displayName = 'MicrosoftLogo'; +export default MicrosoftLogo; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/node.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/node.tsx new file mode 100644 index 0000000000000000000000000000000000000000..c5358815d80bb0f83f5c6582e6ba063268107a10 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/node.tsx @@ -0,0 +1,15 @@ +import React from 'react'; + +function NodeIcon( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + + + ); +} + +NodeIcon.displayName = 'NodeIcon'; + +export default NodeIcon; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/outline-lightbulb.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/outline-lightbulb.tsx new file mode 100644 index 0000000000000000000000000000000000000000..b2858a4aaad2da9940942c548926d74d91571e0a --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/outline-lightbulb.tsx @@ -0,0 +1,29 @@ +import React from 'react'; + +function OutlineLightbulb( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} + +OutlineLightbulb.displayName = 'OutlineLightbulb'; + +export default OutlineLightbulb; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/python.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/python.tsx new file mode 100644 index 0000000000000000000000000000000000000000..ee7e7a803026345361bb686bc3db78b0b97e2c89 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/python.tsx @@ -0,0 +1,20 @@ +import React from 'react'; + +function PythonIcon( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} + +PythonIcon.displayName = 'PythonIcon'; + +export default PythonIcon; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/react.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/react.tsx new file mode 100644 index 0000000000000000000000000000000000000000..f479f7758fa4bafc32392be35bb1ccacaba87178 --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/react.tsx @@ -0,0 +1,20 @@ +import React from 'react'; + +function ReactIcon( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element { + return ( + + ); +} + +ReactIcon.displayName = 'ReactIcon'; + +export default ReactIcon; diff --git a/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/reset.tsx b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/reset.tsx new file mode 100644 index 0000000000000000000000000000000000000000..78223dd89dc7e137e43f0555f61c4399ed9930da --- /dev/null +++ b/github_code/freeCodeCamp__freeCodeCamp/client/src/assets/icons/reset.tsx @@ -0,0 +1,11 @@ +import React from 'react'; +import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; +import { faTrashCan } from '@fortawesome/free-solid-svg-icons'; + +function Reset(): JSX.Element { + return