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

  • RNSDaniel 40

    @RNSDaniel

    Submitted

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

    conseguir organizar a pagina e deixar semelhante no final. O código ainda é longo, preciso melhorar isso

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

    dimensionar os itens sem ter os detalher do design. fiz um esboço no figma

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

    tenho dificuldades de como dimencionar as distâncias no CSS

    @MikeCook9994

    Posted

    This is quite good. I opted to not use a table for the nutrition information because table styling is bizarre. I think just some divs is a better approach here.

    The only other thing that stands out to me is the overuse of rem in some places. For example, the header image is actually what constrains the size of the container. So I think it's more appropriate to set the image's max-width to the desired size (in this case 656px, exactly 50% of the original image's size), then set the container's width to min-content. Not the only approach, but because the container's size automatically adjusts according to its content, the page can more easily be maintained.

    0
  • @BluffSet7340

    Submitted

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

    I am proud of the fact that I was able to style the content appropriately using the CSS Flexbox styling without having to refer to YouTube videos as every turn and corner.

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

    The main challenge is simply having to eyeball the paddings, margins, and font sizes. The only workaround that I could come up with rather than having to pay for the PRO is copying the image onto Paint.Net and trying my best to analyze the spacings and the size of the avatar

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

    I need feedback regarding the optimization of my CSS styling. I did achieve the desired result but at the cost of having to refer to the same CSS selectors and dedicating one or two lines at a time rather than targeting multiple elements and styling them accordingly in one go.

    @MikeCook9994

    Posted

    The first thing that stands out to me is the over-use of pixel units, particularly for font sizes, padding, and margins. By no means, should you never use pixel, but using rem allows for more accessible designs that automatically adopt and adapt the user's text sizing preferences.

    You set an explicit height on your container. Which this might help achieve a more exact look, this is generally a bad idea. Generally, you should let the content determine the height of the element so you can prevent overflow.

    I think it's probably a good idea if you don't worry too much about trying to create a solution that exactly matches the design. Focus on the fundamentals like responsiveness, the value of certain units, different layout mechanisms, etc...

    One last thing, look into the gap property if you're not already familiar with it. It can be used to replace margins in a lot of cases.

    Marked as helpful

    1
  • @MikeCook9994

    Posted

    Your "Icon" div wraps just the svg and the article details; however, it excludes the author details. You could include all of these in the same parent to make them easier to layout between eachother.

    You've got some notable incongruencies with the target design, but I wouldn't worry too much about these as they're generally basic items like font color and size.

    I'll note that the design doesn't react appropriately on smaller screen sizes, but I honestly have no guidance for you on how to fix this.

    0
  • @Nasserio10

    Submitted

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

    i get the challenge after many attempt

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

    i had a difficult of positionning box inside each other , i didnt use tools like flexbox only relative and absolute positionning, it take 4 times much time to code than my initial 1 hour .the next time i will try to be quicker than this.

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

    i would like to see different solution from other newbie like me to get idea what is wrong with me.

    @MikeCook9994

    Posted

    A couple things of note:

    • Definitely explore flexbox or grid. With those centering the element within the page requires only 4 lines of css.
    • For this challenge, it was important to ensure that your content occupied the entire height of the screen. Doing so requires you to set the minimum height on the body element to 100vh (vertical height). This will allow CSS to vertically align the main content within the center of the page.
    • You have manual breaks set in the text to attempt to achieve the same view as the design. You should prefer letting text wrap according to the layout and styling your text such that it matches the design.
    0