From 36dadd652b881b8c70db4d1d41183a5615a0a72b Mon Sep 17 00:00:00 2001 From: hmellahi Date: Sun, 17 Nov 2024 00:28:05 +0100 Subject: [PATCH] mock fetch user interface problem --- challenge-cli/index.js | 2 +- problems/file-explorer/README.md | 8 +------- problems/twitter-like-II/README.md | 2 ++ problems/wordle-game/README.md | 8 +------- 4 files changed, 5 insertions(+), 15 deletions(-) diff --git a/challenge-cli/index.js b/challenge-cli/index.js index a5abe62..6c1bbb5 100755 --- a/challenge-cli/index.js +++ b/challenge-cli/index.js @@ -18,7 +18,7 @@ program console.log( `To begin working on the challenge\n run: cd "${solutionPath}"` ); - }); + }); b program .command("start [solutionName]") diff --git a/problems/file-explorer/README.md b/problems/file-explorer/README.md index d34e782..a28abbb 100644 --- a/problems/file-explorer/README.md +++ b/problems/file-explorer/README.md @@ -4,8 +4,6 @@ Create a file tree component that displays a hierarchical file structure. The component should allow users to expand and collapse folders to navigate through the file system. Files and folders should be displayed in a structured manner, with folders being expandable to show their contents. -![File Tree Demo](solutions/react-ts/public/images/demo.png) - ## Requirements - The file tree should display a hierarchical structure of files and folders. @@ -61,8 +59,4 @@ const fileTreeData = [ type: "file", }, ]; -``` - -## Live Demo - -[Check out the live demo here](#) +``` \ No newline at end of file diff --git a/problems/twitter-like-II/README.md b/problems/twitter-like-II/README.md index 9616b83..e9ac16d 100644 --- a/problems/twitter-like-II/README.md +++ b/problems/twitter-like-II/README.md @@ -14,6 +14,8 @@ The basic Twitter like button can be visually dull without animation. Building o - Handle spam clicking (rapid like/unlike actions) without breaking functionality - Maintain all functionality from the original Twitter Like component - Ensure the component is reusable and customizable +- [TODO] ensure its takes only the given width/height +- [TODO] Don't mutate the total count of likes, use a derived state for total counts ## Example Usage diff --git a/problems/wordle-game/README.md b/problems/wordle-game/README.md index 550ed65..b865ce1 100644 --- a/problems/wordle-game/README.md +++ b/problems/wordle-game/README.md @@ -4,8 +4,6 @@ Build a clone of the popular word game **Wordle**, where players have six attempts to guess a five-letter word. Feedback is given for each guess in the form of colored tiles indicating when letters match or occupy the correct position. - - ## Requirements - A random five-letter word is chosen every time the app launches. @@ -22,8 +20,4 @@ Build a clone of the popular word game **Wordle**, where players have six attemp - **Default (Light Gray)**: `#d3d6da` - **Correct (Green)**: `#6aaa64` - **Present (Yellow)**: `#c9b458` -- **Absent (Dark Gray)**: `#787c7e` - -## Live Demo - -[Check out the live demo here](#) +- **Absent (Dark Gray)**: `#787c7e` \ No newline at end of file