Skip to content

Dale Sande - week 2 - homework assignment#5

Open
blackfalcon wants to merge 1 commit into
modern-web-application-uw18:masterfrom
blackfalcon:daleSande_week2_homework
Open

Dale Sande - week 2 - homework assignment#5
blackfalcon wants to merge 1 commit into
modern-web-application-uw18:masterfrom
blackfalcon:daleSande_week2_homework

Conversation

@blackfalcon

@blackfalcon blackfalcon commented May 2, 2018

Copy link
Copy Markdown

Week 2 HW Submission

Please fill out the information below in order to complete your assignment. Feel free to update this comment later if necessary.

  • Comfort rating on this assignment (1-5): 2
  • Completion rating on this assignment (complete/incomplete): complete
  • Github handles of code I've reviewed: n/a

@bhague1281 bhague1281 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks solid! Just need to add some tests for the components, either a "smoke test" similar to App.test.js or some snapshots.

@@ -0,0 +1,48 @@
/* http://meyerweb.com/eric/tools/css/reset/

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Like everything, this is also a npm module. You may or may not find it handy on future assignments https://www.npmjs.com/package/reset-css

class Card extends Component {
render() {

// destructure title var from article object

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍

<ByElement author={name}
image={this.props.article.author.image}
postedDate={new Date(postedDate).toLocaleString(
'en-us', standardOptions

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Did not know of these options you can pass into toLocaleString. Nice!

</div>
<div className='by-element__author-data'>
<p>{this.props.author}</p>
<p>{this.props.postedDate} - 2 min read</p>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Not a big deal, but "2 min" is hardcoded here.

@blackfalcon

Copy link
Copy Markdown
Author

@bhague1281 I just looked over this grade and noticed that I had a 15 out of 25 for Modular/reusable components

Not seeing any real feedback here that would illustrate why there was a 10pt deduction? Can you explain why?

@bhague1281

Copy link
Copy Markdown
Contributor

@blackfalcon This was either a mistake on my end or a result of the rubric being changed to give less emphasis on tests. But I adjusted the grade so it's 25/25 for modular components and 0/10 for tests. But same grade overall.

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