Hi Anna :) You have done good work and your solution looks well and it's responsive. To the questions:
I don't think there is single right way to use grid or flex in this case or any other. You could use only one of them or combine them. Just choose what fits more to the design as you did here.
to change the opacity only of the underline your selectors should be:
I struggled to do the triangle on the bottom of the share bar for the desktop active version. However, I did manage to use a filled in triangle (which I think looks better). I am not sure how to get the one specified in the design files, however, using pure CSS.
Hi Amelia, if you just change the border-top from 24px to 12px your triangle will look closer to the one of the provided design. Another way to make the triangle arrow under the share bar only with CSS is to use pseudo element. For this remove the element with id=arrow and add
Hi Davide. You've created the underlining of "Learn more" as linear background half of it transparent and the lower part of it with color (yellow or red). This way the roundness of the upper corners will never be visible because the corners are not visible itself. Try useing pseudo elements to implement this decoration - something like this.
How to get the background images (top/bottom) in place for desktop/mobile view without using media query?
Perfect is the enemy of finished, so I'm submitting and then check out how others did it :)
I'm not sure if that possible :) Even with media queries is difficult to achieve the result from the original design. Here's the best solution I've came across but it is also with media queries.
("Perfect is the enemy of finished" - I have to frame this... :D)
I have a question regarding the <br> in the paragraph, the places of the <br> are different between desktop and mobile screen, does implementing multiple <br>and use display: none | display: block with medias queries is the good way to go ?
If you have a better solution or other feedbacks I will be happy to read.
Hi @myrdn, I don't think you need any <br> element in the paragraph text. Remove them all. Just leave the text fill the width of the container and you may use padding to add some space on the left and right of it.
Hi Adham! Very good first solution from you. I think the html and css are well structured, just pay attention to the accessibility issues from the report. It says that you need to use sematic HTML to add more meaning to your tags - Semantics in HTML. You could wrap the nft-container in <main> tags and use <h1> for the title element.
Hi Stefan :) Your solution looks very close to the original. My only concern is that it switches from desktop to mobile view too early and it would be more convenient to set the breakpoint into variable so it can be more easily changed.
Hi Thin :) I like your solution. It works great and the JS is readable. There are some accessibility issues that can be cleared with using semantic HTML.