Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
18
Comments
10
Marcus Hugo
@marcus-hugo

All comments

  • Emmilie Estabillo•5,580
    @emestabillo
    Submitted about 5 years ago

    Mobile-first with Flexbox and old-fashioned CSS

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

    Hey Emmilie, I've been googling javascript for a basic carousel, and all the tutorials are very complicated, but, your solution is so concise! I couldn't understand how to implement the logic and I've been studying your solution and wondering how the slideIndex gets updated with each click?

    I think I understand. Is it because slideIndex is a variable that gets updated with each onclick="plusSlides(1) or onclick="plusSlides(-1)?

  • ApplePieGiraffe•30,525
    @ApplePieGiraffe
    Submitted almost 3 years ago

    Pure CSS FAQ Accordion Card With Sweet CSS Animations

    #accessibility#sass/scss
    19
    Marcus Hugo•365
    @marcus-hugo
    Posted over 3 years ago

    I've been reworking my solution and saw that yours has no javascript and that you used the details and summary elements, which I didn't know about!

    I really like the animations on load too!

  • Md Ajmal Shadab•410
    @mdajmalshadab
    Submitted over 3 years ago

    Huddle landing page with a single introductory HTML and CSS

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

    Looks really good! I had the same thing happening and what worked for me was,

    background-position: 0 0;
    background-size: auto 100vh;
    
  • Logan Willaumez•160
    @LoganWillaumez
    Submitted over 3 years ago

    Hundle landing page

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

    Desktop looks great! I like the animations too! for the mobile background image, instead of body::after you could try using background-image with the svg url. This is what worked for me,

    background-image: url(../images/bg-mobile.svg);
    background-repeat: no-repeat;
    background-position: center 0px;
    background-size: contain;
    
    Marked as helpful
  • Edyta•100
    @Infinit-dot
    Submitted over 3 years ago

    FAQ accordion, mobile first workflow, vanilla javascript

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

    Looks great! I really like the animations!

  • samandavari•20
    @samandavari
    Submitted over 3 years ago

    I used javascript for my first time

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

    Looks good!

    For the box svg , add it to the html before the div .image, then in the css set it to position: relative and position it with top: and left: like this

    display: inline;
    position: relative;
    left: -177px;
    top: 282px;
    

    Try removing the heights from the .wrapper and .accwrapper, that should keep it from popping out of the wrapper.

    For hiding the images, it looks like you could add the bg-pattern to the .image div and then set it to position: relative and z-index: -1, and overflow: hidden, though I'm not sure it will work?

    I ended up using background-image: with url().

    background-image: url(../images/illustration-woman-online-desktop.svg), url(../images/bg-pattern-desktop.svg);
            background-position:  -76px, -571px -248px;
            background-size: 472px, 966px;
            background-repeat: no-repeat;
    

    Hope this helps! Happy coding!

  • Alessandro•215
    @alessandro-giuzio
    Submitted over 3 years ago

    FAQ accordion card solution WORK IN PROGRESS

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

    Looks good!

    I noticed the box svg is not centered when the accordion expands. You could try setting the .wrapper to align-items: baseline and then set the box svg position top: 7.4rem

    hope this helps!

    Marked as helpful
  • Babajide Peter Oyafemi•200
    @Babajide777
    Submitted over 3 years ago

    Semantic HTML5 markup, CSS3, Flexbox, SASS, VanillaJS

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

    I had the same problem when switching to desktop. What worked for me was placing the desktop illustration and bg-pattern as background-images.

    background-image: url(../images/illustration-woman-online-desktop.svg), url(../images/bg-pattern-desktop.svg);
    background-position:  -76px, -571px -248px;
    background-size: 472px, 966px;
    background-repeat: no-repeat;
    

    Hope this helps!

    Marked as helpful
  • P
    Patrick•14,265
    @palgramming
    Submitted about 4 years ago

    Pod Request Landing Page (HTML + CSS + JS)

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

    How did you change the color of the svgs?

  • Marcus Hugo•365
    @marcus-hugo
    Submitted almost 4 years ago

    3 column preview card using HTML and CSS

    3
    Marcus Hugo•365
    @marcus-hugo
    Posted almost 4 years ago

    Thanks for the suggestions!

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