DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Cover image for Day 28 of 100DaysOfCode
Arttu PyykΓΆnen
Arttu PyykΓΆnen

Posted on

Day 28 of 100DaysOfCode

Today I finished the OOP exercises for JavaScript at freeCodeCamp. Also worked on the responsive web desing project.

What I did today:

1. Finished the object-oriented programming challenges at FCC

https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/object-oriented-programming/

What I learned from it:

  • Using prototypes
  • Changing the constructor function
  • Public and private properties

2. Worked on the Responsive Web projects

https://www.freecodecamp.org/learn/responsive-web-design/responsive-web-design-projects/build-a-product-landing-page

What I learned from it:

  • Using css
  • Making things look prettier

Time spent learning:

Task 'FCC'. Elapsed time: 0 h 34 min 24 s
Task 'FCC responsive web'. Elapsed time: 0 h 42 min 0 s

Total time: 1 h 16 min 24 s

Time spent is tracked by my TaskTimer script and the WakaTime app.

Links and videos

Once again a python video! This is also done by the wonderful Corey Schafer. Take a look!

That's it. See you all tomorrow!

Top comments (0)

typescript

11 Tips That Make You a Better Typescript Programmer

1 Think in {Set}

Type is an everyday concept to programmers, but it’s surprisingly difficult to define it succinctly. I find it helpful to use Set as a conceptual model instead.

#2 Understand declared type and narrowed type

One extremely powerful typescript feature is automatic type narrowing based on control flow. This means a variable has two types associated with it at any specific point of code location: a declaration type and a narrowed type.

#3 Use discriminated union instead of optional fields

...

Read the whole post now!