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
- @sanju321GHPosted about 1 year ago
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 GitHubJoin 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