Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
17
Comments
9
Lucas Piputto
@paiput

All comments

  • Ted•180
    @sharipoff-0-1
    Submitted over 3 years ago

    Responsive stats card

    #accessibility#sass/scss
    1
    Lucas Piputto•305
    @paiput
    Posted over 3 years ago

    Hi Ted! Nice job with this challange!

    I just have one suggestion, and it's that to make the overlay color look a bit more like in the design by changing the .bg-img background-blend-mode property to multiply. It won't look 100% the same as the design but I think it's pretty close.

    Hope that helps.

  • Brandt Darum•240
    @brandtdarum
    Submitted over 3 years ago

    Stats preview card component

    3
    Lucas Piputto•305
    @paiput
    Posted over 3 years ago

    Hi Brandt!

    To apply the purple filter to the image you could do something like this. In this case you wouldn't need the <img> tags inside the <div class="cardImageContainer">

    .cardImageContainer {
        /* then you would replace the backround url for mobile view with media query */
        background: url('../assets/images/image-header-desktop.jpg') var(--soft-violet);
        background-blend-mode: multiply /* you can also try other values */;
    }
    

    It looks like you are having some Accessibility and HTML Validations problems. You you can see a brief description of each problem by clicking the "view report" button.

    • Images must have alternate text: You should add an alt attribute with an alternative text in case image can't load.
    • Document should have one main landmark: You could fix this by replacing the <section> tag with a <main> tag.
    • Page should contain a level-one heading
    • All page content should be contained by landmarks
    Marked as helpful
  • Achref KS•530
    @AchrefFast
    Submitted over 3 years ago

    Mobile-first Workflow, Javascript, CSS Grid, Flexbox and Animation

    #sass/scss
    2
    Lucas Piputto•305
    @paiput
    Posted over 3 years ago

    Nice job! The animations look very good. If you asked I would make them a bit longer. For example:

    .testimonial__body .text {
        transition: transform 0.7s, opacity 0.6s, ease-in, -webkit-transform 0.7s;
    }
    
    .appear img {
        animation: popup 800ms;
    }
    
    .testimonial__body .author {
        transition: transform 0.7s, opacity 0.6s, ease-in, -webkit-transform 0.7s;
    }
    

    Greetings and happy coding!

    Marked as helpful
  • Dev Rathore•2,540
    @GitHub-dev12345
    Submitted over 3 years ago

    Stats-preview-card-component-professional-coding

    3
    Lucas Piputto•305
    @paiput
    Posted over 3 years ago

    Hi @GitHub-dev12345! Good job with challange!

    There's a problem with the image overlay in the mobile view. A possible solution would be to set

    .card .mainpic {
      background: 
        url(images/image-header-mobile.jpg) 
        hsl(277, 64%, 61%);
      background-blend-mode: multiply;
    }
    

    so you wouldn't need the <div class="overlay"></div> element.

    And if you want to get rid of your accessibility issue, you just simply need to replace <div class="attribution">...</div> by <footer class="attribution">...</footer>

    Hope that helps

  • Lesley Wesley•385
    @LesleyWesley
    Submitted over 4 years ago

    Responsive 2-Column Card Preview using Flexbox

    3
    Lucas Piputto•305
    @paiput
    Posted over 4 years ago

    I think it's okay, I did the same way. And I think it's because those buttons are supposed to take you to another page on your website.

  • Héctor Vásquez•510
    @Heitoluis
    Submitted over 4 years ago

    Css and Flexbox

    2
    Lucas Piputto•305
    @paiput
    Posted over 4 years ago

    Nice animations Héctor.

    Just a little detail that I found, from 340 pixels downwards the size of the icons is reduced. Maybe you could correct it with:

    .share-popup__icons > * {
      min-width: 17px; /*I tried with 17px but you could try any other*/
    }
    

    I'm not an expert but this might help. Great job!

  • Basak ulcay•110
    @basakulcay
    Submitted over 4 years ago

    FAQ Accordion Card

    1
    Lucas Piputto•305
    @paiput
    Posted over 4 years ago

    You could create different functions that use a for of loop to iterate through:

    • each questions' title
    • each questions' arrow
    • each questions' paragraph

    You could create classes in CSS, and, in those for loops, remove or add those classes to each <div class="line"> elements.

    I would use classes for all the titles, arrows, and paragraphs. This would be useful for example with the arrows, because you could use just one image, and when you click on the question or on the arrow, you add that image a class like this: .rotate-arrow {transform: rotate(180deg); transition: transform ease .5s;}`

    And in the JS, you could do something like this:

    const = document.querySelectorAll('.titleArrows'); // In your case your class is '.straight'  I think
    
    function rotateArrow(targetElement) {
        for (arrow of titleArrows) {
            arrow.classList.remove('rotate-arrow');
        }
    
        targetElement.classList.add('rotate-arrow');
    }
    
    

    After created those functions, you should create an eventListener that detects if you clicked on a question title, or on an arrow. You could do something like this:

    // I made it like this
    const box= document.querySelector('.box');
    container.addEventListener('click', (e) => {
        if (e.target.classList.contains('questionTitle')) {
             rotateArrow(e.target.firstElementChild);
        }
        else if (e.target.classList.contains('titleArrows')) {
            rotateArrow(e.target);
        }
    }
    

    The example above is just to give you an idea. Consider that the this example cannot be applied as is in your html because the layout is probably different.

    I hope this example has been helpful for you.

  • Basile Raiwet•175
    @BasileRaiwet
    Submitted over 4 years ago

    Social proof section using css grid

    2
    Lucas Piputto•305
    @paiput
    Posted over 4 years ago

    Wow, it's identical to the design. Awesome work!! Congrats!!

  • Leandro•120
    @LeandroRico
    Submitted over 4 years ago

    Mobile-first solution using Flexbox

    2
    Lucas Piputto•305
    @paiput
    Posted over 4 years ago

    I think you could use a background-size: contain; , and should make the main-image bigger. I didn't complete it all right but if you want you can check my code. https://github.com/paiput/frontend-mentor/tree/main/huddle-landing-page

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