-
Notifications
You must be signed in to change notification settings - Fork 5
Complete #29
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
base: master
Are you sure you want to change the base?
Complete #29
Conversation
…en deleting comments
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.
Hey Jared, can you add a .gitignore file to your PR? And then add the node_modules folder?
https://gist.github.com/lmcneel/45594e550a3403d589bdcaad38138a83
All the new files has made it difficult to review the PR.
Thanks!
codetest/dist/styles.css
Outdated
|
||
|
||
|
||
background: -moz-linear-gradient(top, rgba(114,215,255,1) 0%, rgba(19,155,212,1) 100%); |
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 shouldn't have to use vendor prefixes for gradients:
https://caniuse.com/#search=gradient
http://shouldiprefix.com/#gradients
codetest/dist/styles.css
Outdated
text-decoration: none; | ||
} | ||
|
||
.button.button-primary { |
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.
Nice use of semantic class names with button-primary
I enjoyed this little project, it was nice to get back in to web dev a bit!
I wanted to use as few libraries as possible for this. I also wanted to use webcomponents because it's a new tech for me.
On Day 1, I just wanted to get the HTML and CSS in place to match the spec, along with some basic javascript functionality. At the end of the day I was able to make posts and comments.
On Day 2, I cleaned up a lot of my initial code, and broke more pieces out in to webcomponents.
I made the page a webcomponent, defined a posts controller, and wrote a datastore. At the end of Day 2 I felt I had most features in place.
On Day 3, I decided to include webpack, and set up dependencies between my webcomponents.
I also included a delete feature.
On Day 4, I cleaned up a bit. I wrapped my init JS into it's own class. I set max and min lengths with proper error messages. I handled over flows properly, and patched CSS to closer match the given design spec. I also added a simple sorting feature.