Skip to content
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 feature added #258

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

ShambhaviSharma0110
Copy link

@ShambhaviSharma0110 ShambhaviSharma0110 commented Mar 26, 2021

Description

Please include a summary of the change and which issue is fixed.
Fixes #190
Have added 3 separate files of HTML,CSS, and js and have integrated them under the more dropdown section in the navbar.

List any dependencies that are required for this change

none

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

UI /UX changes

Attach gif or screenshot for changes.

  • Before : new feature
    - After :
    image

Checklist:

  • My code follows the style guidelines of this project
  • [x ] I have performed a self-review of my own code
  • [x ] I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • [x ] My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@ShambhaviSharma0110
Copy link
Author

please review...

@ravikr126 ravikr126 added enhancement New Feature GSSOC21 GSSoC'21 level1 Major Documentation labels May 14, 2021
Copy link
Collaborator

@harikesh409 harikesh409 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use bootstrap 4 so that it will be in sync to rest all pages and better responsiveness.

Todo.html Outdated
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- <title>Todo App JavaScript-->
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep the header as TODO List

Todo.html Show resolved Hide resolved
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"/>
</head>
<body>
<div class="wrapper">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use bootstrap container instead of writing whole new styles for the wrapper.

<body>
<div class="wrapper">
<header>Todo App</header>
<div class="inputField">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use bootstrap form styles.

<button>Clear All</button>
</div>
</div>

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep the footer that is present on the home page.

</head>
<body>
<div class="wrapper">
<header>Todo App</header>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add the navbar that is present on the home page.

height: 100vh;
/* overflow: hidden; */
padding: 10px;
background: linear-gradient(to bottom, #68EACC 0%, #497BE8 100%);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pick colours from the existing scheme, this gradient looks far off.

//if the user value isn't only spaces
addBtn.classList.add("active"); //active the add button
} else {
addBtn.classList.remove("active"); //unactive the add button
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try adding the disabled bootstrap class so the cursor also gets changed.

js/todo.js Outdated
addBtn.onclick = () => {
//when user click on plus icon button
let userEnteredValue = inputBox.value; //getting input field value
let getLocalStorageData = localStorage.getItem("New Todo"); //getting localstorage
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make the key more unique something like algo-phantoms-todo-list

@harikesh409
Copy link
Collaborator

Few requested changes are missing. @ShambhaviSharma0110

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changes requested enhancement New Feature GSSOC21 GSSoC'21 level1 Major Documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Addition of To-do List
3 participants