Most Recent Articles

November 6, 2022

What is the Most Efficient Way to groupby Objects in an Array? - JS Tutorial

JavaScript is a great language with many features. The community is constantly growing and the language itself gets regular updates. Despite having so many features built into the language itself, there are still many tasks […]
By James LePage
October 27, 2022

How to Fix Unexpected Token 'export' Error in JavaScript

JavaScript is a great programming language. There is so much you can do with it, there are many different flavors and variants, and it is flexible. One downside to this flexibility, particularly in the context […]
By James LePage
September 28, 2022

How To Fix The Property 'value' does not exist on type HTMLElement Error

In Javascript, it is a pretty common task to get the value of an HTML element to either watch or update that value. With that in mind, it is easy to imagine why that should […]
By James LePage
September 28, 2022

How To Fix The React Hook 'useState' cannot be called in class component Error

As we continue our coverage of React content, let’s move forward by taking a step back and learning about the traditional way of creating components in React. Up until version 16.8 of React, if you […]
By James LePage
August 22, 2022

How To Fix The "useEffect must not return anything besides a function" Warning

Continuing our series about React, specifically React hooks, let’s take a look at the useEffect hook. This is a very powerful hook that allows you to handle side effects of state or prop changes as […]
By James LePage
August 22, 2022

How To Fix The React Hook is Called in Function Error

React hooks are great. Released with version 16.8 in 2019, React hooks allow React function components to use state similarly to how class components do. Despite being around a couple years, many of us are […]
By James LePage
August 5, 2022

How To Fix jQuery Selector Returning a n.fn.init[0]

jQuery is a popular JavaScript library that was released well before the era of JavaScript frameworks such as React or Vue. In fact, it came out in 2006 which is 7 years before React came […]
By James LePage
August 3, 2022

How To: 1/3 of 100% (33.333...%) In CSS

In this resource, we'll show how to easily specify 1/3 width in CSS. Say you want three columns within a container. Typically, people will write 33% into each child element. However 33% * 3 comes […]
By James LePage
July 26, 2022

How To Fix The Unexpected End of Input Error in JS

Code formatting. Tabs or spaces, semi-colons or no semi-colons. It is a pretty controversial subject to many but it is quite important in some instances. If you are on a team, having a cohesive code […]
By James LePage
July 11, 2022

How To Fix "Cannot use import statement outside module" in JS

There are a few different ways to use JavaScript modules but one of the most widespread approaches is EcmaScript modules, often referred to simply as ES modules. This syntax uses the import and export statements. […]
By James LePage
1 2 3
Back To Blog
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram