Last time I updated this, I had mentioned that I was going to the coding challenge. I think I did ok at this being my first attempt. Of the 5 challanges presented I sucessfully solved 2 of them. Although one of them was taken directly it feels like from free code camp, but I had to remember and from memory write it out, it was slow going and I had a number of pitfalls.

The second algorythm was another easy one and I think I got it done in the easiest manner. The question was:

“Write a function that takes three parameters: a, b, c. Return the boolean true if a² + b² = c².”

Example: 3, 4, 5 Returns True

Example: 4, 5, 6 Returns False

My solution is as follows:

var a = 3;

var b = 4;

var c = 5;

var d = a*a + b*b;

var e = c*c

var check;

if (d === e) {

check=true;

} else {

check=false;

}

console.log(check);

```
```

It is super simple and nothing special. I created a variable that takes the first two variables and multiplies them together and then adds them together. In this example it would be 3 and 4 which would become 9 and 16 and adds them together. Then I created another variable and store in that what the third variable is squared. in this case it would be 25.

I then ran a simple if statement to check if my final variable is absolutely equal to what the variable with all the math in it is.

If they are then it dumps out true through the console, otherwise it dumps it out as false.

Easy peasy.

Again nothing special, but doing this one first gave me confidence to try the others. I still have two left to solve from this sheet, but I think I need to learn a bit more before I can solve them.