-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
Add Core Functionality With Some Extras #8
base: master
Are you sure you want to change the base?
Add Core Functionality With Some Extras #8
Conversation
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.
This is awesome! Nice job. Next challenge for you: How can you refactor this to make it more readable? Is there any duplication that can be removed? Can you rename things to make them more readable? Try to get each function down to 10 lines at most for extra fun.
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.
You're crushing it! My previous comment still applies, but I love the extras. How about including a few screenshots or even a video of the functionality in the PR description? Maybe improve the PR write up too? All just extras, but would be good experience.
@@ -4,24 +4,34 @@ | |||
<meta charset="UTF-8"> | |||
<title>Flatiron Task Lister</title> | |||
<link rel="stylesheet" href="./style.css"> | |||
<script defer src="./src/index.js"></script> |
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.
What does the defer
attribute do?
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.
It defers loading the script to after the DOM has loaded. I like placing the script tag up top.
Screen.Recording.2024-05-16.at.2.57.51.PM.movVideo of current functionality. Needs more code refactoring to slim down functions. |
To-Do app is able to create, and delete tasks. Also empty input field will not result in creating blank tasks.