Note: This post is work-in-progress learning-note and still in active development and updated regularly. In a separate post Understanding JavaScript Arrow Functions, arrow functions, its syntax, major features and some use case examples were discussed. Since arrow functions were added in ES6 as (i) shorter and concise syntax alternatives to autonomous functions , and (ii) […]
Jump Links – Linking to a Specific Section of a Webpage
WordPress does not contain a built-in link to jump to another section of the same page. This is especially useful in a long post to refer to lower section of the page. Such links are known as jump links or anchor links. Some benefits of jump link: To link to items in a table of […]
Understanding Computed Property Names
Note: This post is work-in-progress learning-note and still in active development and updated regularly. In a previous learning-post JavaScript Objects – The Basics, we discussed simple key:value object properties (values associated with properties). Before ECMAScript 2015(ES6), the property names in the object initializers were literals, mostly as static strings. The MDN documentation has detailed discussion […]
Sarah Drasner, an award-winning Speaker, Senior Developer Advocate at Microsoft, and Staff Writer at CSS-Tricks, has a very thoughtfully written post on Mourning as a Developer in Medium. I can relate one of her experiences: coding as a distraction. While I am learning WordPress & JavaScript it helps to get distracted from other things that are going on. It has been very helpful as well as productive get away for me too!
Thoughts #5: Understanding JS Enumerable Properties Descriptor
While doing Understanding JavaScript For Loops learning-note lesson, knowledege of enumerable property is important because only enumerable properties are listed using for..in loop and Object.keys(). When an object is created using an object initializer, its descriptor properties are set behind the seen and not obvious. Understanding of enumerable property is important working with loops & […]
Animating underline link Hover Effect
While working on My Notes site, I wanted to tweak index & archive pages layout slightly so that it displays with sidebar but single posts and pages without side bar. The posts display on home/archive pages is inspired by Tale – Jekyll theme and wanted to add similar hover animation in my posts as well. […]
