Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
14 changes: 13 additions & 1 deletion geom.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@ class Rectangle {
this.length = length;
this.width = width;
}
area() {
console.log(this.width * this.length);
}
}
let square = new Rectangle(10, 10);




class Triangle {
Expand All @@ -12,7 +18,13 @@ class Triangle {
this.sideB = sideB;
this.sideC = sideC;
}
area(){
console.log(this.sideA, this.sideB, this.sideC);
}
}
let equilateral = new Triangle()
let isosceles = new Triangle()
let obtuse = new Triangle()


class LineSegment {
Expand All @@ -29,4 +41,4 @@ module.exports = {
Rectangle: Rectangle,
Triangle: Triangle,
LineSegment: LineSegment
}
}
9 changes: 5 additions & 4 deletions pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
### How difficult did you find this (0 - 10)? (0 very easy, 10 very difficult)

4

### How long did it take?

Usually everytime when i try to solve a problem, it takes me too much time to figure out how to solve it, and i fear this is my greatest weakness.

### Was there anything that you struggled with? If so, what?

Not really but i couldnt finish with the homework because the time is getting late and i didnt want to spend the night. (sorry)

### Is there anything that you would like some further information on?

The homework is very clear and smooth. Thank you!

### Do you have any suggestions to improve this assignment?
Non