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

ROCKY BARUA

@DrougnovChittagong, Bangladesh1,090 points

Self-taught front-end developer. Love to build and learn.

I’m currently learning...

Django

Latest solutions

  • Age calculator app solution | Responsive | Mobile first

    #accessibility#semantic-ui

    ROCKY BARUA•1,090
    Submitted over 2 years ago

    0 comments
  • Todo app main solution with drag and drop | Responsive | Mobile first

    #accessibility#react#semantic-ui

    ROCKY BARUA•1,090
    Submitted over 2 years ago

    0 comments
  • Solution of Results summary component | Responsive | Mobile-first

    #accessibility#semantic-ui

    ROCKY BARUA•1,090
    Submitted over 2 years ago

    0 comments
  • Interactive pricing component's solution | Responsive | Mobile-first

    #accessibility#semantic-ui

    ROCKY BARUA•1,090
    Submitted over 2 years ago

    0 comments
  • Blogr Landing Page Solution | Mobile First | Responsive

    #accessibility#semantic-ui

    ROCKY BARUA•1,090
    Submitted over 2 years ago

    0 comments
  • Time tracking dashboard's solution | Responsive | Mobile-first

    #accessibility#semantic-ui

    ROCKY BARUA•1,090
    Submitted almost 3 years ago

    0 comments
View more solutions

Latest comments

  • Christian Novo Sacramento•20
    @cnsacramento
    Submitted over 2 years ago

    QR Code component

    1
    ROCKY BARUA•1,090
    @Drougnov
    Posted over 2 years ago

    Hello @cnsacramento, great job. The code looks neat and clean. Here are some things you can improve:

    • Change the h2 to h1 as the page should contain a level-one heading.
    • The box shadow is not working on the .card, cause you've only provided the color. You also need to provide the h-offset and v-offset value. You can learn more about box shadow from here
  • i_d_s_l•270
    @ilvdrskn
    Submitted over 2 years ago

    FLEX||GRID

    1
    ROCKY BARUA•1,090
    @Drougnov
    Posted over 2 years ago

    Hello @ilvdrskn, great job on completing this challenge.

    As the .modal-menu is an absolute element and its parent .head doesn't have a defined height, it is only taking the head's initial height. To fix this, simply remove the height: 100% from the .modal-menu, and it will get the desired full height.

    Also, try to fix the accessibility warnings. If you need further help on this, feel free to ask or check out my solution. Have a good day :)

    Marked as helpful
  • spacemanOG•120
    @SpacemanOG
    Submitted almost 3 years ago

    spaceman(og) practice project - Stats preview card component

    1
    ROCKY BARUA•1,090
    @Drougnov
    Posted almost 3 years ago

    Hi @SpacemanOG, the design is looking great. Good job.

    Use a pseudo-element(::after,::before) to create an overlay on that image container. Like this:

     .heroImage::after {
      position: absolute;
      content: "";
      width: 100%;
      height: 100%;
      background: hsla(277, 64%, 40%, 0.6);
      top: 0;
      left: 0;
    }
    

    And don't forget to add position: relative to the heroImage.

    You can remove the 'source media' for the 300px width as the img will be shown by default on lower that 1200px width screen.

    Hope this helps. Have a good day :)

    Marked as helpful
  • Cenk•90
    @cenkderman
    Submitted almost 3 years ago

    Product preview card component solution using flexbox

    #accessibility
    1
    ROCKY BARUA•1,090
    @Drougnov
    Posted almost 3 years ago

    Hello @cenkderman, great job.

    • The design is looking perfect on the desktop viewport. But the text-content is exceeding the container in mobile view. Avoid using height if not absolutely necessary.

    • The google font link is wrong. In the HTML change your font link to this:

    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,700&family=Montserrat:wght@500;700&display=swap" rel="stylesheet">```.
    
    Or, just simply add this line at the top of your CSS :
    
    ```@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,700&family=Montserrat:wght@500;700&display=swap');```
    
    • Use a default font in the body tag. Ex: Montserrat and use the other one on the needed element. In this way, you can save some lines.
    • Although you have beautifully added the images with display none and media queries, the semantic way would be using the picture tag. Like this:

    <picture> <source media="(min-width: 650px)" srcset="./images/image-product-desktop.jpg"> <img src="./images/image-product-mobile.jpg" alt="Gabrielle CHANEL's perfume bottle"> </picture>

    Don't forget the alt text 😉.

    You can check my solution for further information. If you have further questions, feel free to ask. Have a good day.

    (edit) Having trouble formatting the comment. I hope you can still understand what I'm trying to say

    Marked as helpful
  • Caio Rosa•20
    @caio-rosa
    Submitted almost 3 years ago

    Responsive data analytcs card landing page (also mobile)

    3
    ROCKY BARUA•1,090
    @Drougnov
    Posted almost 3 years ago

    Hi @caio-rosa, good job on the challenge.

    To achieve the purple filter on the image, you can use pseudo-code(after or before) on the container. At first use position relative to the container.:

    .container {
      position: relative;
      z-index: 0;
      overflow: hidden;
    }
    

    And add after to the container like this:

    .container::after {
      position: absolute;
      content: "";
      width: 100%;
      height: 100%;
      background: hsla(277, 64%, 40%, 0.6);
      top: 0;
      left: 0;
    }
    

    this should do the trick.

    You might wanna work on the accessibility and responsiveness(mobile devices). For further help feel free to comment or view my solution

    Anyway, keep up the good work and have a good day : )

    Marked as helpful
  • caiomiyaji•40
    @caiomiyaji
    Submitted almost 3 years ago

    QR code component built with HTML and CSS (flexbox)

    1
    ROCKY BARUA•1,090
    @Drougnov
    Posted almost 3 years ago

    Hey @caiomiyaji, good work. The card looks awesome.

    You can fix the accessibility issue by changing the h2 to h1. It is the best practice to have a level 1 header for a well-designed page.

    Here is a blog about the details if you wanna know more.

    Marked as helpful
View more comments

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

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