Anuncios Libros Cursos Categorías

Detecting device orientation with the JavaScript API

24-11-2025 - Andrés Cruz

Detecting device orientation with the JavaScript API

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

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.


The Vibration API in HTML5 with JavaScript

24-11-2025 - Andrés Cruz

The Vibration API in HTML5 with JavaScript

The vibrate method of the navigator object allows you to enable hardware vibration of a device using JavaScript.


The Battery API in HTML5 with JavaScript and HTML5

24-11-2025 - Andrés Cruz

The Battery API in HTML5 with JavaScript and HTML5

Learn how to use the Battery Status API with JavaScript to read battery levels, detect charging, and create power-saving modes. Includes practical examples using `navigator.getBattery()` and `async/await`.


Page Visibility API in JavaScript and HTML5

24-11-2025 - Andrés Cruz

Page Visibility API in JavaScript and HTML5

The Page Visibility API allows us to know when a web page is being viewed by the user and therefore we can make configurations to avoid the use of unnecessary resources.


The FullScreen API in JavaScript

24-11-2025 - Andrés Cruz

The FullScreen API in JavaScript

The FullScreen API allows you to present a web page or the different elements that make it up in full screen or FullScreen.


Accessing a device's camera and microphone with JavaScript

24-11-2025 - Andrés Cruz

Accessing a device's camera and microphone with JavaScript

Learn step-by-step how to access your camera and microphone with JavaScript using the getUserMedia API. We'll show you how to display video, capture photos with canvas, and troubleshoot common errors. Create interactive web applications today!


How to use the YouTube iFrame Player API in JavaScript to load and play videos with JavaScript

24-11-2025 - Andrés Cruz

How to use the YouTube iFrame Player API in JavaScript to load and play videos with JavaScript

Learn to master the YouTube iFrame Player API with this comprehensive guide. Control playback, create automatic playlists, and customize your videos with JavaScript.


How to get screen resolution with JavaScript/jQuery?

24-11-2025 - Andrés Cruz

How to get screen resolution with JavaScript/jQuery?

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.


Speech synthesis with native JavaScript

24-11-2025 - Andrés Cruz

Speech synthesis with native JavaScript

Learn how to use the JavaScript Speech Synthesis API to convert text to speech on your website. Control the language, pitch, and volume with SpeechSynthesisUtterance. Make your browser speak with this tutorial and code examples!