Skip to content

Conversation

@jpcg698
Copy link

@jpcg698 jpcg698 commented Jun 5, 2021

No description provided.

@Alex-TH
Copy link

Alex-TH commented Jun 15, 2021

Please create the PR pointing to your repo 😅

Copy link

@Alex-TH Alex-TH left a comment

Choose a reason for hiding this comment

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

Overall looks good, great work, just the main things that I would recommend to check are:

  • Spacing in your files, seems like there's some inconsistency with the indentation and general spacing of tokens, try to run a linter and / or prettier and fix the rules.
  • Since your using styling components to add the css for the app I recommend to not mix approaches and just stick with styled components.
  • The responsive designs it's good I just saw that the heights of the cards are not uniform and it can make the list look weird.

About the acceptance criteria points I saw the 3 of them just for the styles as commented above try to stick with one approach. For the bonus points I didn't saw any error on console and the design is responsive.

@@ -0,0 +1,51 @@
// import logo from './logo.svg';
// import './App.css';
Copy link

Choose a reason for hiding this comment

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

You can completely remove the commented code, no need to keep it

display:grid;
gap:1rem;
grid-template-columns:repeat(auto-fit, minmax(300px, 1fr))
`
Copy link

Choose a reason for hiding this comment

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

There is something weird with the indentation please take a look and if needed configure your editor to fix it automatically.



const VideoList = js.items.filter(vid => (vid.id.kind === "youtube#video")).map((vid)=>(
<Cards key={vid.id.videoId} className="cards">
Copy link

Choose a reason for hiding this comment

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

is the cards class still needed? I saw that you're using styling components, if there is a style declaration for cards maybe you should move it to the styled block.

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.

3 participants