Frontendmasters Courses
830 subscribers
1 photo
7.9K videos
2.04K links
#frontendmasters courses

source: https://frontendmasters.com/courses

Channel for automated uploaded courses from frontendmasters.com

Our Channels:
@vue_courses
@vue_updates

Contacts:
@Black_Yuzia
Download Telegram
Media is too big
VIEW IN TELEGRAM
7. Dates & Times
Anjana explores the Date object and its various methods for representing and manipulating time. The setTimeout and setInterval functions create delays and intervals in code execution. Questions about how the event loop handles the execution of async code, setTimeout, and setInterval are also discussed.
#lesson
👍1
Media is too big
VIEW IN TELEGRAM
8. Clock Exercise
Students are instructed to create a randomly moving clock. The paragraph element in the starter file will hold the current time. Random styles should be applied for the top, left, and color properties every three seconds.
-
https://anjana.dev/vanilla-js-projects/clock/index.html
#lesson
👍1
Media is too big
VIEW IN TELEGRAM
9. Clock Solution: Displaying Time
Anjana begins coding the solution to the Clock exercise. The current time is displayed and updated every three seconds.
-
https://github.com/vakila/vanilla-js-projects/blob/main/clock/finished.html
#lesson
👍1
Media is too big
VIEW IN TELEGRAM
10. Clock Solution: Random Position & Color
Anjana continues the solution to the Clock exercise. Random values are generated and applied to the displayed time using the top, left and color CSS styles.
#lesson
👍1
Media is too big
VIEW IN TELEGRAM
11. Functions
Anjana discusses functions in JavaScript and explains how they can be used as first-class data. Higher-order functions are introduced, and an example of creating a higher-order logging function is shared.
#lesson
👍1
Media is too big
VIEW IN TELEGRAM
12. Scope & Closure
Anjana explains the scope in JavaScript. Closure, where a function can "remember" values from its parent scope, is also discussed. Understanding these concepts can help developers avoid unexpected behavior in code.
#lesson
👍1
Media is too big
VIEW IN TELEGRAM
13. Functional & Object Oriented Programming
Anjana discusses two programming paradigms: functional programming (FP) and object-oriented programming (OOP). Examples of both paradigms are shared and the benefits of writing code using a functional style are explained.
#lesson
👍1
Media is too big
VIEW IN TELEGRAM
14. IFFEs & Functional Q&A
Anjana demonstrates Immediately Invoked Function Expressions (IIFE) in JavaScript. When using an IIFE, the function is evaluated and invoked immediately without needing a separate function call. They can be helpful in certain situations, such as when working with async and await in JavaScript. Pure functions in functional programming are also discussed.
#lesson
👍1
Media is too big
VIEW IN TELEGRAM
15. Object prototype
Anjana explains that every object in JavaScript has a prototype. Prototypes are the mechanism by which JavaScript objects inherit features from one another. The prototype chain can be followed to examine an object's inheritance.
#lesson
👍1
Media is too big
VIEW IN TELEGRAM
16. Object hasOwnProperty
Anjana demonstrates how to access properties and methods from an object's prototype. The hasOwnProperty method can determine if a property belongs to the object or if it's inherited through the prototype chain.
#lesson
👍1
Media is too big
VIEW IN TELEGRAM
17. Iterable Objects
Anjana defines the requirements for an object to be iterable. There are many ways to iterate over objects, such as using map, for of/in loops, filter, and forEach. An object becomes iterable by implementing the iterator and the next methods on the returned object.
#lesson
👍1
Media is too big
VIEW IN TELEGRAM
18. Generators
Anjana compares iterable objects with generator functions. The yield keyword in generator functions allows the function to pause and resume execution. Generator functions can be used to implement iterables, and an example of using a generator as an iterator in a for-of loop is shared.
#lesson
👍1
Media is too big
VIEW IN TELEGRAM
19. Date & Iterators Summary
Anjana discusses the limitations and problems with the JavaScript Date object and mentions that the TC39 standards body is working on a new alternative to address these issues. A few additional examples of iterable objects in JavaScript are also shared.
#lesson
Media is too big
VIEW IN TELEGRAM
20. new Operator & Constructors
Anjana introduces classes in JavaScript and compares the syntax to other object-oriented languages. In JavaScript, the class keyword is a syntactic convenience and doesn't fundamentally change the object's behavior under the hood. Class constructors are also introduced in this lesson.
#lesson
Media is too big
VIEW IN TELEGRAM
21. Class Constructor & Properties
Anjana reviews the syntax for creating a class and explores other object-oriented topics, including getters, setters, method overriding, and encapsulation with private methods.
#lesson
Media is too big
VIEW IN TELEGRAM
22. Class Inheritance
Anjana explains how to extend a class to create a subclass. The subclass inherits the properties and methods of the parent class. The super() method allows the subclass to call the parent class's constructor to run any initialization code.
#lesson
Media is too big
VIEW IN TELEGRAM
23. Dark Modal Exercise
Students are instructed to create a modal dialog containing the settings for switching between dark and light modes.
-
https://anjana.dev/vanilla-js-projects/dark-modal/index.html
#lesson
Media is too big
VIEW IN TELEGRAM
24. Dark Modal: Form Constructor
Anjana begins coding the solutions to the Dark Modal exercise by implementing the Form class constructor.
-
https://github.com/vakila/vanilla-js-projects/blob/main/dark-modal/finished.html
#lesson
Media is too big
VIEW IN TELEGRAM
25. Dark Modal: Submit Button
Anjana continues the solution to the Dark Modal exercise by explaining the functionality of the submit button. The default functionality of a button with type submit inside a dialog element is to close the dialog.
-
https://github.com/vakila/vanilla-js-projects/blob/main/dark-modal/finished.html
#lesson
Media is too big
VIEW IN TELEGRAM
26. Dark Modal: Final Code
Anjana continues the solutions to the Dark Modal exercise by walking through the code in the Modal class.
-
https://github.com/vakila/vanilla-js-projects/blob/main/dark-modal/finished.html
#lesson
Media is too big
VIEW IN TELEGRAM
27. Dark Modal: preventDefault Method
Anjana debugs and has an issue with the Dark Modal where the selected theme is not saved when the Modal is closed. This is due to the form refreshing the page on submission. The preventDefault method will prevent the refresh from happening.
-
https://github.com/vakila/vanilla-js-projects/blob/main/dark-modal/finished.html
#lesson