Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
2
Comments
27
Aditya Singh
@adityas24

All comments

  • Fiqih Alfito•320
    @fiqihalfito
    Submitted over 2 years ago

    Huddle landing page with single introductory section solution

    #next#tailwind-css
    2
    Aditya Singh•460
    @adityas24
    Posted over 2 years ago

    Hi Fiqih

    I couldn't get what exactly is your problem? Can you tell in detail?

  • Sanjog Patel•80
    @Sanjog735
    Submitted over 2 years ago

    News-HomePage-UI

    #fresh#foundation
    2
    Aditya Singh•460
    @adityas24
    Posted over 2 years ago

    Hi Sanjog, i loved your site, great job!

    For creating those lines, you can simply give border-bottom to the first and the second boxes you have created. That is the best way to do it i think.

    If you still want to follow any other path, you can use div tag and give it width, height and background color. But why to create tags unnecessarily if you can do it just by adding border-bottom. This would be a bad practice.

    Do mark it as helpful if it helped you. Happy coding!

  • Saswat Samal•80
    @saswat10
    Submitted over 2 years ago

    Profile-Card

    3
    Aditya Singh•460
    @adityas24
    Posted over 2 years ago

    Hi Saswat, great effort by you!

    I saw that for displaying the person's image, you are using background image. But the image tag is the most appropriate way to display image here. For more information read this stackoverflow answer on background image vs img tag

    Hope it was helpful, Happy coding!

    Marked as helpful
  • Dhanya•50
    @dhan5a
    Submitted over 2 years ago

    QR code component

    2
    Aditya Singh•460
    @adityas24
    Posted over 2 years ago

    Hi Dhanya, Great work by you. I found following irregularities in your HTML

    1. Instead of writing this <div class="header"> Improve your front-end skills by building projects </div> You could have written

         <h2> Improve your front-end skills by building projects </h2>
    

    It is semantically better code. And not necessary to use h2 tag. You can use any heading tag according to requirement

    2. And you should have used paragraph tag here

         <div class="text-copy">
              Scan the QR code to visit Frontend Mentor and take your coding skills to 
               the next level
          </div
    

    Instead of above code, you should write <p> Scan the QR code to visit Frontend Mentor and take your coding skills to the next level </p>

    Here right tag to be used is paragraph tag.

    Thanks, Happy coding.

    Marked as helpful
  • Szymon Paprocki•320
    @spaprocki
    Submitted over 2 years ago

    Stats preview card component - plain CSS, flexbox, grid

    1
    Aditya Singh•460
    @adityas24
    Posted over 2 years ago

    Hey Szymon, great job , a very well semantic html written by you. I think writing good semantic HTML is harder to master than CSS.

    And I would like to suggest you that avoid applying any styles on the body element. Make habit of not doing it from the very beginning. All the best!

    Marked as helpful
  • Teo•30
    @Teo-kodehode
    Submitted over 3 years ago

    QR-code with CSS and HTML

    3
    Aditya Singh•460
    @adityas24
    Posted over 3 years ago

    Hey Teo! you did very well in your first challenge. I would like to suggest you the following....

    You could have avoided the div you used to wrap the h1 and p. As you have not used any style on div. Then you can simply avoid using it. It will not affect the semantics and will also decrease the length of the code.

    So you could simply write

    <div class="container">
          <img src="images\image-qr-code.png" alt="QR code">
          <h1>Improve your front-end skills by building projects</h1>
          <p class="text">Scan the QR code to visit Frontend Mentor and take your coding skills to the 
             next level</p>
    </div>
    

    All the best 🙂👍

    Marked as helpful
  • Abdurakhmon•40
    @abdurakhmon-web
    Submitted over 3 years ago

    Order summary card

    #bem
    2
    Aditya Singh•460
    @adityas24
    Posted over 3 years ago

    Hey Abdur great Job!

    Very well written markup and very well use of BEM. Now learn about em and rem and start using them. You are ready to rock.

    All the best 🙂👍

    Marked as helpful
  • ayushbhargava22•160
    @ayushbhargava22
    Submitted over 3 years ago

    NFT preview card component

    #accessibility#bem#fetch#jquery#itcss
    2
    Aditya Singh•460
    @adityas24
    Posted over 3 years ago

    Hey Ayush good job.

    I saw that you are using margins to give spaces around the elements inside the card. For example in <div class="nft-img"></div> and <div class="owner"></div>.

    Do not use margins for this purpose. Use padding instead. Margins are used when we want to give space between two adjacent elements. But to give space around the element always use padding.

    All the best 🙂👍

    Marked as helpful
  • Nika•240
    @Nikkakko
    Submitted over 3 years ago

    Single price grid

    1
    Aditya Singh•460
    @adityas24
    Posted over 3 years ago

    Hey Nika! good job with this one.

    On small screens (below 600px) your card has no space around it. You card needs some left and right margin around it. We do not set that margin on container as margin on container is set to auto to center the card. So best way of doing this is that always wrap the container inside some element and give margin to that element, that can be section or div according to your requirement.

    Here is the code

    <div class = "card> 
       <div class = "container">
          .
          .
          .
       </div> 
    </div>
    
    .card {
      margin: 0 2rem;
    }
    

    Hope it helps. All the best 🙂👍

    Marked as helpful
  • Sandesh Adhikari•120
    @sandeshad100
    Submitted over 3 years ago

    3 column preview card component with flexbox

    3
    Aditya Singh•460
    @adityas24
    Posted over 3 years ago

    Hey Sandesh! great job with this one.

    One mistake i saw is that you are using unnecessary divs in your code. Inside each column you have 4 elements. And for each element you are using a div to contain it. You don't really need to do that.

    Instead of writing

    <div class="col1 box">
            <div class="col1Img">
              <img src="images/icon-sedans.svg" alt="sedansImg">
            </div>
            <div class="col1Title"><h2>Sedans</h2></div>
            <div class="col1Info">
              <p>Choose a sedan for its affordability and excellent fuel economy. Ideal for cruising in the city 
                or on your next road trip.</p>
            </div>
            <div class="col1bottom">
              <button>Learn More</button>
            </div>
          </div>
    

    You could have simply written

          <div class="col1 box">
              <img src="images/icon-sedans.svg" alt="sedansImg">
              <h2>Sedans</h2>
              <p>Choose a sedan for its affordability and excellent fuel economy. Ideal 
                    for cruising in the city or on your next road trip.</p>
              <button>Learn More</button>  
          </div>
    

    Still the code will work fine as every element inside the flexbox becomes a flex item irrespective of that item is inline or block element.

    All the best 🙂👍

    Marked as helpful
  • da’Keshra•140
    @daKeshra
    Submitted over 3 years ago

    html css flex js

    3
    Aditya Singh•460
    @adityas24
    Posted over 3 years ago

    Hey good job!

    You can use transform: rotate() property on the arrow and rotate it by 180degree when the arrow is being clicked. You can do this both with css and javascript.

    All the best 🙂👍

  • Sathyan•10
    @Sathyan-B
    Submitted over 3 years ago

    Responsive Card

    #react
    2
    Aditya Singh•460
    @adityas24
    Posted over 3 years ago

    Hey Sathyan, good job with this one.

    Your images are not visible as you have not written the path correctly. Remove the first slash in the images url. Your site would be working fine while working with VS code. But when you host your website, this is not the correct way of giving path.

    Instead of writing <img src="/images/icon-suvs.svg">. You have to write <img src="images/icon-suvs.svg">.

    All the best 👍🙂

    Marked as helpful
  • Oluwatoni Odetola•320
    @ToniHunter274
    Submitted over 3 years ago

    Order Summary Card using HTML and CSS

    #accessibility#airtable#angular#contentful#backbone
    2
    Aditya Singh•460
    @adityas24
    Posted over 3 years ago

    Hey Oluwatoni, upload your code again.

    Your folder structure is not proper. Index.html file should be in the root folder.

    All the best 🙂👍

    Marked as helpful
  • olasunkanmi•180
    @SiR-PENt
    Submitted over 3 years ago

    Built with mostly css grid

    #sass/scss
    3
    Aditya Singh•460
    @adityas24
    Posted over 3 years ago

    Good job with grids buddy!

    Biggest problem with your web page is accessiblity. Color of your text and headings is very light. Make them bit darker so that they are accessible to everyone. They might be inaccessible to person with weak eyesight. Many other factors come under accessiblity. Google about accessiblity in web dev and you will get more insight into this.

    And here i am sharing a great tool to know that color contrast is good or bad and how readable/accessible is your text: https://coolors.co/contrast-checker/112a46-acc8e5

    All the best 🙂👍

    Marked as helpful
  • Israr khan•60
    @khanisrar
    Submitted over 3 years ago

    nft-preview-card-component-main

    3
    Aditya Singh•460
    @adityas24
    Posted over 3 years ago

    Hey Israr Good Job ! And it's not a landing page buddy.

  • TJohnsey•70
    @tjohnsey
    Submitted over 3 years ago

    NFT Preview Card

    4
    Aditya Singh•460
    @adityas24
    Posted over 3 years ago

    Hey Johnsey great effort!

    There is not any specific size of the card. All you have to do is look at the design and get your card looking as close to the design as possible.

    Hope it helps. All the best 🙂👍

  • Mo'men Kamal•130
    @momenkamal221
    Submitted over 3 years ago

    nft-preview-card-component-main

    #sass/scss
    4
    Aditya Singh•460
    @adityas24
    Posted over 3 years ago

    Great Job Kamal!

    One mistake i saw in your code is that you are using "ids" everywhere instead of "classes". I know the CSS will still work fine and the web page would look the same. But in real world it is a very bad practice and mostly classes are used for styling purpose. Biggest advantage of classes is reusability of code.

    Ids have some very specific use cases. They are very much used when JavaScript comes into action. Google it and you will get more clarity.

    So get into habit of writing classes from very beginning itself. All the best 🙂👍

    Marked as helpful
  • Ashley waudby•310
    @ashleywaudbydev
    Submitted over 3 years ago

    responsive design of a qr code card

    2
    Aditya Singh•460
    @adityas24
    Posted over 3 years ago

    Hey Ashley you did a great job!🙂

    I studied your code well and found some points you need to improve on: 🙂

    1. You are using div element where it is not necessary. Using div there will not create any problem, but you are unnecessarily increasing the length of the code. That will reduce the maintainablity and readability of the code.

    For example: <div class="header"> <h1>Improve your front-end skills by building projects</h1> </div>.

    Here you do not need to wrap h1 in a div. If still you want to write h1 inside of a header, then use <header> tag instead. As we have to take care of semantics also 🙂

    1. Similary you don't need to wrap paragraph inside of a div. You can straight away use <p> tag without wrapping it. Afterall everything inside a flexbox will become flex item. You don't need to wrap everything inside a div 🙂

    I will recommend you to go through markup written by Daniel. He has written it perfectly i think

    https://www.frontendmentor.io/solutions/qr-code-component-using-html-and-css-38XEjHXG2

    All the best 🙂👍

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

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