Skip to content

Instantly share code, notes, and snippets.

@myogeshchavan97
Created May 7, 2022 06:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save myogeshchavan97/17d26383d3b48495fd1c5530235f8549 to your computer and use it in GitHub Desktop.
Save myogeshchavan97/17d26383d3b48495fd1c5530235f8549 to your computer and use it in GitHub Desktop.
List of topics
const topics = [
{
id: 1,
title: "Basic JavaScript",
slug: "basic-javascript",
subTopics: [
{
id: 1,
title: "JavaScript Operators",
slug: "javascript-operators"
},
{
id: 2,
title: "JavaScript Data Types",
slug: "javascript-data-types"
}
]
},
{
id: 2,
title: "Modern JavaScript",
slug: "modern-javascript",
subTopics: [
{
id: 1,
title: "let and const",
slug: "let-and-const"
},
{
id: 2,
title: "Arrow Functions",
slug: "arrow-functions"
}
]
},
{
id: 3,
title: "React",
slug: "react",
subTopics: [
{
id: 1,
title: "JSX Basics",
slug: "jsx-basics"
},
{
id: 2,
title: "Custom Hooks",
slug: "custom-hooks"
}
]
}
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment