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

  • @philgabbyβ€’ 390

    @CHEGEBB

    Submitted

    What are you most proud of, and what would you do differently next time?

    I am most proud of the progress I've made in my JavaScript journey πŸŽ‰. Consistently taking on challenges has significantly improved my understanding of JavaScript concepts πŸ’‘. Next time, I will actively seek out more JavaScript challenges 🧩 and tackle them as I continue to grow each day πŸ“ˆ. This approach will help me deepen my understanding and mastery of JavaScript concepts I also used less for styling which was fun.

    What challenges did you encounter, and how did you overcome them?

    I encountered challenges in updating HTML content dynamically using JavaScript and implementing a monthly/yearly toggle button. To overcome them, I broke down tasks into manageable steps and utilized JavaScript functions for dynamic updates, while implementing the toggle button with event listeners and conditional statements.

    What specific areas of your project would you like help with?

    How to dynamically update content using js

    Dror Katzirβ€’ 200

    @DorKatzir

    Posted

    Hi, dynamically updating content using pure/vanilla js is a good choise for small things, but for a challenge like this one it can get unnecesery over complicated. So... even though I enjoy and preffer vanilla js, 6 months ago I've learned ReactJs and i must say that it magically takes care of all the dynamiclly updating the DOM content. I completed this challenge as my first project in React. I recommend Reactjs if you have a good js knowledge.

    Marked as helpful

    0
  • ghostofegyptβ€’ 40

    @ghostofegypt

    Submitted

    What are you most proud of, and what would you do differently next time?

    I am proud of the style of the content I may be add some colors and decoration next time

    What challenges did you encounter, and how did you overcome them?

    i encountred some problems in the external css link and be solved by editing the link itself

    What specific areas of your project would you like help with?

    may be putting the content inside a box

    Dror Katzirβ€’ 200

    @DorKatzir

    Posted

    Hi, i've looked in your code and made some changes.

    In the Html file put everything inside a div and give it a class of .box :

     <div class="box">
            <img class="image" src="images/image-qr-code.png" alt="QR image">
    
            <div class="text">
                <h1>Don't wait too much </h1>
                <p>Scann now for more information</p>
            </div>
    
       </div>
    

    In the CSS file import the font from google fonts and use this font in the body:

    @import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
    
    body{
        font-family: "Poppins", sans-serif;
        font-weight: 400;
        font-style: normal;
        background-color: rgb(214, 225, 240);
    }
    
    

    Now... to put the box in the center of the page verticly and horizontaly, Set the body height: 100dvh; and display: grid; and also place-items: center; give the .box class width and height and give the image width of 100% so it will be inside the box without overflowing outside the box.

    This is my final CSS Code file:

    
    @import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
    
    body{
        font-family: "Poppins", sans-serif;
        font-weight: 400;
        font-style: normal;
        background-color: rgb(214, 225, 240);
        display: grid;
        height: 100dvh;
        place-content: center;
        overflow: hidden;
    }
    
    .box{
        width: 200px;
        height: 310px;
        background-color: #fff;
        border-radius: 10px;
        padding: 10px;
    
        box-shadow: 0px 0px 15px rgb(46 57 77 / 0.1);
    }
    
    .image{
        width: 100%;
        height: auto;
        border-radius: 5px;
    }
    
    .text{
        padding: 10px;
    }
    
    h1{
        text-align: center;
        font-size: 16px;
        margin-top: 0;
        color: #2d384b;
    }
    
    p{
        text-align: center;
        font-size: 13px;
        line-height: 15px;
        margin-top: 0;
        margin-bottom:0;
        color: #909092;
    }
    

    Take it and play with it - I hope you like it πŸš€πŸ˜‰

    Marked as helpful

    0
  • Bhuvanβ€’ 40

    @bhuvandev16

    Submitted

    What are you most proud of, and what would you do differently next time?

    • I’m proud of the minimalistic design approach I took for my website. It’s clean, uncluttered, and allows visitors to focus on the content effortlessly.

    What challenges did you encounter, and how did you overcome them?

    • While building the website, I faced a few technical hurdles. For instance, aligning elements perfectly across different screen sizes was tricky. However, I tackled this by diving into responsive design principles and adjusting CSS flex properties

    What specific areas of your project would you like help with?

    • I wanna learn more about media queries, It would be helpful if anybody shared me a resource to learn it
    Dror Katzirβ€’ 200

    @DorKatzir

    Posted

    Hi, this youtube channel is a very good resource to learn about Media Queries, Responsive Layouts, and Css tips and tricks - hope you like it 😊

    KevinPowell

    Marked as helpful

    1
  • P
    Lo-Deckβ€’ 2,020

    @Lo-Deck

    Submitted

    What are you most proud of, and what would you do differently next time?

    Hi, this is my solution for FAQ-accordion.

    This is my first website using JS. I used HTML, CSS and JS, using different loop to set or unset when you click on the title.

    What challenges did you encounter, and how did you overcome them?

    From the beginning it was a challenge in JS (my first challenge using JS). I looked on the internet (youtube and lesson) to remind me what I learned and applied them. It's working as I like.

    What specific areas of your project would you like help with?

    I used three loops one to set the image minus and plus and two more for the events. If you have some advice to reduce the code.

    Thanks.

    Dror Katzirβ€’ 200

    @DorKatzir

    Posted

    Hi, good job and very nice accordion.

    I played little bit with your js code and reduced it to 1 loop. this is how i did it with 3 steps.

    Step 1:

    first I needed to add to your css styles 2 new classes, so i could toggle the Dom styles with js:

    .hide{
        display: none;
    }
    
    .section-title.minus{
        background: url(./images/icon-minus.svg) no-repeat center right;
    }
    

    Step 2.

    HTML file i added .hide class to all <p> tags except the first because i want it to be open at firt load of the page. also Only to the first title added the .minus class to show the minus icon because the text is also showen:

     <section class="section-container">
              <h2 class="section-title minus" tabindex="1">What is Frontend Mentor, and how will it help me?</h2>
              <p class="section-text">Frontend Mentor offers realistic coding challenges to help developers improve their 
                frontend coding skills with projects in HTML, CSS, and JavaScript. It's suitable for 
                all levels and ideal for portfolio building.</p>
            </section>
    
            <section class="section-container">
              <h2 class="section-title" tabindex="2">Is Frontend Mentor free?</h2>
              <p class="section-text hide">Yes, Frontend Mentor offers both free and premium coding challenges, with the free 
                option providing access to a range of projects suitable for all skill levels.</p>
            </section>
    
            <section class="section-container">
              <h2 class="section-title" tabindex="3">Can I use Frontend Mentor projects in my portfolio?</h2>
              <p class="section-text hide">Yes, you can use projects completed on Frontend Mentor in your portfolio. It's an excellent
                way to showcase your skills to potential employers!</p>
            </section>
    
            <section class="section-container">
              <h2 class="section-title" tabindex="4">How can I get help if I'm stuck on a challenge?</h2>
              <p class="section-text hide">The best place to get help is inside Frontend Mentor's Discord community. There's a help 
                channel where you can ask questions and seek support from other community members.</p>    
            </section> 
    

    Step 3. I've used the classList.toggle() js method to toggle between classes, and also used the same loop for the Keyboard event. this is the reduced code:

    const clickOnTitle = document.querySelectorAll('h2');
    const sectionP = document.querySelectorAll('section p');
    
    for(let i = 0; i < clickOnTitle.length; i++)
    {
    	/*Mouse Event */
    	clickOnTitle[i].addEventListener('click', function () {
    		sectionP[i].classList.toggle('hide')
    		clickOnTitle[i].classList.toggle('minus')
    	})
    
    	/*Keyboard Event*/
    	clickOnTitle[i].addEventListener('keydown', event => {
    		if (event.key === 'Enter') {
    			sectionP[i].classList.toggle('hide')
    			clickOnTitle[i].classList.toggle('minus')
    		}
    	})
    }
    
    

    This code works well on my computer, didn't test it on mobile.

    If you have any question Iet me know.

    I hope you like my reduced code :)

    Marked as helpful

    1
  • @QS3H

    Submitted

    What are you most proud of, and what would you do differently next time?

    I was able to style the QR-code component with no problem

    What challenges did you encounter, and how did you overcome them?

    I had a hard time trying to center the wrapper and had some problems with getting the design pixel-perfect

    What specific areas of your project would you like help with?

    I would love to know how to improve my code in general and am open to any advice to write better CSS code.

    Dror Katzirβ€’ 200

    @DorKatzir

    Posted

    nice work.

    center any div horizontal and vertical to the the screen size:

    remove this from the body (no need for that)

    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    

    the wrapper div must have a width and a height same as the screen. after having width and height flex will center verticlal and horizontal:

     .wrapper {
         width:100%; 
         height:100dvh;
         display:flex; 
         align-items:center; 
         justify-content:center;
     }
    

    Marked as helpful

    1
  • @RidloGhifary

    Submitted

    What are you most proud of, and what would you do differently next time?

    i did not include the breakpoints:)

    What challenges did you encounter, and how did you overcome them?

    pretty smooth

    What specific areas of your project would you like help with?

    i`ll help on how to make it like having a step

    Dror Katzirβ€’ 200

    @DorKatzir

    Posted

    Hi, my name is Dror, I've visited your project.

    1. nice visual job
    2. I don't see any validation
    0