Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
34
Comments
16
Paras Sharma
@imparassharma

All comments

  • Kim•510
    @Mismisty
    Submitted over 1 year ago

    Project tracking Intro component

    1
    Paras Sharma•700
    @imparassharma
    Posted over 1 year ago

    To be honest your approach of creating divs is not correct....You have to think how will your layout will appear before coding. You should know flex property pretty well so that you can align items easily and in more clean way. You cannot just create divs anywhere and then give them property absolute and then position them using right and left...it is not a good approach.

    Like whats the point of naming a section right side and left side but in reality they are acquiring full page widths.... a more defined approach could have been like container width:100vw....then in html leftPage should be created ...and give it width of 50vw lets say,,and then rightPage with width 50vw.......in container flex direction row so that leftPage and rightPage goes next to each other....align-items center ,...justify-content :center....this is how you will have to proceed....with a particular layout in mind....

  • JulienLach•260
    @JulienLach
    Submitted over 1 year ago

    Social proof

    2
    Paras Sharma•700
    @imparassharma
    Posted over 1 year ago

    card2 add this property {position: relative; top:1rem} and similarly card3 add {position: relative, top:2rem}

  • Macury•40
    @Macury
    Submitted over 1 year ago

    Mobile-first solution using Flexbox

    2
    Paras Sharma•700
    @imparassharma
    Posted over 1 year ago

    add image give it z-index 0....then create a new div same to the size of the image...and give it z-index 1 ...position it absolute so you can put it on the image div.....give background-color property in the new div which is on top of the image div and reduce its opacity by giving property opacity:0.5 ....it should work

    Marked as helpful
  • JulienLach•260
    @JulienLach
    Submitted over 1 year ago

    Blogr landing page

    1
    Paras Sharma•700
    @imparassharma
    Posted over 1 year ago

    if you want your mobile-menu to not push the other divs when opened then you can give position : absolute to it and change right, left property to position it corectly.

  • Umer Khokhar•250
    @Umer-Khokhar
    Submitted over 1 year ago

    Newsletter sign up form with success message

    1
    Paras Sharma•700
    @imparassharma
    Posted over 1 year ago

    I looked at your code and found out that you have given position relative to the Img in the Right div when media-query is hit at 770px....By looking at that I think there is no need to give position relative to that ...it will work fine without that too

    Marked as helpful
  • wisny24•10
    @wisny24
    Submitted over 1 year ago

    Product card

    2
    Paras Sharma•700
    @imparassharma
    Posted over 1 year ago

    You will have to use multiple media queries according to your page. Like your page is getting messy firstly around 1450px So add one media query for 1450px and then so on check where things are getting messy and use media queries. The approach should be such that you will have to use less media queries which can be achieved if you will use proper dimension tools like %, ems, rems, vh/vw etc.

  • Matthew Reed•160
    @mreed4
    Submitted over 1 year ago

    React, React router, responsive, no Figma

    1
    Paras Sharma•700
    @imparassharma
    Posted over 1 year ago

    I didn't understand...are you having problem in publishing the react app in github?

  • Gwen-lego•270
    @Gwen-lego
    Submitted over 1 year ago

    Interactive rating component

    1
    Paras Sharma•700
    @imparassharma
    Posted over 1 year ago

    Hey, everything good and you are going in the right direction. Also in the div content-container you have used px to give it a width and height. My suggestion is that for big divs like these you should use vh/vw as it will increase the responsiveness of your page. Try to use ems, rems for paddings too. Use px for small entities.

  • rsacharias•20
    @rsacharias
    Submitted almost 2 years ago

    QR-code Solution using Flexbox

    1
    Paras Sharma•700
    @imparassharma
    Posted almost 2 years ago

    Everything looks good to me! Maybe I will not be able to help you with your structural query but you are going in the right direction! Keep up the work!

  • Marcus Hugo•365
    @marcus-hugo
    Submitted over 3 years ago

    Tip Calculator App with Vanilla JS

    3
    Paras Sharma•700
    @imparassharma
    Posted over 3 years ago

    Total should give Bill amount + Tip amount

    Marked as helpful
  • bunee•2,020
    @buneeIsSlo
    Submitted over 3 years ago

    🧮Tip Calculator | HTML, CSS | Javascript | Anime.js | Webpack

    3
    Paras Sharma•700
    @imparassharma
    Posted over 3 years ago

    I was looking to your code and saw that you never use height. I mean how ...for the main container I have to define some height because without it then I cannot design my inner components accordingly. So can you tell me should I use vh in my body or main containers? Or how to proceed? https://imparassharma.github.io/Price-Component-Toggle-sections-/

    This was the last project I did on frontendmentor but took me a lot time to adjust heights for 1440px dimension. Can you help me!

  • Jan Blahout•70
    @JanBlahout
    Submitted over 3 years ago

    FAQ Accordion card

    1
    Paras Sharma•700
    @imparassharma
    Posted over 3 years ago

    For making the text static you have to define the height of the container. You have also used justify-content so every time answer shows up the container adjusts its position automatically so don't use that.

    Marked as helpful
  • Gregg Christofferson•295
    @gchristofferson
    Submitted over 3 years ago

    Mobile first landing page using CSS Grid and Flexbox

    2
    Paras Sharma•700
    @imparassharma
    Posted over 3 years ago

    I generally use vh or vw for the main component of the design so it is bit responsive for every dimension. I use px for font-size and small margins and paddings. rem is scalable means browsers will adapt the rem size according to the browser of the system while px are not-scalable. Other user accessing your website cannot force change its size.(If he has some theme or preferred browser font size).

    Marked as helpful
  • AaronKylePorche•65
    @AaronKylePorche
    Submitted over 3 years ago

    Accordion that took way too long

    1
    Paras Sharma•700
    @imparassharma
    Posted over 3 years ago

    You can add overflow: hidden to the illustration image as per the requirement of the design. Less opacity of hr would have worked. You need to define the height of the main div (white box div) so that on revealing the answer it does not adjust its height automatically, it needs to be fixed. Good going! Keep working!

  • Paras Sharma•700
    @imparassharma
    Submitted almost 4 years ago

    Simple price grid component using html and css

    2
    Paras Sharma•700
    @imparassharma
    Posted almost 4 years ago

    Thank you for taking out time and helping me out. It means a lot to me and yes you are right I know a very little about flexbox actually I took the Angela's webdev course & later found out that there is much more for positioning so I think & also by your suggestion, I should first study about it more. I looked at your codepen example and it was so exciting that I can do that type of layout more efficiently all thanks to you.

  • Paras Sharma•700
    @imparassharma
    Submitted about 4 years ago

    CSS positioning

    1
    Paras Sharma•700
    @imparassharma
    Posted about 4 years ago

    Generally what I do is I use relative and absolute positioning on my elements and then I try to align them by giving top,left,right,bottom px/% Is there any method in this particular code that I can use for positioning.

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

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