diff --git a/components/roadmap/content-drawer.tsx b/components/roadmap/content-drawer.tsx index 7aa276264..9f33f11ba 100644 --- a/components/roadmap/content-drawer.tsx +++ b/components/roadmap/content-drawer.tsx @@ -53,8 +53,8 @@ export function ContentDrawer(props: ContentDrawerProps) { onClick={() => { localStorage.setItem(groupId, 'done'); document - .querySelector(`[data-group-id*="-${groupId}"]`) - ?.classList?.add('done'); + .querySelectorAll(`[data-group-id*="-${groupId}"]`) + .forEach((item) => item?.classList?.add('done')); onClose(); }} colorScheme="green" @@ -62,7 +62,11 @@ export function ContentDrawer(props: ContentDrawerProps) { size="xs" iconSpacing={0} > - + Mark as Done @@ -72,8 +76,8 @@ export function ContentDrawer(props: ContentDrawerProps) { onClick={() => { localStorage.removeItem(groupId); document - .querySelector(`[data-group-id*="-${groupId}"]`) - ?.classList?.remove('done'); + .querySelectorAll(`[data-group-id*="-${groupId}"]`) + .forEach((item) => item?.classList?.remove('done')); onClose(); }} colorScheme="red" @@ -81,7 +85,11 @@ export function ContentDrawer(props: ContentDrawerProps) { size="xs" iconSpacing={0} > - + Mark as Pending diff --git a/content/roadmaps/100-frontend/content/102-css/100-learn-the-basics.md b/content/roadmaps/100-frontend/content/102-css/100-learn-the-basics.md index 8819f0624..ad9e72046 100644 --- a/content/roadmaps/100-frontend/content/102-css/100-learn-the-basics.md +++ b/content/roadmaps/100-frontend/content/102-css/100-learn-the-basics.md @@ -1 +1,11 @@ -# Learn the basics \ No newline at end of file +# CSS Basics + +CSS or Cascading Style Sheets is the language used to style the frontend of any website. CSS is a cornerstone technology of the World Wide Web, alongside HTML and JavaScript. + +Free Content +W3Schools — Learn CSS +freeCodeCamp — Responsive Web Design +Learn to Code HTML & CSS +CSS Crash Course For Absolute Beginners +HTML and CSS Tutorial +CSS Masterclass - Tutorial & Course for Beginners