Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

All comments

  • nathan 75

    @nathanaelsanilo

    Submitted

    Hai, I'm facing problem to implement responsive background image. In this solution, I have not use any background image. I try to put background image based on breakpoint tailwind presets, but background image on intro section should be overlaying another image and other background image is having a gap on left and right. I'm still exploring how to use background image properly.

    Any comments are welcome, Thanks in advance!

    Amon 2,560

    @A-amon

    Posted

    Hello! That's a job well done~ 😀

    I hope these suggestions will be helpful:

    • I noticed that your intro image doesn't have a full width at sizes 375 - 768px. 👀
    • You can using before/after pseudo-selectors for overlaying the image for intro section. Reference
    • If I understood your other problem correctly, applying the background image to the div with .more class should fix it.

    Marked as helpful

    1
  • Amon 2,560

    @A-amon

    Posted

    Hello! Awesome work on this~ 😀

    Here are some tiny suggestions:

    • You don't need <br> tags for the paragraph. Let the words wrap naturally.
    • To ensure the card is in the center horizontally on large devices, unset width for <body>. Then, set background-size:100%; so that the background image fills up the remaining space.
    1
  • @Rishabh-2001

    Submitted

    Hello sir/ma'am, This is my first project which I have med all alone. I had to take help at one place to put the eye icon while we hover on equilibrium image. Feel free to share me your thoughts and where I should work better. Thank you.

    Amon 2,560

    @A-amon

    Posted

    Hello! Good job on this challenge~ 😀

    Here are few suggestions:

    • To make the background color fills the entire height, set the height of .inner-container to 100vh.
    • The eye icon should have been provided in the challenge's folder. Anyway, to change the icon's color to white, you can use the SVG code directly and set fill:white; You can refer to this. Note: You can get the SVG code by opening the SVG file inside your text editor (E.g. VsCode).
    • I can't find your h1 element. 😂 You can read this to find out more about headings.

    Marked as helpful

    0
  • Amon 2,560

    @A-amon

    Posted

    Hello! It's a very good job~ 😀

    Here are a few tiny changes I would suggest:

    • Use <a> or <button> for the time buttons: Daily, weekly, monthly. (Those on the side) This will let screen reader users to know they are to be clicked. 😉
    • Maybe you forgot to set the current time button's color when the page first loads.
    • I noticed there are repetitive Js code. Maybe, you can create a single function that can replace the showWeekly, showMonthly, etc. For example:
    function showCardContent(time, data){
     for (let i = 0; i < cardsTitles.length; i++) {
        currents[i].innerText = data[i].current + "hrs";
        prevs[i].innerText = `Last ${time}- ` + data[i].previous + "hrs";
      }
    /*play the animation */
      addAnimationFadeIn();
    }
    

    The code above may or may not work but the general idea is there! 😁

    Marked as helpful

    0
  • @LeoSouzaNunes

    Submitted

    Hello everyone, I would like to receive some feedback about an issue occurred with my mobile content height, for some reason that I completely don't understand it doesn't let me scroll vertically as it suppose to do. Can anyone help me to understand what happened? (I had tried some things as overflow-y or even set a fixed height but nothing happened with the first hidden card)

    Amon 2,560

    @A-amon

    Posted

    Hello! To fix your issues, just remove align-items:center; from body element and set height:fit-content; on main element for mobile size using media queries. 😀

    Marked as helpful

    1
  • P

    @Risclover

    Submitted

    This one was fairly simple for me! In fact, I was able to complete it in well under an hour, and I'm mad proud of myself for honing my HTML and CSS skills that far.

    Any feedback you can provide would be nice. I did have a bit of trouble with the hover effect over the image, so any cleaner solutions would be greatly appreciated!

    Amon 2,560

    @A-amon

    Posted

    Hello! Great job for this. It looks very responsive too~ 😀

    • Maybe try using before/ after pseudo-elements for the eye icon 👁.

    • Also, not every image needs alt value. Depending on the use cases, it can be left as such alt="". Refer here. For example, the eye icon's alt can be leave empty. And maybe even the clock icon. 😉

    1
  • Amon 2,560

    @A-amon

    Posted

    Hello! Great job~ 😀

    Here are few suggestions:

    • Use button or radiobutton elements for the tip selection (Screen reader users won't know it's to be clicked if you use a div.
    • Change the RESET text to Reset. Find out more here 😀
    • Instead of using innerHTML for the texts, an alternative would be textContent. You can read about their differences here. But for this current use case, both can be used. 😉
    • For the tip buttons' event listeners, there seems to be lots of repeated code. In this case, you can use a single function for them all. For example:
    for(const tipBtn of tipButtons){
     tipBtn.addEventListener('click', handleTipClick)
    }
    const handleTipClick = (event) => {
                let tipValue = 1  // Change it to whatever the default tip value is
                const selectedTip = event.target.value
                if(selectedTip === '5%'){
                  tipValue = 5
                }
                let totBill = Number(inputBill.value)/100*tipValue
                let totPeople = Number(nrPersone.value)
                totTipOutput.innerHTML =(totBill/totPeople).toFixed(2) + "€"
    }
    

    The code above is written with the assumption that radio buttons are used 😉. Also, it might or might not work but, the general idea is there. 😀

    Marked as helpful

    0
  • Amon 2,560

    @A-amon

    Posted

    Hello! Great work~

    I will suggest just a few tiny changes:

    • Not every image need an alt value. For those you feel is not necessary to tell the user about, you can just leave it as alt="". 🥳
    • Change the h4 to h2 perhaps. Never skip the order. 😉 Reference

    Yep, that's about it. 😀

    1
  • @Kristiana12

    Submitted

    Hey Everyone! This is my solution to the FAQ section.

    I need some help with a transition I have been trying to make but haven't succeeded yet. When the answer 'hides' I want to transition the height, so that it closes smoothly, I tried to put a transition to .question__answer but I didn't see any effect. Does anyone have any suggestions?

    Your answer is very much appreciated! Thank you in advance! :)

    Amon 2,560

    @A-amon

    Posted

    Hmm... such a weird issue! 👀 This might not be the best solution but, after referring to this, turns out that setting the height to a value with any unit other than % will solve it. For example, try height:3rem; instead of auto. 😲

    0
  • Novi 10

    @nlorens

    Submitted

    Total newbie here! I am having trouble making it responsive, any advice/feedback is much appreciated. Also if there are ways to code the layout more efficiently? Any comment is welcomed :)

    Amon 2,560

    @A-amon

    Posted

    Hello! Great effort~ 😉

    Here are some suggestions( or things I think can be fixed)

    • Remove the height setting from .card. Instead, set the height for the image, either in px or other units. I don't recommend using vh or vw for this height. 😀
    • Remove top setting from .card. Then, set the body's height to 100vh. (The card is now at center for any size 🥳)
    • You are missing h1 and h2 elements. Maybe put a h1 element containing the challenge's title like <h1> NFT card challenge </h1> and hide it using a screen-reader only 👁 class (You can check these out - Ref1, Ref2. Also, read this to find out about heading tags' usage.
    • To center vertically, the icon and text inside .eth and .time respectively, you can give those two classes this: display:flex; align-items:center;.
    • Instead of using position:absolute; right:1.5em; on .time to align it to the right, maybe you can try out justify-content:space-between; on .feature. 😉

    Awesome work! 😀

    Marked as helpful

    0
  • Amon 2,560

    @A-amon

    Posted

    Hello! I might be wrong but in React, you cannot get the latest, updated state right after setting the state. Refer here You have to either use useEffect (and set the trigger to be the 'region' state) or use the 'e.target.value' directly.

    Marked as helpful

    0
  • Amon 2,560

    @A-amon

    Posted

    Hello! It looks good~ 😀

    Maybe just add the .btn class to the .btn-sign_up directly so that the clicking area is as wide as it looks. That's about it from me. 😁

    Marked as helpful

    1
  • Slim 145

    @SlimBloodworth

    Submitted

    Hi Everyone! I finished the challenge and I'm really happy with how it came out. I'm looking for any feed back you might think would be helpful, and I'm very interested in your input on the code itself concerning legibility, organization, content structure, as well as drying up the code. Is there some place where I could have condensed it better? Is there a way I can make it more reusable if someone wanted to make changes, updates, or any other adjustments? Are there any accessibly additions or changes that would benefit the program? Are there any questions you have for me on why I chose to do something the way I did? I always appreciate your feedback and so far it has always been very helpful and educational! Thanks in advance y'all! -Slim

    Amon 2,560

    @A-amon

    Posted

    Hello! Awesome job~ 😀

    I've got a few suggestions:

    • Set position:relative; on .image-container so that the eye icon/image 👁 is center of this parent container.
    • The clock icon 🕑 isn't vertically aligned with the '3 days left'. You can fix this by setting
    display:flex;
    align-items:center;
    
    • Set the alt attribute on your images. I noticed some of them don't have it. You can leave the value empty like this: alt="". 😉
    • This might just be me but, the cursor:pointer; and color change on hover makes the text in .creator-container looks like a link so, maybe just change the p tag to an a tag instead since it's possible for it to be a link. 🔗

    Marked as helpful

    1
  • Joe 60

    @Joe-Lindie

    Submitted

    Good evening,

    This is my second Frontend Mentor project, and it was a little too difficult for me. (I've only been studying since September)

    There are several bugs I can't fix.

    1. Desktop view: Logo and navbar not on the same line.
    2. I used the nth-child CSS rule to change the color of the 'contact' tab in desktop view. It's not working. (I have the hover state working though :) ).
    3. In desktop & Mobile view I used flexbox to manipulate the images. I am getting a white gap on the rows. How do you remove it?
    4. The hover state of the .svg social media icons is not working? (Is it todo with it being a .svg file?)
    5. There is a problem with my JS for the hamburger menu. If you open the hamburger menu and change the screen size, you'll see what I mean.

    I'm sure there are plenty of other issues, but for my second project, I don't think it's too bad. ALL feedback is welcome.

    If anyone could help me fix these bugs, I'd appreciate it.

    Lots of love to my web dev community,

    Joe

    Amon 2,560

    @A-amon

    Posted

    Hello! Amazing work there~ 😀

    I've got a few suggestions:

    • To align the logo and navbar links, you can add this code to your .nav-bar
    display:flex;
    align-items:center;
    justify-content:space-between;
    
    • I don't think you have set the hover state for your social media links/icons. Anyhow, I would usually use the SVG code itself instead of img for these since I can more freely change the icons' color. You can refer to this 😁
    • Looks like your .display-img images couldn't fit inside a row on laptop size. You can fix this by setting flex:1; to your picture tags within instead of setting width:25vw;. Then, on mobile, simply use a media query to change that to flex:100vw;.
    • For your .show navbar, you can use media query to override/reset .show styling on desktop sizes. 🖊
    • You should use <button> for the hamburger button since it's a well, button. 😂 I will let screen reader users to know it's one. Check this out 😉.
    • The 'Learn More' text should be links 🔗 instead so they should be using <a> tags.
    • The social media links should have a text telling screen reader users what each link is for. You can use the aria-label attribute on the <a> tags and set it to 'Facebook' or other values, then leave the alt attribute empty (This is what I would do 😀). You can check this out.

    Marked as helpful

    0
  • @Mozzarella-chz

    Submitted

    I am still struggling to understand when to use margin vs. padding. In this challenge I only used margin. I really dont know if this kind of coding would be "passing" in a real world setting as the CSS feels clunky to me. But it is functional!

    Amon 2,560

    @A-amon

    Posted

    Hello! You did a great job~ 👏

    Just a tiny suggestion, maybe try setting font-family:inherit; to the button so that it uses same font as the others. As for the margin vs padding, personally, I would use padding for what it is (internal spacing) and margin for external spacing (spaces between the element itself and neighboring elements). Here's a good article explaining the difference. 😉

    So let's say, I want to have the content of an element to have some spacing from the border, for instance, those .Luxury-block, .SUV-block and .Sedan-block, I would set padding to them instead of assigning margin to each individual items (img, .cars-text) inside of them. 😁

    And if I want to put some spacing between each of those block, I would use margin. For example, a margin-right:1rem; for a 1rem spacing between .Luxury-block and .SUV-block. ↔

    These are just how I would utilize padding and margin. 😀 It might vary between person, I think.

    Marked as helpful

    2
  • Will 30

    @bws10

    Submitted

    This is my first attempt at one of these challenges.

    I'm trying to teach myself and have no previous experience but looking to learn CSS and JS front end development.

    I'm sure my code is a bit messy and i welcome any constructive feedback.

    Amon 2,560

    @A-amon

    Posted

    Hello! It looks great. So is the responsiveness~ 😀

    Here are few suggestions:

    • Wrap your site's main content into a <main> tag. 🏠
    • Have a <h1> heading. Probably something like this:
    <h1 class="sr-only">Order summary component</h1>
    

    Note: The .sr-only class is to hide it from view but still available for screen reader. Here is one way to do it. 😉

    • Use <button> or <a> for your 'Proceed to payment" and "Cancel" elements.
    • After fixing the <h1>, you can read up on heading levels if you get Heading levels should only increase by one accessibility issue 👌
    2
  • Amon 2,560

    @A-amon

    Posted

    Hello! And wow~ Neat work! 😲

    Maybe use <a> for the .nav__link, .footer__title and .footer__link. And also wrap those social media icons and header logo in <a> tags too. 😀 As for .nav__toggle, use a button tag.

    By the way, how did you make the shortening form unclickable when it's shortening? 🤔 I couldn't find the code via Inspect. 😂

    Marked as helpful

    1
  • Dmitry 375

    @dmitrymitenkoff

    Submitted

    This has been a fun and challenging project. It's the first time I've used Parcel and new Dart Sass. I'm not an expert in Sass but I'm keen to learn more about using "@use" & "@forward" syntax - so any feedback would be appreciated. Also, if anyone could point me to a good, preferably written, tutorial on a workflow using Parcel, I'd really appreciate that too as I feel in this project I've guessed my way through a lot of Parcel-related stuff. Thanks guys!

    Amon 2,560

    @A-amon

    Posted

    Hello! I gotta say, your code is neat and clean 😉

    Here are some suggestions you might find helpful:

    • The .daily, .weekly, .monthly li elements should be/have an interactive element. 🖱 They can be button or a. In my solution, I used button and gave them the role="tab". 😁 You can check out accessible tabs if you want to use the same approach. 😀
    • I believe the images for each .stats aren't that important to be made known to screen readers. Hence, instead of "Icon play", etc. , you can leave it empty alt="". You can read this. 🙌
    • I noticed most of the lines in your JS are similar. For e.g. populateMonthly(), populateWeekly() and populateDaily(), you can create a function populateStats() for e.g., to do all three. The difference in these functions lies in timeframes.weekly.current where the weekly could be replaced with daily or monthly. This can be passed as argument to the newly created populateStats(). 😉
    function populateStats(timeframe) {
      let datacounter = 0;
      cards.forEach(card => {
        const workHours = card.querySelector('.stats__hrs--num');
        const prevWeekHrs = card.querySelector('.stats__prev__hrs');
        workHours.textContent = data[datacounter].timeframes[timeframe].current;
        prevWeekHrs.textContent = data[datacounter].timeframes[timeframe].previous;
        datacounter++;
      });
    }
    

    The code might or might not work. You'll have to test it out and make changes accordingly. 😂

    • forEach comes with index, so you don't have to manually create a datacounter variable to do it. forEach
    cards.forEach((card, index) => {
      ...
    })
    

    By the way, I finally know what to put into typography.scss, thanks to you! 😀 Awesome work~

    Marked as helpful

    3
  • @FelixCriollo

    Submitted

    • how to make dots work?
    • how improve with manipulate JSON data?
    • any advice is very welcome :3

    thanks for see my challenge.

    pd: if you see undefined restart the page :: 'c

    Amon 2,560

    @A-amon

    Posted

    Hello! It's an amazing work, really! 😲

    But here are some suggestions:

    • Place your .container inside a main landmark tag.
    • Instead of so many arrays (dailyCurrent, dailyPrevious, weeklyCurrent, ...), you can use array to store objects. For example:
    const dailyData = [
      {
        current: 0,
        previous:0
      },
      ...
    ]
    
    • You can try using template for elements such as those cards 😉. (So the JS wouldn't be cluttered with createElement). Although you will still need to querySelector each class inside to set the values. 😂
    • Instead of card0, card1, ..., why not use an array to store them? 🤔 This way, your displayCards() and removeCards() lines of code will be much lesser and less repetition.
    2
  • Daniel 250

    @daniel-hennig

    Submitted

    • SEMANTIC html5, css3/ scss, vanillaJS
    • customized svg images/ codes
    • smooth transitions on nav-menu, tab-menu/ slider and accordion (faq)
    • hamburger-menu animation (as always)
    • almost pixel perfect (I used the design images, not the desig files for PRO members, yet)
    • clean and efficient code

    This challenge was a bit tricky though, because some of the provided images didn't have the blue background shapes as they have in the design images - so that I had to create the shapes by myself with Adobe XD (I edited svg images with XD the first time).

    After all, I tried my best best and I highly appreciate any feedback/ suggestions. You can be as harsh as you like on me. What do you like the most? What can I improve? I want to go moon with my skills, so that I can help others better, too:)

    Amon 2,560

    @A-amon

    Posted

    Hello! That was a great animation. The responsiveness is good too~ 😀

    Here are few suggestions:

    • It seems like after toggling the hamburger button, and returning to larger size, the <nav> went nuts! 😅
    • That was great effort on customizing the svg 😁 but you could have used pseudo-elements - This is just a suggestion tho! Both works 😂.
    • I like the sliding tab animation! (😉 I will be studying your code later on that.) Maybe you can increase the height & width of the <a> tabs so that the click area is larger and not restricted to the text.
    • I think you can remove the 'logo icon' from the alt text of images such as 'facebook logo icon'. This could be just my opinion but I think just 'Facebook' would make more sense to screen reader users than the initial. 😀 Resource

    Marked as helpful

    1
  • @RandyBrilliant

    Submitted

    In this challenge, I try to use my knowledge learn from books and the internet in implementing semantic HTML markup and responsive design for the webpage. Any suggestions and feedback are appreciated. Thank you and happy coding :). [UPDATED] I have fixed the issues thanks to the community :).

    Amon 2,560

    @A-amon

    Posted

    Hello! Great work. The responsiveness looks good too~ 😀

    Maybe just change the .card min-height value to fit-content. Else, there is quite some space on mobile size (this change works fine for larger sizes too).

    As for the accessibility report:

    • It seems that you can only nest <dt> and <dd> tags (and other tags as mentioned in the report) under <dl>.
    • As for the other issue, you should put the main content of the page into <main>. For better understanding on what to do, you may refer this

    P.s. Thanks for helping me learn about <dt> and dd tags 😉

    Marked as helpful

    1
  • Amon 2,560

    @A-amon

    Posted

    Great work! It's responsive too~😀

    Here are a few suggestions:

    • Place all your <section> inside <main>
    • As stated in the Accessibility Report, seems like you're jumping around the heading tags order quite a bit. To fix this, increase your heading tag by only 1 as the nesting goes deeper. For example:
    <section>
      <h2>Title</h2>
      <div>
        <h3>Sub-Title</h3>
        ...
        <div>
          <h4>Sub-sub-title</h4>
          ...
        </div>
      </div>
    </section>
    

    ^ This is just my understanding though so do read up on it for more accurate explanation 😀

    • Your .nav__hamburger 🍔 should be a <button> instead of a <div>.
    • The <a> tags that wrap around the icons and logo should have a text describing where it links to (For screen reader users) 🔊. And since this text is hidden visually 👻, I usually would use aria-label attribute on the <a> tag. But you can also solve this by adding sr-only class (and do its CSS) to hide the text Reference.
    • Oh, and seems like there are no hover effects on the links (only the 'Contact' button has it) 🤔

    Marked as helpful

    2
  • CoderPr0 645

    @CoderPr0

    Submitted

    This honestly took way too long to make and I feel like I made a ton of mistakes, will probably need to relook into it later. If anyone notices any mistakes, repetitiveness or simply easier ways to do things please let me know.

    Amon 2,560

    @A-amon

    Posted

    Hello! The site looks good. So is the responsiveness 😀

    Here are few suggestions:

    • This is just my opinion but I think the entire faq accordian card should be inside <main> instead of <header>
    • You can use float:right; to place the arrows to the far right ➡ so that they are all aligned.

    Marked as helpful

    1
  • Amon 2,560

    @A-amon

    Posted

    404 repository link 😂

    0