Assessment wanted for Math 1, 2 and 3 Javascript skill test

Hello I have just completed the Math Skills Test for Javascript and would like my code to be assessed: https://developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/Math

Here are my code on CodePen;

Math Task 1 : https://codepen.io/tuhamworld/pen/JjLNrGX
Math Task 2 : https://codepen.io/tuhamworld/pen/poLPWgY
Math Task 3 : https://codepen.io/tuhamworld/pen/gOeWGro

Thank you :slight_smile:

Hi @tuhamworld

Everything is correct.
You could shorten result = result * result2; to result *= result2; but nothing wrong with the long form.

Michael

1 Like

Thank you for the tips :slight_smile:

I would prefer to go for the short form. It looks professional, and make things more easier!

1 Like