Hi there,
Assessment and some feedback wanted for this assignment, code here.
Thank you in advance - look forward to your feedback.
Hi there,
Assessment and some feedback wanted for this assignment, code here.
Thank you in advance - look forward to your feedback.
Hi @Phil_G and welcome to the community ![]()
Great work on this exercise!
constructor(sideLength) { // Is there a different way to go about doing this bit?? super("square", 4, sideLength); this.sideLength = sideLength; }
Since you correctly used super() you won’t need the this.sideLength = sideLength;. This already happens in the constructor of the parent class.
In calcArea() you used this.sides instread of this.sideLength.
Everything else is correct. ![]()
See you,
Michael
Thank you for the welcome and the feedback @mikoMK 
All the best,
Phil