Skip to content

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

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

Complete #29

wants to merge 17 commits into from

Conversation

Seeders
Copy link

@Seeders Seeders commented Aug 21, 2019

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.

Copy link

@octovinh octovinh left a 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!




background: -moz-linear-gradient(top, rgba(114,215,255,1) 0%, rgba(19,155,212,1) 100%);

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

text-decoration: none;
}

.button.button-primary {

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants