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

P

@danieldribeiro

Desktop design screenshot for the Interactive rating component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

maicond 230

@maicondguerian

Posted

O layout ficou identico Daniel! Parabéns! Só faltou uma verificação pra ver se algum rating esta selecionado antes de ir para a página de agradecimentos.Uma bloco de if else simples resolve isso aí. Abraço.

1

P

@danieldribeiro

Posted

Muito obrigado pelo feedback @maicondguerian ! Na verdade eu implementei essa restrição, ao ser clicado eu primeiro removo a classe de todos os botões para só depois adicionar a classe ao botão clicado ;)

0
maicond 230

@maicondguerian

Posted

@danieldribeiro No estado em que esta quando clicado em submit ele ainda da o rating sem nota alguma, no caso passa para a próxima pagina sem nenhum rating, me refiro a isso.

1
P

@danieldribeiro

Posted

@maicondguerian Ah sim! Realmente faltou essa validação, obrigado pela ajuda! Vou implementar

1

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