-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To-Do-Project - Elina Eriksson Hult #31
Open
ElinaEH
wants to merge
29
commits into
Technigo:main
Choose a base branch
from
ElinaEH:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 22 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
875f2d8
First commit, npm installed
ElinaEH 8d143a2
Installed zustand and lottie animations to use later
ElinaEH 91d5a2b
Structure foundation, created components and store
ElinaEH 915abf4
Added content to TodoForm component and created state management usin…
ElinaEH c502462
Added content to TodoList,TodoItem and made two separate lists: inco…
ElinaEH d325ccb
Added header
ElinaEH bbd3607
Added css files to each component
ElinaEH 201d2dc
CSS styling
ElinaEH b99086a
Added animation and styling
ElinaEH 33130e1
Added additional styling and media queries
ElinaEH fea8235
Cleaned code and deleted unused files in assets
ElinaEH ecff126
Deleted icons and imported icons in proper sizes and some styling
ElinaEH 06293ab
Styling
ElinaEH f9fd664
Updated readme file
ElinaEH d879c13
Updated icons alt texts
ElinaEH 08a8ae0
Try error fixing, deplying site
ElinaEH c28c279
Error fix
ElinaEH dba43ed
Error fix x2
ElinaEH 7b77ad1
Error fix x3
ElinaEH ddd72d7
Error fix x4
ElinaEH 112a855
update
ElinaEH 91af381
Added deploy link to readme file
ElinaEH 7897344
Typescript installation done, changed file names to tsx
ElinaEH e993860
Added typescript to components, created assets tsx file for svg and png
ElinaEH dddaed9
Fixed indentation
ElinaEH 8cebe37
Cleaned code and fixed a button in media queries
ElinaEH 2d581c8
Changed main.jsx to tsx and updated index.html file
ElinaEH 23e1508
Cleaned code
ElinaEH 960f3f6
test
ElinaEH File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,8 @@ | ||
<h1 align="center"> | ||
<a href=""> | ||
<img src="./src/assets/banner.svg" alt="Project Banner Image"> | ||
</a> | ||
</h1> | ||
|
||
# Todo - useContext Project | ||
|
||
Replace this readme with your own information about your project. | ||
|
||
Start by briefly describing the assignment in a sentence or two. Keep it short and to the point. | ||
|
||
## Getting Started with the Project | ||
|
||
### 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 Project | ||
This week's project we've built a to-do app using Zustand for Global State Management. | ||
|
||
### 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? | ||
At first I found it hard to understand all the logical parts with Zustand. I started out with planning the structure and deciding what kind of components I needed. I also sketched out my ideas on a piece of paper and wanted to have a playful design. I found a Lottie animation I wanted to import which I managed to do with some help from google. I tried to reasearch a lot before starting with the code but I had to turn to chatgbt a bit to help me make it work. After I've made it work I moved onto styling the app. This week I also started with mobile first which helped me a lot when making the app responsive. | ||
|
||
### 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 | ||
|
||
<a href="instructions.md"> | ||
See instructions of this project | ||
</a> | ||
https://elinatodoapp3.netlify.app/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,19 @@ | |
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Todos App Context API</title> | ||
<!-- Google font --> | ||
<link rel="preconnect" href="https://fonts.googleapis.com"> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
<link href="https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400..700;1,400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Readex+Pro:[email protected]&family=Roboto:wght@700;900&family=Schoolbell&display=swap" rel="stylesheet"> | ||
|
||
<link rel="preconnect" href="https://fonts.googleapis.com"> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
<link href="https://fonts.googleapis.com/css2?family=Bokor&family=Cabin:ital,wght@0,400..700;1,400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Kumar+One&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Readex+Pro:[email protected]&family=Roboto:wght@700;900&family=Schoolbell&display=swap" rel="stylesheet"> | ||
|
||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script type="module" src="/src/main.jsx"></script> | ||
<script src="https://unpkg.com/@dotlottie/[email protected]/dist/dotlottie-player.mjs" type="module"></script> | ||
</body> | ||
</html> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
import React from "react"; | ||
import { Header } from "./components/Header.jsx" | ||
import { TodoForm } from "./components/TodoForm.jsx"; | ||
import { TodoList } from "./components/TodoList.jsx"; | ||
|
||
export const App = () => { | ||
return <div>Find me in App.jsx!</div>; | ||
return ( | ||
<div> | ||
<Header /> | ||
<TodoForm /> | ||
<TodoList /> | ||
</div> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Indentation |
||
); | ||
}; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can see the hard work on the .jason (it was challenging because it was our first time on Zustand!). Congrats on solve, on my oppinion, the hardest part.