# Day 17: First Day of Basic Algorithm Scripting

*Photo by [Nikolay](https://unsplash.com/@beautyoftech) on [Unsplash](https://unsplash.com)*

## **Today’s Progress:** 

Today I started the [Basic Algorithm Scripting](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/#basic-algorithm-scripting) section of the JavaScript course from freeCodeCamp. I’m currently 31% complete with this section. Today’s challenges focused on writing algorithms to solve a specific task and incorporated a lot of the concepts taught up until this point.

## **Thoughts:** 

Today’s challenges were more exercise-based rather than guided examples. I really enjoyed this because it was an opportunity to put what I’ve learned so far into practice. Specifically, I got to practice creating algorithms that used loops to count elements of arrays or write function to accomplish a task like finding the largest word in a string. And I got to practice finding solutions on my own via web/forum searches to piece together the program (a key skill for any developer).

### *References:*

For reference, here are some of the tutorials I found useful:

*   [https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/String/length](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/length)
*   [https://stackabuse.com/how-to-convert-a-string-to-an-array-in-javascript/](https://stackabuse.com/how-to-convert-a-string-to-an-array-in-javascript/)
*   [https://eloquentjavascript.net/03\_functions.html](https://eloquentjavascript.net/03_functions.html)
*   [https://www.w3schools.com/js/js\_loop\_forin.asp](https://www.w3schools.com/js/js_loop_forin.asp)

As usual, to help stay focused I listened to the Battlestar Galactic song [*Prelude to War*](https://youtu.be/K2RQvE0GfYQ) on repeat via headphones with noise-reduction. What’s your favorite way to stay focus?

## **Link to work:** 

For my progress visit the timeline on my [freeCodeCamp Profile](https://www.freecodecamp.org/ananfito).

*You can read the full log of my #100DaysOfCode journey on [GitHub](https://github.com/ananfito/100-days-of-code).*
