Mittwoch, 7. Oktober 2015

Bonfire: Boo who and updates

Looks like I already completed the Intermediate bonfires as well. Some bonfires were longer than expected, some were shorter. One example is the "Boo who" bonfire. It was perfectly sufficient to check whether the type of the value handed to the function is "Boolean", then the function will return true, otherwise false. This is my code:
function boo(bool)
 { if(typeof(bool) === 'boolean')
{ return true; } 
else return false; }

Now I am continuing with the Ziplines and I am progressing well with the Portfolio page. Although I have been creating websites before, I am taking my time to make the best of this project. I am using Bootstrap, CSS (of course) and some amazing stock photos I have found.

 Luckily, Codepen supports extra lines for the head section to add Google fonts.

Keine Kommentare:

Kommentar veröffentlichen