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

Submitted

Interactive rating component challenge with Bootstrap & SASS

#bootstrap#sass/scss
cmb347827 660

@cmb347827

Desktop design screenshot for the Interactive rating component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


This was tricky with two web pages and only one JS page. it might have been possible to do with two JS pages, but I wanted to try to solve it this way, and I did ! :)

Community feedback

faizan 2,420

@afaiz-space

Posted

Hey @cmb347827,

  • add display: grid; place-items: center; min-height: 100vh; in the body element. remove all properties from the main element.
  • add border-radius:12px; in the .container class.

replace

main .container form .svg {
    width: 38px;
    height: 38px;
    background-color: Silver;
    background-color: #7c8798;
    border-radius: 50%;
}

with

 .svg-parent {
    /* border: 2px solid red; */
    width: 40px;
    height: 40px;
    display: grid;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f8f8;
}

for logo alignment appropriately.

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord