Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

All comments

  • @vanshraheja75

    Submitted

    What are you most proud of, and what would you do differently next time?

    it was an easy one

    What challenges did you encounter, and how did you overcome them?

    no challenges

    What specific areas of your project would you like help with?

    any suggestion acceppted

    P

    @JYLN

    Posted

    I like your use of min-height and flexbox for centering content. It was a trick I learned way too late into my learning, and it's been a life-saver with centering content. I also have used grid with the same min-height technique and it's great!

    The only suggestions I have is:

    1. Be careful to constrain your heights on your elements. Your card height is locked in at a px specific height, especially since it's not min-height. It's a habit I have as well. Ultimately, I think it's best that the flow of the layout justifies the heights of the overlying elements.
    2. Some left and right padding on the text of the card may help it not seem so cramped within the card

    Overall, great job! Keep up the good work

    Marked as helpful

    0
  • P

    @JYLN

    Posted

    Great work on your solution! Even though this is a simple project, I think it's great practice for using and understanding Next, so I commend you there.

    A few things I noticed while looking through your code that could potentially use some improvement:

    1. You used explicit arbitrary values for your sizes throughout the project. Ideally, I would recommend that you use relative values (rem/em) so that your sizes scale properly based on different root base sizes. As well, I would recommend that you stick closer to Tailwind's utility classes (at least with this project, they fit rather nicely). I usually only revert to using arbitrary values in Tailwind classes if none of their provided utility classes produces the result I want.
    2. Your component could use a bit more spacing and variety of font sizes to fit the design slightly better. For example, I think that the root card element could use a bit of extra padding, there could be more gap between the content elements of the card, and I think the Learning tag and published date could be a little smaller. The Figma design file provided with this project gives some great insight on what that spacing and sizes could look like.

    Overall, keep up the good work!

    Marked as helpful

    0
  • P

    @MattPahuta

    Submitted

    What are you most proud of, and what would you do differently next time?

    A straightforward component that required minimal markup and styles. I've enjoyed working on these smaller projects to focus on fundamentals and be reminded that there's value in keeping solutions simple and easy to understand.

    What challenges did you encounter, and how did you overcome them?

    Even with this simple component I initially added more markup than was necessary. It felt good tearing things down to the studs.

    P

    @JYLN

    Posted

    I think your solution is great! I completely understand your statement regarding overcomplicating the markup (I do it a lot too), it's fairly easy to do but good on you for reviewing and refactoring upon that.

    I also like the simplicity of how your CSS file is laid out with the variables, reset, and base styles. I especially enjoy the comments of your variables containing the sizes of your intrinsic units in pixels. It shows you paid close attention to detail regarding the design spec.

    Great work!

    Marked as helpful

    0
  • P

    @JYLN

    Posted

    Great work on your solution!

    I'm unable to review your exact code as it appears the GitHub link is broken, but based on the code I'm seeing through inspect, the code looks great!

    One thing I did notice, which I'm not sure if it's a build issue (if you used React based on the tags of the your solution), but there appears to be a <br> within the title (<h3>) of the QR code card text. Ultimately, I believe you'd want to have this as one line of text and leverage CSS for the correct breaking of words. One easy way I can see this implemented in your code is by adding padding on the left and right side of your <div> element containing the text. According to inspect, it appears there's only bottom padding.

    Overall, great work!

    0