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

Results summary component using React

@ParvizAzeroglu

Desktop design screenshot for the Results summary component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


I didn't see the data.json file, so I didn't use it xd 😂. And for some reason, the transition on the button isn't working. I dont know why.

Community feedback

sanju321GH 270

@sanju321GH

Posted

yoo hi, this is just my opinion but i think it would be good

html-

 <p id ="average"></p>
  <p id ="reaction">80</p>
  <p id ="memory">92</p>
  <p id ="verbal">61</p>
  <p id ="visual">72</p>

JavaScript-

let reactionScore = document.getelementbyID("reaction");
let menoryScore = document.getelementbyID("memory");
let verbalScore = document.getelementbyID("verbal");
let visualScore = document.getelementbyID("visual");

document.getelementbyID("average").innerHTML = reactionScore + memoryScore + 
verbalScore + visuaScore / 4
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