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.
One of the best Project in my Frontendmentor Profile, Because i make this project best CSS Responsive Code and Used Best HTML5 Structure, in this project Used CSS Animation Code & Flex-Box CSS to make the webpage Responsive and attractive and Coders Reviewers read and undestand this Code easly.
Used Flex-Box
#100DaysOfCode
#WebDevelopment
#CSS3 #HTML5
Hi @GitHub-dev12345 :) Your solution looks very close to the original and I like the transition effects you added.
May be a little adjustments would be useful. I notised that the main heading is not centered in mobile view and the bottom background image on desktop view seems to be align to the bottom of the page content and not to the screen.
This is my first javascript submmition, any comments are more than welcome.
My main difficulties are still the background images in the right way, I would like to know how to put them in a wrapper, I have tried to do this by fitting them in a div, but it did not work once i had to put in absolute position.
Is my script okay? I've tried to do this the simplest way.
Thanks for reading >.<
Hi @Harshi786, your desktop layout looks good, but there's something wrong in mobile view.
Try to change the width of the .card elements to 100% in the media query and I think the screen max-width should be at least as wide as the .container element (1080px) because of the fixed size.