diff --git a/.gitignore b/.gitignore index b02a1ff7..f5962297 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,5 @@ package-lock.json *.njsproj *.sln *.sw? + +.codegpt \ No newline at end of file diff --git a/README.md b/README.md index 6fc6d095..940dc2ba 100644 --- a/README.md +++ b/README.md @@ -5,31 +5,12 @@ # Happy thoughts Project +In this week's project, we have been working with APIs again, this time in React. We should also apply what we learnt about the useEffect function and also been using useState. -In this week's project, you'll be able to practice your React state skills by fetching and posting data to an API. +I have focused on dividing the project into different components and tried to make it as easy and understandable as possible. This time we also had to focus quite a lot on the styling and adapt it to the design we received. I thought it was a bit tricky with the useEffect but I looked a lot at the example we did on the tuesday session as well as the Q&A session on Thursday. I also found it difficult with the time conversion to be able to show the time stamp of the different posts and needed help from chatGPT for that. -## Getting Started with the Project +If I would have more time I would add the function to display max number of characters used. I did however add this as an if/else statement but it is not showing in the text area. -### Dependency Installation & Startup Development Server - -Once cloned, navigate to the project's root directory and this project uses npm (Node Package Manager) to manage its dependencies. - -The command below is a combination of installing dependencies, opening up the project on VS Code and it will run a development server on your terminal. - -```bash -npm i && code . && npm run dev -``` - -### The Problem - -Describe how you approached to problem, and what tools and techniques you used to solve it. How did you plan? What technologies did you use? If you had more time, what would be next? ### View it live - -Every project should be deployed somewhere. Be sure to include the link to the deployed project so that the viewer can click around and see what it's all about. - -## Instructions - - - See instructions of this project - +https://happythoughtsbyanna.netlify.app/ diff --git a/index.html b/index.html index 21cce4e0..fdea27ac 100644 --- a/index.html +++ b/index.html @@ -1,13 +1,22 @@ -
- - - -