Read the docs in the language you think in. Start typing in any script.
English: createAttribute · stdlib · javascript
createAttribute
Official documentation — MDN reference