Berry's Articles

Eleventy (11ty) setup for multilingual component-based flexible pages (aka One Page Websites with i18n)

March 11, 2022

How to setup Eleventy (11ty) static site generator to create landing pages or one page websites with page content splitted in serveral files using reusable UI components

Read the Article

BEM, CSS Namespaces and ITCSS

October 24, 2021

How to make frontend code more readable and maintaininable, because CSS is easy, but looking after it, is not

Read the Article

How to integrate UIkit in Drupal

September 13, 2021

Using the Drupal theme, loading it as library from CDN or install with npm and integrate in gulp workflow

Read the Article

Component-Based Frontend in Drupal

August 16, 2021

What is Component-Based Frontend Dev? Why it is worth using it? How to implement it in Drupal?

Read the Article

jQuery $(document).ready() in vanilla JavaScript

August 04, 2021

How to replace the must used jQuery method with vanilla JavaScript

Read the Article

Is Nuxt.js overkill for tiny projects? No!

November 26, 2020

Using frameworks for small tasks can be seen overkill, but building good modern web websites/apps requires us to take into account lots of things.

Read the Article

Search in page with Vue.js

November 20, 2020

Using Vue.js to implement a simple but effective and usable search in page.

Read the Article

Multilanguage website with Nuxt.js

October 25, 2020

Guide to setup Nuxt.js with nuxt-i18n module to have a website translated in 4 languages

Read the Article

Nuxt.js: force trailing slash with a redirect

October 12, 2020

Setup Nuxt.js with @nuxtjs/redirect-module to force a trailing slash with a 301 redirect

Read the Article

var, let, const: declaring variables in JavaScript

September 16, 2020

My 2 cents on the 3 different ways to declare variables in JavaScript.

Read the Article

WordPress code snippets

September 12, 2020

Usefull WordPress code snippets I've been using for years.

Read the Article

Centering Things in CSS

September 1, 2020

Yet another article about different ways to center things in CSS: position absolute + translate, Flexbox, CSS Grid.

Read the Article

Ladies and gents, welcome to Berry's blog

August 20, 2020

Yes, this is going to be another personal webdev website with tech articles.

Read the Article