The Cover
News
Music
Film
TV
Gaming
Festivals
Gig Guide
Radar
Search
Trending
Folk Bitch Trio
Nightcrawlers
Spaceballs 2
Sabrina Carpenter
BTS
Switch 2
Glastonbury
Music
News
Features
Reviews
Interviews
Radar
Film
News
Features
Reviews
Interviews
TV
News
Features
Interviews
Reviews
Recaps
Gaming
News
Features
Reviews
Guides
The Cover
News
Music
Film
TV
Gaming
Festivals
Gig Guide
Radar
Search
Trending
Folk Bitch Trio
Nightcrawlers
Spaceballs 2
Sabrina Carpenter
BTS
Switch 2
Glastonbury
Music
News
Features
Reviews
Interviews
Radar
Film
News
Features
Reviews
Interviews
TV
News
Features
Interviews
Reviews
Recaps
Gaming
News
Features
Reviews
Guides
`; // target the cover menu item const target = document.querySelector('#menu-header-uk-1 .menu-item-2911415'); // position popover to the left if the target is on the right half of the screen if (target.getBoundingClientRect().right > document.documentElement.clientWidth / 2) { popover.classList.add('left'); } target.appendChild(popover); // used to check if the article info let articleTitle = ''; function decodeHtmlEntities(str) { const txt = document.createElement('textarea'); txt.innerHTML = str; return txt.value; } // fetch info once, then show popover on hover target.addEventListener('mouseover', async () => { if (!articleTitle) { const [coverRes, articleRes] = await Promise.all([ fetch('https://www.nme.com/wp-json/wp/v2/posts?categories=268320&per_page=1&_fields[]=thumbnail_url&_fields[]=featured_media'), fetch('https://www.nme.com/wp-json/wp/v2/posts?categories=268101&per_page=1&_fields[]=title&_fields[]=link'), ]); const [cover, article] = await Promise.all([coverRes.json(), articleRes.json()]); articleTitle = decodeHtmlEntities(article[0].title.rendered); document.querySelector('#the-cover-article-title').textContent = articleTitle; document.querySelector('#the-cover-article-title').href = article[0].link; document.querySelector('#the-cover-image-link').href = article[0].link; document.querySelector('#the-cover-read-now').href = article[0].link; document.querySelectorAll('#the-cover-image').forEach((img) => { // add size modifier to the cover image url img.src = cover[0].thumbnail_url.replace(/(\.[\w\d_-]+)$/i, '-400x500$1'); }); // document.querySelector('#the-cover-image-link').href = article[0].link; } setTimeout(() => popover.classList.add('active'), 0); }); // hide popover on mouse leave target.addEventListener('mouseleave', () => { setTimeout(() => popover.classList.remove('active'), 0); }); });
Gaming Features
The essential games for every Switch 2 owner
We list the titles worth spending money on – so you avoid the ones that aren't
‘Mario Kart World’ is a supercharged reinvention of the ultimate party game
There's plenty new in the Switch 2's biggest and most impressive launch title
Is the Nintendo Switch 2 worth your money?
A casual gamer’s guide to summer’s hottest handheld console
The “miracle” of ‘God Of War’s music – 20 years since the first game
Composers Gerard Marino and Bear McCreary take us inside their iconic, myth-hopping soundtracks
The best games to play while you wait for ‘Grand Theft Auto 6’
If you're into the music, the violence or the smirking humour of 'GTA', there's something for you here
Every ‘Tony Hawk’s Pro Skater’ soundtrack – ranked!
The iconic video game series inspired a new generation of punks
How The Flight crafted ‘Assassin’s Creed Shadows’ stunning, super-sized soundtrack
In search of authenticity, the composer duo looked to classical Japanese instruments such as the Sho
DanTDM’s top game soundtracks for relaxing or getting stuff done
The globally famous YouTuber and radio DJ drops some key recs
‘Atomfall’ is more than just a British ‘Fallout’
Gamers have been comparing this post-nuclear survival adventure to a classic franchise
The never-ending future of ‘Stardew Valley’ – and what creator Eric Barone did next
The indie designer has "something to prove" with his new game 'Haunted Chocolatier'
1
2
3
...
109
Page 1 of 109
Advertisement