Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
15
Comments
17
Yonten
@yozidst

All comments

  • Anurag Singh•1,265
    @exist08
    Submitted over 1 year ago

    FAQ Accordion using HTML CSS

    1
    Yonten•340
    @yozidst
    Posted over 1 year ago

    Hi 👋,

    Awesome job on this challenge! Something I noticed; maybe it was intentional was if I click a question or the (+), (-) on an opened accordion, the accordion doesn't react or collapse. The collapse function seems to be only enabled by clicking on the opened answer or another question's question or its (+) (-) symbol. Because the questions change color on hover I hoped that clicking an opened question would also have the collapse functionality on its own. Just thought I would let you know, cheers! 👋

  • orijaopilex•10
    @orijaopilex
    Submitted over 1 year ago

    QR code component USING HTML AND CSS

    #accessibility
    3
    Yonten•340
    @yozidst
    Posted over 1 year ago

    Hi there 👋

    Great Job on your first challenge! For implementing the project's font you can do the following:

    @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&family=Outfit:wght@400;700&display=swap');  // in your styles.css page
    
    :root {
       --ff: "Outfit", sans-serif;
    }
    
    body {
       font-family: var(-ff);
       ...
    }
    

    Hope that helps! Good Luck & fight on!

    Marked as helpful
  • vuson1709•120
    @vuson1709
    Submitted over 1 year ago

    Building Project using React

    #react
    1
    Yonten•340
    @yozidst
    Posted over 1 year ago

    Hi there 👋,

    Yes, some of the challenges have one or two colors missing. Some browsers have those color eye droppers to pick up color codes on the web as an extension. Or you can sometimes for instance do the following:

    root {
      --color-very-light-grey: hsla(217, 12%, 63%, 0.1);
    

    hsla (a) - alpha: You can modify that to match similar colors with varied texture to create a different blend whether it be lighter or darker.

    Hope that helps! Good Luck!

    Marked as helpful
  • Mohammdsale Hooshmandi•180
    @Mohammdsaleh-Hooshmandi
    Submitted over 1 year ago

    faq-accordion using Web Components

    #web-components#webpack
    1
    Yonten•340
    @yozidst
    Posted over 1 year ago

    Hi, Great Job on the challenge!

    I would recommend using <hr> in between the sets of questions in the accordion to divide and show a break in between.

    Also, maybe padding-bottom on the main-wrapper so the last answer on mobile view doesn't end abruptly.

    Keep going! 👊

    Marked as helpful
  • Alok Acharya•100
    @az0r234
    Submitted over 1 year ago

    Responsive Order Summary View

    #bem
    2
    Yonten•340
    @yozidst
    Posted over 1 year ago

    Hi there 👋

    Great Job on the Challenge!

    In terms of responsiveness, you can use the clamp function on the width of the container to perform scalable layouts.

    eg.

    @media only screen and (max-width: 1440px) and (min-width: 375px) {
        ...
        .orderSummary-card {
             width: clamp(350px, 30vw, 32.7rem );  // you can play around with the values. 
             ...
          }
         ...
    }
    
    • the first value is the smallest case scenario.
    • the middle value that occurs the most often and resizes depending on the screen width
    • the last value is the max-width you are comfortable with for scaling.

    Also, for your orderSummary-card, you listed two ways to center the container inside the main. Try to stick to one.

    Hope it was helpful! Keep going!

    Marked as helpful
  • mbongoelvis•540
    @mbongoelvis
    Submitted over 1 year ago

    faq-accordion-main

    #tailwind-css
    1
    Yonten•340
    @yozidst
    Posted over 1 year ago

    Hello 👋

    Congratulations! on the challenge. A quick tip I would recommend is to give your container a desired margin-top value.

    eg.

    .container {
        position: relative;
        display: flex;
        align-items: center;
        flex-direction: column;
        padding: 34px;   // depending on preference; bottom padding* mainly 
        margin-top: 134px  // depending on preference; this was my setup
    }
    

    The padding or margin-top can be excluded for an inner div, depending on if you have another content div inside for all the info. This way your accordion is prevented from expanding higher and eventually cutting off your information; especially on the mobile layout. The padding will safeguard from contents from overflowing.

    Keep up the grind! 👊

    Marked as helpful
  • LukasReegan•20
    @LukasReegan
    Submitted over 1 year ago

    QR Code challenge

    2
    Yonten•340
    @yozidst
    Posted over 1 year ago

    Hello,

    Congrats and Great job on your 1st Challenge! 👍

    I would recommend the following for laying out your content for the future. This way you won't have to center the container using margins or padding and the full height of the screen is utilized.

    eg.

    body {
        margin: 0;
        padding: 0;
        min-width: 100vw;
        min-height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    

    Also, after setting your body's font size, you can make use of rem to scale the other differing components.

    • This means that 1rem equals the font size of the html element, which for most browsers has a default value of 16px.
  • Andrés Gutiérrez Ramírez•2,470
    @AGutierrezR
    Submitted over 1 year ago

    FAQ accordion (Tailwind CSS + AlpineJS)

    #accessibility#animation#pwa#tailwind-css#lighthouse
    1
    Yonten•340
    @yozidst
    Posted over 1 year ago

    Hello 👋,

    Congrats! on the challenge. Great job on the layout. Here is a minor/unnecessary tip:

    html {
        border-left: #333 solid 1px;
        border-right: #333 solid 1px;
    }
    

    ~This would hide that 1px for the pink line appearing from both sides by camouflaging with the monitor's side shadow.

    Also, maybe implement a margin-top on your container, that way it stops the accordion from expanding higher. On mobile view on 375px, the content gets cut off from the bottom and can't be scrolled downwards. An accommodating margin-top and bottom padding will prevent content from getting cut off from the user's reach. Nevertheless, Keep going!

    Here's my approach:

    eg.

    .container {
        position: relative;
        display: flex;
        align-items: center;
        flex-direction: column;
        padding: 34px;   // depending on preference; bottom padding* mainly 
        margin-top: 134px  // depending on preference; this was my setup
    }
    
    Marked as helpful
  • Mani Kandan•70
    @mkandan1
    Submitted over 1 year ago

    FAQ accordion using HTML CSS JS

    #animation
    1
    Yonten•340
    @yozidst
    Posted over 1 year ago

    Hi 👋

    Congratulations! on the challenge. A quick tip I would recommend is to give your container a desired margin-top value.

    eg.

    .container {
        position: relative;
        display: flex;
        align-items: center;
        flex-direction: column;
        padding: 34px;   // depending on preference; bottom padding* mainly 
        margin-top: 134px  // depending on preference; this was my setup
    }
    

    The padding or margin-top can be excluded for an inner div, depending on if you have another content div inside for all the info. This way your accordion is prevented from expanding higher and eventually cutting off your information; especially on the mobile layout.

    Keep up the grind! 👊

    Marked as helpful
  • Sherline Au•170
    @sherlineau
    Submitted over 1 year ago

    FAQ accordion using vitejs

    #react#vite
    1
    Yonten•340
    @yozidst
    Posted over 1 year ago

    Hi 👋

    Congratulations! on the challenge. A quick tip I would recommend is to give your container a desired margin-top value.

    eg.

    .container {
        position: relative;
        display: flex;
        align-items: center;
        flex-direction: column;
        padding: 34px;   // depending on preference; bottom padding* mainly 
        margin-top: 134px  // depending on preference; this was my setup
    }
    

    The padding or margin-top can be excluded for an inner div, depending on if you have another content div inside for all the info. This way your accordion is prevented from expanding higher and eventually cutting off your information; especially on the mobile layout.

  • Sayan De•120
    @RoosterRoo
    Submitted over 1 year ago

    Responsive FAQ Accordion using HTML, CSS and JS

    1
    Yonten•340
    @yozidst
    Posted over 1 year ago
    1. I liked that your accordion stays in place and doesn't scale up and cut part of the top. Also, it's mobile-friendly.
    2. Your panel div should be included inside your accordion div; that way the answers wouldn't stretch past or you can set smaller widths on the container.
    3. Maybe some animations of the sort & pointer: cursor on the accordion/ questions

    ~ Those aside, Great Work! Keep it up!

    Marked as helpful
  • Jack Smith•350
    @Clonephaze
    Submitted over 1 year ago

    Faq Accordion ussing html/css/javascript

    #accessibility#animation
    1
    Yonten•340
    @yozidst
    Posted over 1 year ago

    Hi 👋, Nicely Done!

    You could maybe add <hr> in between the question sections to act as a clean divider.

    Just a tip; nevertheless, Great Job! Keep Going!

  • P
    Alexandra•580
    @Alexandra2888
    Submitted over 1 year ago

    FAQ accordion

    #accessibility#bem#lighthouse
    1
    Yonten•340
    @yozidst
    Posted over 1 year ago

    ~ Hi, there

    Great job on the challenge! A quick tip on the layout,

    Instead of using Top, Left & transform like such,

    .main__content-box {
        display: flex;
        flex-direction: column;
        background-color: var(--clr-white);
        position: absolute;
        width: 25rem;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding-bottom: 1.0063rem;
        border-radius: 1rem;
        box-shadow: 0rem 2rem 3.5rem 0rem rgba(80, 0, 118, 0.1);
    }
    

    I would recommend something along the lines of:

    .main__content {
        position: relative;
        display: flex;
        align-items: center;
        flex-direction: column;
        padding: 34px;   // depending on preference; bottom padding* mainly 
        margin-top: 134px  // depending on preference; this was my setup
    }
    

    This would allow for the content to stay in place instead of the accordion shifting up and getting cut off. I just completed mine. Although, I used java script, the layout maybe be helpful.

    Marked as helpful
  • Priyanka Roy Choudhury•100
    @PriyankaRC16
    Submitted over 1 year ago

    Single Price Grid Card Component using HTML and CSS

    3
    Yonten•340
    @yozidst
    Posted over 1 year ago

    Hi there,

    Right below Design Comparison where they show the comparison of design to your solution; to the top right of that, there is a "Generate New Screenshot" button which updates the screenshot from the latest update from your provided link to the site. Note that there is a limit of 5 quantities for generating new screenshots which refresh every month for non-premium members. Also, the # of New Screenshots does not stack every consecutive month. Hope that helps. Cheers!

  • Muhammad Zubair•160
    @Mini-Elliot
    Submitted over 1 year ago

    Huddle Landing page

    #sass/scss
    1
    Yonten•340
    @yozidst
    Posted over 1 year ago

    Possibly adding a bottom and top padding on the mobile view; the socials on the mobile view are cut off

    Still, Great Work! 👍🏻

  • Pablo Dettori•740
    @p4bloxx
    Submitted over 1 year ago

    E-commerce product page (Html,Css(Sass), Splide.js, Js)

    #accessibility#cube-css#sass/scss
    1
    Yonten•340
    @yozidst
    Posted over 1 year ago

    Hey, just wanted to point out something I noticed. For the image dialog box. Only the image with the shoe pointed to the left standing on two rocks matches the image of itself when clicked to view on dialog box. The rest is sort of in a shuffle. Nevertheless, Awesome job! 👍🏻

  • Mazen Hassan•600
    @Mazz100
    Submitted over 1 year ago

    3-Column responsive layout challenge

    #accessibility#fresh
    2
    Yonten•340
    @yozidst
    Posted over 1 year ago
    • If you can implement display: grid and have grid-template-column into 3 equal parts it should simplify the challenge.

    eg.

    .content {
        display: grid;
        grid-template-columns: 307px 307px 307px;
        grid-template-rows: 30rem;
    }
    
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

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