Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
4
Comments
4

Michael Cook

@MikeCook9994Redmond, WA60 points

Software Development Engineer 2 at Microsoft. Here I hack on stupid ideas for a weekend and struggle to commit to them.

Latest solutions

  • Vanilla HTML/CSS recipe page


    Michael Cook•60
    Submitted over 1 year ago

    One annoying part of a standard block layout is that you have to be awfully particular about margins, most often top margins on :first-child elements and bottom-margins on :last-child elements. I'm curious if there's a good way to simplify this without resorting to classes. While classes are great, I would take the trade of some uglier css selectors if I can add and remove content from my markdown without having to both with making sure the correct css classes are set.


    1 comment
  • Vanilla HTML/CSS Social Links Profile


    Michael Cook•60
    Submitted over 1 year ago

    I'm still not sure how of the best way to approach defining the widths for these kinds of cards. A view like this should be highly reactive as much of its base width is just padded out space for the sake of it. However, I am statically setting the width of the component and using min-width in child elements which prevents reactivity.


    1 comment
  • Vanilla CSS/HTML Blog Preview Card


    Michael Cook•60
    Submitted over 1 year ago

    Feedback on two points: First, is using flexbox/grid to layout the content within the card overkill? It's incredibly easy to do, but it could definitely be achieved without it. Is it unnecessary to use these layout algorithms when the content's layout is static?

    Second, how would I make this layout responsive on small screens ( < 475 pixels)? Is it possible to achieve this without media queries?


    1 comment
  • Vanilla html/css QR-Code


    Michael Cook•60
    Submitted over 1 year ago

    There are a lot of pixel units declared in the CSS and I'm not sure that's the proper way to do things. I stuck with pixels because it was the easiest way to match the presented design as closely as possible, but I'm curious if others are able to accomplish the same with less rigid measurement units.


    2 comments

Latest comments

  • RNSDaniel•40
    @RNSDaniel
    Submitted over 1 year ago
    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

    desafio Receita Simples de Omelete

    2
    Michael Cook•60
    @MikeCook9994
    Posted over 1 year ago

    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.

  • Saeed Bin Mizan•80
    @BluffSet7340
    Submitted over 1 year ago
    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.

    Social Links Profile

    1
    Michael Cook•60
    @MikeCook9994
    Posted over 1 year ago

    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
  • ajoshi103•20
    @ajoshi103
    Submitted over 1 year ago

    Blog Preview card

    1
    Michael Cook•60
    @MikeCook9994
    Posted over 1 year ago

    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.

  • Nasserio10•40
    @Nasserio10
    Submitted over 1 year ago
    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.

    Qr Code challenge using Html and Css

    1
    Michael Cook•60
    @MikeCook9994
    Posted over 1 year ago

    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.
Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub