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

  • @PRINCEKK122

    Posted

    Congrats on knocking this project off.

    I think you can enhance the site and take it to the next level, I saw that upon hovering the cursor on the learn more button in the hero section, the height the hero section increases a little bit, and when the mouse leaves that element, the height decreases.

    Also, I would suggest that you give the main section a max-width, as viewing the content in the main section becomes too long when viewed on a large viewport.

    I hope this helps, and once again, job well done.

    Marked as helpful

    1
  • @PRINCEKK122

    Posted

    Congratulations on completing this project, however, I am unable to follow the links above to the live site, and I also tried following the link in your github repo, but both are showing error messages.

    Please rectify this problem, so we will be able to see the great work you have done.

    Cheers

    Marked as helpful

    0
  • @PRINCEKK122

    Posted

    Great work, what's next on your radar?

    0
  • @PRINCEKK122

    Posted

    Congratulations on knocking this task off.

    I took a look at your site, and I saw the UI breaks, where the founder section goes under the services container on the tablet devices. I think you should take a closer look at this especially around the position: relative of this side of your code, more specifically with the z-index side. Also do well to look into min-height and max-height properties of the services container.

    .founderSect {
    display: flex;
    
    justify-content: center;
    position: relative;
    height: 40vh;
    max-height: 400px;
    }
    
    .image-founder {
    max-width: 281px;
    position: absolute;
    bottom: -55px;
    
    z-index: 1;
    
    margin-top: 50px;
    }
    

    And it seems we have completed the same projects together, which project are you taking up next? I am looking into doing more of the premium challenges, as I have realized that those a little bit challenging than the free ones.

    I hope I was of help with this review. Happy coding!

    Marked as helpful

    1
  • @PRINCEKK122

    Posted

    Congratulations on completing your first challenge.

    I saw a couple of things in your code that I would like to share with you.

    Firstly, although it accepted to mix HTML and CSS in your html file, it considered a bad practice as this violates the Separation of Concern in programming. To be specific, avoid at all cost styling in your HTML file and do this in your CSS file as you have done already in the stylesheet.css file. So cut the code in the body element's style attribute, and paste it in a ruleset in the CSS file.

    Also, I think your code is a little bit hard to read because it not formatted properly. A quick fix is by installing Prettier plug in, and turning on auto save feature if you are using VS code, to format your code properly.

    Also for the layouts, you can consider learning more about Flexbox and CSS Grid. You can learn about them on freecodecamp.org, as centering elements vertically with Display positioning and translate property is quite tricky.

    0
  • Dor Shani 150

    @dors001

    Submitted

    I had to play around a lot with the images relative positioning which made for some clunky areas. There is 1 thing that i'm not sure of:

    • after the rounded bottom of the hero section there is a change in background tone. I had to set the div after the hero section to relative and push the element up in order to cover the white canvas that was left after rounding the bottom edge.

    here is my HTML:

    <header class="block block--primary nav--block"> <div class="nav"> <div class="icon--container"> <a href="#"><img src="assets/images/logo-light.svg" alt="Workit Logo"></a> </div> <button class="btn btn--secondary">Apply for access</button> </div> </header> <div class="block--primary block__rounded block-hero"> <div class="hero"> <div class="hero__bg-pattern-1"> <img src="assets/images/bg-pattern-1.svg" alt=""> </div> <h1 class="hero__heading">Data <u class="underline__color-accent">tailored</u> to </br>your needs.</h1> <button class="btn btn--primary hero__btn">Learn more</button> <div class="hero__bg-pattern-2"> <img src="assets/images/bg-pattern-2.svg" alt=""> </div> </div> </div> <div class="container-hero__image"> <img src="assets/images/image-hero.webp" class="hero__image" alt="Hero Image" /> </div> <section class="grid grid-feature block--secondary block__rounded"> <article class="block-feature"> <div class="feature"> <div class="feature__icon-container"> <span>1</span> </div> <h3 class="feature__heading">Actionable Insights</h3> <p class="feature__content"> Optimize your products, improve customer satisfaction and stay ahead of the competition with our product data analytics. </p> </div> </article> <article class="block-feature"> <div class="feature"> <div class="feature__icon-container"> <span>2</span> </div> <h3 class="feature__heading">Data-driven decisions</h3> <p class="feature__content"> Make data-driven decisions with our product data analytics. Our AI-generated reports help you unlock insights hidden in your product data. </p> </div> </article> <article class="block-feature"> <div class="feature"> <div class="feature__icon-container"> <span>3</span> </div> <h3 class="feature__heading">Always affordable</h3> <p class="feature__content"> Always affordable pricing that scales with your business. Get top-quality product data analytics services without hidden costs or unexpected fees. </p> </div> </article> </section>

    Here is my CSS: /* Hero */ .block-hero { position: relative; height: 363px; overflow: hidden; }

    .hero { padding: 0 1.6rem; }

    .hero__heading { margin: 0 auto; margin-bottom: 4rem; color: white; text-align: center; }

    .hero__btn { display: block; margin: 0 auto; width: 13rem; height: 5.5rem; }

    .container-hero__image { background-color: var(--color-secondary); height: 100px; }

    .hero__image { position: relative; max-width: 320px; margin: 0 auto; left: 3.6rem; top: -10rem; overflow: visible; }

    .hero__bg-pattern-1, .hero__bg-pattern-2 { position: absolute; left: -50rem; }

    @media screen and (min-width: 768px) { .block-hero { height: 421px; }

    .hero__image { max-width: 515px; left: 15.1rem; top: -15rem; }

    .hero__bg-pattern-1 { left: -23rem; top: -6rem; }

    .hero__bg-pattern-2 { bottom: 10rem; left: 68rem; } }

    @media screen and (min-width: 1024px) { .block-hero { height: 405px; }

    .container-hero__image { height: 320px; }

    .hero__image { max-width: 770px; top: -10rem }

    .hero__bg-pattern-2 { left: 90rem; } }

    @media screen and (min-width: 1440px) { .block-hero { height: 510px; }

    .hero__image { max-width: 770px; left: 35rem; top: -20rem }

    .hero__bg-pattern-1 { left: -13rem; top: -2rem; }

    .hero__bg-pattern-2 { left: 131rem; } }

    @media screen and (min-width: 1880px) { .hero__image { max-width: 770px; left: 60rem; top: -20rem }

    .hero__bg-pattern-2 { left: 175rem; } }

    /* Features */

    .grid-feature { position: relative; margin: 0; z-index: -1; top: -15rem; padding: 15rem 0; }

    .block-feature { margin: 0 auto; text-align: center; }

    .feature__icon-container { border-radius: 50%; border: 1px solid #584D62; font-family: 'Fraunces', Arial, Helvetica, sans-serif; width: 4.8rem; height: 4.6rem; margin: 2.4rem auto; }

    .feature__icon-container>span { display: block; margin-top: 0.5rem; }

    .feature__icon, .feature__heading { color: var(--color-primary); }

    .feature__heading { margin: 1.6rem auto; }

    .feature__content { max-width: 343px; margin: 0 auto; }

    @media screen and (min-width: 768px) { .grid-feature.block--secondary { height: 1500px; align-items: start; padding: 25rem 0; }

    .block-feature { text-align: left; max-height: 108px; }

    .feature__icon-container { position: relative; text-align: center; margin: 0; top: 11rem; }

    .feature__heading, .feature__content { max-width: 493px; margin: 1.6rem 0; margin-left: 8rem; } }

    @media screen and (min-width: 1024px) { .block-feature { text-align: center; max-height: fit-content; }

    .grid-feature { position: relative; grid-auto-flow: column; top: -40rem; justify-content: center; align-content: end; gap: 3rem; max-height: 1100px; }

    .feature__icon-container { position: static; margin: 2.4rem auto; }

    .feature__heading, .feature__content { max-width: 354px; }

    .feature__heading { margin: 1.6rem auto; }

    .feature__content { margin: 0 auto; } }

    @media screen and (min-width: 1440px) { .grid-feature { padding: 0 10rem; } }

    /* Feature Block */

    .feature { margin: 4rem auto; }

    Feedback Welcome! Thank you everyone.

    @PRINCEKK122

    Posted

    Congratulations on knocking off your first challenge here.

    As a quick note, we can view your code by pressing the View code button, so next time, I suggest you use this section to draw reviewers attention to some parts of your code.

    Marked as helpful

    1