diff --git a/src/components/MarkdownFile.astro b/src/components/MarkdownFile.astro
index b12c5cd1a..69108f658 100644
--- a/src/components/MarkdownFile.astro
+++ b/src/components/MarkdownFile.astro
@@ -8,7 +8,7 @@ const { class: className } = Astro.props;
diff --git a/src/components/Questions/QuestionGuide.astro b/src/components/Questions/QuestionGuide.astro
index ddec8fcec..47c8a872d 100644
--- a/src/components/Questions/QuestionGuide.astro
+++ b/src/components/Questions/QuestionGuide.astro
@@ -149,6 +149,11 @@ const { frontmatter: guideFrontmatter, author } = questionGroup;
))
}
+ {questionGroup.ending && (
+
+ )}
diff --git a/src/data/question-groups/full-stack/content/full-stack-end.md b/src/data/question-groups/full-stack/content/full-stack-end.md
new file mode 100644
index 000000000..6d396a12c
--- /dev/null
+++ b/src/data/question-groups/full-stack/content/full-stack-end.md
@@ -0,0 +1,14 @@
+## Final thoughts
+
+You’ve reached the end of our full-stack developer interview questions, but you’re not done just yet\!
+
+To make sure you’re ready to knock the interview out of the park, here’s a quick roadmap for success:
+
+* **Dive deeper**: Explore our detailed guides for specific roles, including [**frontend**](https://roadmap.sh/questions/frontend), [**backend**](https://roadmap.sh/questions/backend), and [**DevOps**](https://roadmap.sh/questions/devops) interviews. Each guide is packed with questions, answers, and tips tailored to those specialities.
+* **Check out official docs**: For a detailed explanation of every function, method, or property of HTML, CSS or JavaScript, consider checking out [MDN](https://developer.mozilla.org/en-US/).
+* **Practice projects**: Build small projects to solidify your understanding of key concepts. Hands-on experience always makes a big difference.
+* **Brush up on fundamentals**: Review core concepts like algorithms, data structures, and design patterns to handle technical full-stack developer interview questions confidently.
+* **Mock interviews**: Simulate the interview experience with a friend or use online platforms to build your confidence.
+* **Stay curious**: Explore new tools and technologies related to your role to showcase your passion for learning.
+
+Good luck, and remember—confidence comes with preparation\!
\ No newline at end of file
diff --git a/src/data/question-groups/full-stack/full-stack.md b/src/data/question-groups/full-stack/full-stack.md
index 49425081e..20fb12fa7 100644
--- a/src/data/question-groups/full-stack/full-stack.md
+++ b/src/data/question-groups/full-stack/full-stack.md
@@ -19,6 +19,7 @@ seo:
sitemap:
priority: 1
changefreq: 'monthly'
+ending: 'full-stack-end.md'
questions:
- question: What is full-stack development?
answer: full-stack-development.md
diff --git a/src/lib/question-group.ts b/src/lib/question-group.ts
index b0bd6396b..68950ed4c 100644
--- a/src/lib/question-group.ts
+++ b/src/lib/question-group.ts
@@ -29,6 +29,7 @@ interface RawQuestionGroupFrontmatter {
answer: string;
topics: string[];
}[];
+ ending?: string;
}
type RawQuestionGroupFileType =
@@ -49,6 +50,7 @@ export type QuestionGroupType = RawQuestionGroupFileType & {
allTopics: string[];
author?: AuthorFileType;
relatedGuides?: Record;
+ ending?: string;
};
/**
@@ -133,9 +135,19 @@ export async function getAllQuestionGroups(): Promise {
)
: undefined;
+ let endingText = '';
+ if (questionGroupFile.frontmatter.ending) {
+ const endingFilePath = `/src/data/question-groups/${questionGroupDir}/content/${questionGroupFile.frontmatter.ending}`;
+ endingText =
+ (answerFilesMap[endingFilePath] as any)?.default ||
+ answerFilesMap[endingFilePath] ||
+ `File missing: ${endingFilePath}`;
+ }
+
return {
...questionGroupFile,
id: questionGroupFileId,
+ ending: endingText,
questions: formattedAnswers,
allTopics: uniqueTopics,
author: allAuthors.find(