diff --git a/.freeCodeCamp/client/components/block.tsx b/.freeCodeCamp/client/components/block.tsx index 445eff3d..a5afcc51 100644 --- a/.freeCodeCamp/client/components/block.tsx +++ b/.freeCodeCamp/client/components/block.tsx @@ -60,7 +60,11 @@ export const Block = ({ ) : null}
-

{description}

+

diff --git a/.freeCodeCamp/client/components/console.tsx b/.freeCodeCamp/client/components/console.tsx index 9f0b06c4..8c72a318 100644 --- a/.freeCodeCamp/client/components/console.tsx +++ b/.freeCodeCamp/client/components/console.tsx @@ -1,5 +1,4 @@ import { ConsoleError } from '../types'; -import { parseMarkdown } from '../utils'; export const Console = ({ cons }: { cons: ConsoleError[] }) => { return ( @@ -12,16 +11,14 @@ export const Console = ({ cons }: { cons: ConsoleError[] }) => { }; const ConsoleElement = ({ testText, testId, error }: ConsoleError) => { - const consoleMarkdown = `
\n${testId + 1}) ${parseMarkdown( - testText - )}\n\n\`\`\`json\n${JSON.stringify( - error, - null, - 2 - )}\n\`\`\`\n\n
`; + const details = `${testId + 1} ${testText} + + ${error}`; return ( -
+
); }; diff --git a/.freeCodeCamp/client/components/heading.tsx b/.freeCodeCamp/client/components/heading.tsx index 14057565..45877a59 100644 --- a/.freeCodeCamp/client/components/heading.tsx +++ b/.freeCodeCamp/client/components/heading.tsx @@ -28,6 +28,7 @@ export const Heading = ({ const canGoForward = lessonNumberExists && numberOfLessons && lessonNumber < numberOfLessons - 1; + const h1 = title + (lessonNumberExists ? ' - Lesson ' + lessonNumber : ''); return (