These two guides for Node.js and the browser use basic examples in JavaScript to get you started with OpenTelemetry.
Get telemetry for your app in less than 5 minutes!
Learn how to add OpenTelemetry to your browser app