Skip to content

homework done#5

Open
tanveeriali wants to merge 3 commits intofrontend-application-development-uw20:masterfrom
tanveeriali:homework
Open

homework done#5
tanveeriali wants to merge 3 commits intofrontend-application-development-uw20:masterfrom
tanveeriali:homework

Conversation

@tanveeriali
Copy link

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|2|3|4|5
  • Completion rating on this assignment: complete|incomplete

@@ -0,0 +1,22 @@
import React from 'react';
import missedArticles from './missed-articles.json';
import Box from './Box';
Copy link
Contributor

Choose a reason for hiding this comment

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

When possible, I'd recommend being more specific with variable names so that people looking at your code can quickly tell what things are. For example, Article as opposed to Box, or months as opposed to m. Just a nitpick though.

const author = this.props.author;
const mIndex = date.getMonth()
const day = date.getDate()
const month = m[mIndex]
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice job

"@testing-library/user-event": "^7.2.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "3.4.1"
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't forget to save dependencies (like prop-types) when installing

<div className='words'>
<Content title={article.title} description={article.description}/>
<Meta date={article.postedDate} minutes={article.minutesToRead} author={article.author} />
</div>
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing audio available/member preview

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