Day 17 of 100DaysOfCode
Tags: 100daysofcode, freecodecamp, javascript, codenewbie
Published: 2020-09-06 21:00:46

Today was a pretty normal day. Did some renovation and played with [our puppy](https://www.instagram.com/jackythetoy/). 
On the coding side, I battled with some FreeCodeCamp and Eloquent JavaScript challenges. 

#####Regex at FCC
Continued working on the Regex challenges. [This](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames) was my favorite one. It was a real challenge and it felt super rewarding when I finally figured it out. 

![Is this Regex?](https://dev-to-uploads.s3.amazonaws.com/i/9ebedgaivkx7fcvjx0vw.jpeg)

##### EJS Vector challenge
I also finished the first exercise of Eloquent JavaScript CH6. It was a fun little challenge regarding objects. You can find it [here](https://eloquentjavascript.net/06_object.html#i_zO8FRQBMAy)

#####Best post so far
[Yesterday's post](https://dev.to/arttupyykonen/day-16-of-100daysofcode-3od8) was probably the best one so far and I got a lot of love for it! It was also the first time I added some pictures to the text and I feel they made the post more welcoming and overall better. Will continue using them. :)

#####Study plan
I decided to make a more robust schedule for coding. My base plan right now is:
1. Read a chapter of EJS in two days. Then do the exercises on the third day. 
2. Do at least ten challenges at FCC every day.

This is just the base plan and I'm adding some "spice" to the mix. The spice can be anything that I want to do on that particular day. 

I'll keep this at the beginning of my writings and change it as I see fit. 

I encourage everyone to make a plan or your weekends will be like in the meme below.

![Weekend plans](https://dev-to-uploads.s3.amazonaws.com/i/ywqwmhb52m7ioqcf9ldh.png)

###What I did today:

####1. Worked on Regex challenges at FCC
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/regular-expressions/

####What I learned from it:
* Negated character sets
* Difference between greedy and lazy match
* Learned about shorthand character classes

####2. Finished the first exercise of EJS CH6
https://eloquentjavascript.net/06_object.html#i_zO8FRQBMAy

####What I learned from it:
* Working with JS objects
* JS class syntax

####Time spent learning:
Task 'FCC'. Elapsed time: 1 h 2 min 35 s
Task 'EJS_exercises'. Elapsed time: 0 h 12 min 0 s

#### Total time: 1 h 14 min
Time spent is tracked by my [TaskTimer](https://www.arttupyykonen.com/tasktimer/) script and the [WakaTime app](https://wakatime.com/about).

### Further reading

#### [Eloquent JavaScript book](https://eloquentjavascript.net/)
My favorite coding book. 

#### [FreeCodeCamp](https://www.freecodecamp.org/learn)
Check out FCC for the best interactive exercises! I have finished the Basic JavaScript and ES6 lessons and can recommend them for a beginner! You can read more about the Basic JS and ES6 challenges at posts "Day 8" and "Day 11".

#### [Exercism coding challenges](https://exercism.io/)

###Psst
You can check my answers to the exercises of Eloquent JavaScript. You'll find them [here](https://www.arttupyykonen.com/ejs-solutions/).

Have a great week!