Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
27
Comments
10

Dusan

@DEmanderbagRemote700 points

Dusan Milosevic is a Front-End Developer who likes solving problems with design and code.

Latest solutions

  • Loopstudio landing page with HTML and SCSS


    Dusan•700
    Submitted about 4 years ago

    0 comments
  • Column Preview page with HTML and SCSS


    Dusan•700
    Submitted about 4 years ago

    0 comments
  • Typemaster landing page


    Dusan•700
    Submitted about 4 years ago

    0 comments
  • Clock app with a support for PWA


    Dusan•700
    Submitted over 4 years ago

    1 comment
  • GitHub Jobs API with Dark mode toggle


    Dusan•700
    Submitted over 4 years ago

    0 comments
  • REST Countries with Vanila JS and theme switcher


    Dusan•700
    Submitted over 4 years ago

    1 comment
View more solutions

Latest comments

  • Gizem•140
    @gizemnkorkmaz
    Submitted almost 4 years ago

    BEM & SASS

    1
    Dusan•700
    @DEmanderbag
    Posted almost 4 years ago

    Hey Gizem,

    Your code looks clean and good love the use of SCSS and BEM.

    I've noticed one thing that you can change for future projects. When you are creating a tags try using <a href="#"></a>. This is a common practice for links that don't go anywhere like in this case.

    Your current solution is reloading the page every time you click the link, this is not a problem because the page is small and you don't even notice it.

    Happy coding.

  • Athreya G•410
    @AthreyaG4
    Submitted about 4 years ago

    Basic HTML and CSS and Vanilla JS

    1
    Dusan•700
    @DEmanderbag
    Posted about 4 years ago

    Hello Athreya, great solution.

    Because this challenge is a component you would usually not use the footer here. Footer is used mostly for copyright data or for some useful links.

    I would also look into removing the onclick event from HTML and instead of that move everything to JS. Your approach is not wrong but I think by using document.queryselector you can target any element on the page right from the JS so you can keep your HTML code separated from JS code. Most of the time it's a good idea to have everything related to JavaScript in a JavaScript file. If your code is larger, it would become much harder to follow.

    Keep on coding ^^

    Marked as helpful
  • Pia•130
    @Pia007
    Submitted about 4 years ago

    Stat Preview Card using Flexbox.

    1
    Dusan•700
    @DEmanderbag
    Posted about 4 years ago

    Hey Pia, great solution. I really love the use of CSS custom properties.

    Your solution has an image with the space at the bottom that is there because the image tag is an inline element. To remove it all you need to do is to put a display block on the image or in your class on the class group.

    The code looks clean and readable I really don't have anything else to add.

    Keep on coding ^^

  • Becki Floyd•10
    @nass84
    Submitted about 4 years ago

    First challenge on Frontend Mentor.

    3
    Dusan•700
    @DEmanderbag
    Posted about 4 years ago

    Hey Becki, to align something horizontally you can use margin: 0 on top and bottom and auto on left and right.

    You have a couple of options here:

    • Try looking into Flexbox where you will be able to align it to center horizontally and vertically
    • Or check CSS Grid

    In any of these two cases, you will need to put a min-height of 100vh on your parent element in your case body after that you will need a display of flex or grid on your body as well.

    10 modern layouts in 1 line of CSS

  • soransh singh•1,025
    @soransh-singh
    Submitted about 4 years ago

    Stats preview card component

    1
    Dusan•700
    @DEmanderbag
    Posted about 4 years ago

    Hey, Soransh great submission.

    This is what I would change. Your tablet/desktop view is not full screen. With your current code as it is try adding display flex on the body element with flex-direction column and with justify-content and align-items center.

    The image is also creating some space at the bottom and in other to resolve that you can use width and height on an image tag of 100% so it can grow as much as the parent element in your case div with a class of image. But after that image can look distorted and in other to resolve that you can use object-fit: cover again on the same image tag.

    Would suggest checking Perfectly Sized Images

View more comments
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

Beta Member

This badge is a shoutout to the early members of our community. They've been around since the early days, putting up with (and reporting!) bugs and adjusting to big UX overhauls!

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