Recent Posts
All Posts
Logical Assignment Operators
Javascript
Beginners
es6
Logical Assignment Operators was introduced in the ECMAScript 2021 update. It is a new feature that combines the assignment operator(=) with the logical operators (||, &&, ??). It that allows you to assign a value to a variable if true (&&=), false (||=) or null (??=).
Logical Operators
Javascript
Beginners
es6
Logical operators allow you to compare values and assign a value to a variable if it marches the condition. There are a four logical operators, Logical OR, Logical AND, Logical NOT, Nullish coalescing operator (||, &&, !, ??)
Markdown Cheatsheet
markdown
CSS
You can style texts on the web with markdown. Markdown files use the .md or .mdx extensions. Here is a list of essential markdown syntax that you will mostly use often.
Light theme.. Swoosh! Dark Theme
React
Beginners
CSS
Many people prefer to read on a dark screen, while others prefer the light mode. Giving users the ability to switch between these two modes is a great user experience feature. It is pretty easy to implement this in your code, and in this article, I will work you through how to do this in React using `styled-components`.