User:Pemaksa/wikimediaapiportal.js

// Get today's featured article from English Wikipedia

let today = new Date; let year = today.getFullYear; let month = today.getMonth + 1; let day = today.getDate; let url = `https://api.wikimedia.org/feed/v1/wikipedia/en/featured/${year}/${month}/${day}`;