The noticeboard read its title and stored it on the body. This reading-room page instead needs its language. The supplied <html lang="en"> identifies the page language as English.
Open index.html and locate lang="en". JavaScript can read it through document.documentElement.lang: first reach <html>, then read its lang property.
Recall how the demo stored a title:
const pageTitle = document.title;
document.body.dataset.pageTitle = pageTitle;
For this page, use dataset.language instead. It writes a data-language attribute on the body. The supplied CSS watches that attribute to show a language badge.
Edit script.js; leave the supplied HTML and CSS alone. Press Run to see the badge, then Submit to check your change.
<html> element's lang through document.documentElement and put that value in document.body.dataset.language so the reading-room badge becomes active.