Blog

Abordamos tópicos de programación web, apps Android y escritorio con un enfoque 100% práctico y aplicado al mundo laboral.

Rutas de Aprendizaje Libros Cursos Categorías Anuncios

How to get screen resolution with JavaScript/jQuery?

10-09-2026 - Andrés Cruz

How to get screen resolution with JavaScript/jQuery?

JavaScript In this entry we will see how to obtain the resolution of a screen with native JavaScript, we will also see how to detect a change in the browser's resolution every time the window is resized with JavaScript and jQuery.


Selectors in JavaScript

24-11-2025 - Andrés Cruz

Selectors in JavaScript

JavaScript Learn how to use the conditional pseudo-class :has() in CSS and JavaScript. Solve design problems, such as centering a caption, by selecting elements based on their adjacent siblings.


How to make a simple gallery with CSS and 6 lines of JavaScript?

28-12-2025 - Andrés Cruz

How to make a simple gallery with CSS and 6 lines of JavaScript?

JavaScript Learn how to create a responsive image gallery with HTML and CSS. Step-by-step tutorial with just 6 lines of JavaScript for a fast and lightweight website.


How to change the background color gradually based on the time of day or weather using JavaScript?

29-12-2025 - Andrés Cruz

How to change the background color gradually based on the time of day or weather using JavaScript?

JavaScript Learn how to change background color with time in JavaScript dynamically and automatically. Step-by-step guide to creating reactive backgrounds based on the current time without user interaction.


Detecting device orientation with the JavaScript API

24-11-2025 - Andrés Cruz

Detecting device orientation with the JavaScript API

JavaScript Learn how to use the DeviceOrientationEvent API to detect the orientation of a mobile device with JavaScript. Discover how to read the gyroscope's alpha, beta, and gamma values ​​to rotate elements with CSS, request permissions on iOS, and create interactive web experiences. Includes hands-on examples!


Geolocation with JavaScript and HTML5

24-11-2025 - Andrés Cruz

Geolocation with JavaScript and HTML5

JavaScript A complete guide to obtaining a user's location using the JavaScript Geolocation API. Learn how to handle permissions, errors, and integrate location data with maps like Google Maps.


How to draw multiple random spheres in Canvas using HTML5

04-03-2026 - Andrés Cruz

How to draw multiple random spheres in Canvas  using HTML5

JavaScript Learn how to use the HTML5 and JavaScript Canvas API to create dynamic drawings, particle backgrounds, and the basics of generative art step by step.


Ambient Light Events with JavaScript to detect light levels

29-12-2025 - Andrés Cruz

Ambient Light Events with JavaScript to detect light levels

JavaScript We can detect the level of ambient light obtained by the device's light sensor with JavaScript; In this way it is possible to configure the applications according to the level of light present in the environment.


JavaScript Camera API: Access the camera and microphone using getUserMedia

30-08-2026 - Andrés Cruz

JavaScript Camera API: Access the camera and microphone using getUserMedia

JavaScript Learn how to use navigator.mediaDevices.getUserMedia in JavaScript to access the camera and microphone, capture photos with canvas, and handle permission errors.


The secret of animations in JavaScript (requestAnimationFrame())

27-12-2025 - Andrés Cruz

The secret of animations in JavaScript (requestAnimationFrame())

JavaScript We will see how to make some simple animations in JavaScript using requestAnimationFrame() whose API is integrated with Canvas.