Debugging Javascript
Tips and tricks for developing javascript code.
JS will execute when loaded in the browser or called via node. When...
Learn Javascript
Welcome to the wonderful world of Javascript!
This introduction should provide an orientation to developing with...
Parse composer.json file
Use a composer.json file from a Drupal project to check which modules are installed.
Since it's a json file, we can just...
Set Up NextJS And Web-Ext
We'll use NextJS to render the extension UI.
- Create a new nextjs project.
npx create-next-app@latest
- *Nextjs sets up a .git...
Typescript
Typescript makes Javascript strongly typed, for writing code that is more maintainable and fewer bugs. By declaring the...
Modules - Theory
Explanation of js module concepts for Typescript.
The ECMAScript specification defines how ESM imports and exports link...
Cascading Styles
We can apply CSS to a specific element by targeting it with a unique selector.
We can also apply styles broadly that are...