-
Notifications
You must be signed in to change notification settings - Fork 0
Jihykim2 TODO, Web(2)(3) 제출 #15
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
Open
jihyunk03
wants to merge
9
commits into
jihykim2
Choose a base branch
from
jihykim2_test
base: jihykim2
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 4 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
c988aa9
[FE] FEAT: Todo List 마스터하기(mandatory)
jihyunk03 ccb4c08
[FE] FEAT: Todo List 마스터하기(bonus)
jihyunk03 8a069c1
[FE] FEAT: Cabi 웹 페이지 만들기 2 default setting
jihyunk03 8fe2bf8
[FE] FEAT: Cabi 웹 페이지 만들기 2 구현
jihyunk03 9b937e8
[FE] FEAT: REACT LV 1 그냥 모르는데요 구현
jihyunk03 e64d714
[FE] FEAT: API 마스터하기 구현
jihyunk03 ad28cd9
[FE] REFACTOR: Cabi 웹 페이지 만들기 2 수정
jihyunk03 5fba2f0
[FE] FEAT: REACT LV 3 웹 페이지 만들기 (3) 구현 초반
jihyunk03 fcafcb5
[FE] FEAT: REACT LV 3 웹 페이지 만들기 (3) 반응형 제외하고 구현
jihyunk03 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
3 changes: 3 additions & 0 deletions
3
v1/frontend/HTML+CSS+JS_LV_1_Todo_List_마스터하기/images/done_btn.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
v1/frontend/HTML+CSS+JS_LV_1_Todo_List_마스터하기/images/enter_btn.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
v1/frontend/HTML+CSS+JS_LV_1_Todo_List_마스터하기/images/show_all_btn.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
v1/frontend/HTML+CSS+JS_LV_1_Todo_List_마스터하기/images/show_done_btn.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
v1/frontend/HTML+CSS+JS_LV_1_Todo_List_마스터하기/images/show_todo_btn.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
v1/frontend/HTML+CSS+JS_LV_1_Todo_List_마스터하기/images/todo_btn.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
v1/frontend/HTML+CSS+JS_LV_1_Todo_List_마스터하기/images/trash_btn.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| <!DOCTYPE html> | ||
| <html> | ||
| <head> | ||
| <meta charset="utf-8"/> | ||
| <meta name="viewport" content="width=device-width"/> | ||
| <title>TODO List</title> | ||
| <link href="style.css" rel="stylesheet"/> | ||
| </head> | ||
| <body> | ||
| <div id="root" class="flex-col"> | ||
| <header> | ||
| <p id="title">TODO LIST</p> | ||
| </header> | ||
| <main> | ||
| <article class="flex-row"> | ||
| <input id="input-text" type="text" placeholder="Write down your todo-list" maxlength="30" size="100"> | ||
| <button id="add-todo" type="button"> | ||
| <img src="./images/enter_btn.svg" alt="enter button"> | ||
| </button> | ||
| </article> | ||
| <section> | ||
| <div id="btn-list"> | ||
| <button id="show-all"> | ||
| <img src="images/show_all_btn.svg" alt="all list"> | ||
| </button> | ||
| <button id="show-todo"> | ||
| <img src="images/show_todo_btn.svg" alt="todo list"> | ||
| </button> | ||
| <button id="show-done"> | ||
| <img src="images/show_done_btn.svg" alt="done list"> | ||
| </button> | ||
| </div> | ||
| <ul id="todo-list" class="flex-col"></ul> | ||
| </section> | ||
| </main> | ||
| </div> | ||
| <script src="todo.js"></script> | ||
| </body> | ||
| </html> |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,65 @@ | ||
| /* http://meyerweb.com/eric/tools/css/reset/ | ||
| v2.0 | 20110126 | ||
| License: none (public domain) | ||
| */ | ||
|
|
||
| html, body, div, span, applet, object, iframe, | ||
| h1, h2, h3, h4, h5, h6, p, blockquote, pre, | ||
| a, abbr, acronym, address, big, cite, code, | ||
| del, dfn, em, img, ins, kbd, q, s, samp, | ||
| small, strike, strong, sub, sup, tt, var, | ||
| b, u, i, center, | ||
| dl, dt, dd, ol, ul, li, | ||
| fieldset, form, label, legend, | ||
| table, caption, tbody, tfoot, thead, tr, th, td, | ||
| article, aside, canvas, details, embed, | ||
| figure, figcaption, footer, header, hgroup, | ||
| menu, nav, output, ruby, section, summary, | ||
| time, mark, audio, video { | ||
| margin: 0; | ||
| padding: 0; | ||
| border: 0; | ||
| font-size: 100%; | ||
| font: inherit; | ||
| vertical-align: baseline; | ||
| box-sizing: border-box; | ||
| } | ||
| /* HTML5 display-role reset for older browsers */ | ||
| article, aside, details, figcaption, figure, | ||
| footer, header, hgroup, menu, nav, section { | ||
| display: block; | ||
| } | ||
| body { | ||
| line-height: 1; | ||
| } | ||
| ol, ul { | ||
| list-style: none; | ||
| } | ||
| blockquote, q { | ||
| quotes: none; | ||
| } | ||
| blockquote:before, blockquote:after, | ||
| q:before, q:after { | ||
| content: ''; | ||
| content: none; | ||
| } | ||
| table { | ||
| border-collapse: collapse; | ||
| border-spacing: 0; | ||
| } | ||
|
|
||
| /* Button reset */ | ||
| button { | ||
| background: none; | ||
| border: none; | ||
| padding: 0; | ||
| box-shadow: none; | ||
| border-radius: 0; | ||
| cursor: pointer; | ||
| font: inherit; | ||
| color: inherit; | ||
| outline: none; | ||
| -webkit-appearance: none; | ||
| -moz-appearance: none; | ||
| appearance: none; | ||
| } |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,169 @@ | ||
| @import url("https://fonts.googleapis.com/css2?family=Do+Hyeon&family=Noto+Sans+KR:[email protected]&display=swap"); | ||
| @import url("https://fonts.googleapis.com/css2?family=Do+Hyeon&family=Inter:[email protected]&family=Noto+Sans+KR:[email protected]&display=swap"); | ||
| @import url("reset.css"); | ||
|
|
||
| /* all */ | ||
| :root { | ||
| --primary-color: #D5CCFF; | ||
| --secondary-color: #F4F2FF; | ||
| --title-color: #2B1887; | ||
| --line-color: #2B1887; | ||
| --done-color: #7B7B7B; | ||
| --header-height: 130px; | ||
| --article-height: 50px; | ||
| } | ||
|
|
||
| html, body, #root { | ||
| display: flex; | ||
| flex-direction: column; | ||
|
|
||
| width: 100vw; | ||
| height: 100vh; | ||
| overflow: hidden; | ||
| background-color: var(--primary-color); | ||
| } | ||
|
|
||
| /* row, col setting */ | ||
| .flex-row { | ||
| display: flex; | ||
| flex-direction: row; | ||
| justify-content: center; | ||
| } | ||
|
|
||
| .flex-col { | ||
| display: flex; | ||
| flex-direction: column; | ||
| align-items: center; | ||
| } | ||
|
|
||
| /* header */ | ||
| header { | ||
| display: flex; | ||
| justify-content: center; | ||
| align-items: center; | ||
| width: 100%; | ||
| height: var(--header-height); | ||
|
|
||
| font-family: "Inter", sans-serif; | ||
| font-size: 50px; | ||
| font-weight: 700; | ||
| color: var(--title-color); | ||
| } | ||
|
|
||
| /* main */ | ||
| main { | ||
| display: flex; | ||
| flex-direction: column; | ||
| justify-content: flex-start; | ||
| align-items: center; | ||
|
|
||
| width: 100%; | ||
| height: calc(100% - var(--header-height)); | ||
|
|
||
| font-family: "Inter", sans-serif; | ||
| font-size: 20px; | ||
| } | ||
|
|
||
| /* todo-input */ | ||
| article { | ||
| display: flex; | ||
| justify-content: center; | ||
| align-items: center; | ||
|
|
||
| width: 70%; | ||
| height: var(--article-height); | ||
| } | ||
|
|
||
| #input-text { | ||
| width: calc(100% - 50px); | ||
| height: 40px; | ||
| background-color: var(--secondary-color); | ||
| border-radius: 15px; | ||
| border: 0px; | ||
| padding-left: 15px; | ||
| } | ||
|
|
||
| #add-todo { | ||
| justify-content: center; | ||
| align-items: center; | ||
| margin: 0 10px; | ||
| width: 40px; | ||
| height: 40px; | ||
|
|
||
| img { | ||
| width: 30px; | ||
| height: 30px; | ||
| } | ||
| } | ||
|
|
||
| /* section for todo list */ | ||
| section { | ||
| display: flex; | ||
| flex-direction: column; | ||
| justify-content: center; | ||
| align-items: center; | ||
|
|
||
| width: 100%; | ||
| height: calc(100% - var(--article-height)); | ||
| } | ||
|
|
||
| /* button-list */ | ||
| #btn-list { | ||
| display: flex; | ||
| flex-direction: row; | ||
| justify-content: flex-end; | ||
|
|
||
| width: 70%; | ||
|
|
||
| img { | ||
| width: 40px; | ||
| height: 40px; | ||
| margin: 5px; | ||
| } | ||
| } | ||
|
|
||
| /* todo-list */ | ||
| #todo-list { | ||
| width: 70%; | ||
| height: 80%; | ||
| border-radius: 15px; | ||
| background-color: var(--secondary-color); | ||
| overflow-y: scroll; | ||
| } | ||
|
|
||
| #todo-list > li { | ||
| width: 95%; | ||
| align-items: center; | ||
| margin: 5px; | ||
|
|
||
| button { | ||
| background-position: center; | ||
| background-repeat: no-repeat; | ||
| width: 32px; | ||
| height: 32px; | ||
| margin: 5px; | ||
| } | ||
|
|
||
| .todo-btn { | ||
| background-image: url("images/todo_btn.svg"); | ||
| } | ||
|
|
||
| .done-btn { | ||
| background-image: url("images/done_btn.svg"); | ||
| } | ||
|
|
||
| .trash-btn { | ||
| background-image: url("images/trash_btn.svg"); | ||
| } | ||
|
|
||
| .completed { | ||
| text-decoration: line-through; | ||
| color: var(--done-color); | ||
| } | ||
|
|
||
| span { | ||
| flex-grow: 1; | ||
| text-align: left; | ||
| font-size: 20px; | ||
| } | ||
| } |
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.
Uh oh!
There was an error while loading. Please reload this page.