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

  • @mfreire1996

    Submitted

    First time doing a challenge for Frontendmentor and it was quite an enjoyable journey. The difficult part for me was getting my javascript to work how I would normally do for my css. It still has some flaws in it such as when the user clicks submit and dismiss message the container now gets all squished even with the media queries. If anyone can tell me some better practices for my javascript that would be truly helpful. Thank you

    @tasandra

    Posted

    Hi, nice job. Everything aligns perfectly. I think the problem with dismiss button is you have container display: grid is css, but in javascript when the user click on dismiss button you assign it to display: block

    Marked as helpful

    1
  • @tasandra

    Posted

    Nice work 😁! I like the coloring! Try to remove width from your HTML, it should center the card in a small screen

    <div class="card" style="width: 20rem;">
    0