0. CONTENT GENERATION --------------------- Create a dataset with these words: -------- gym hair half hand happen happy hard hat hate have have to he head health healthy hear hello help her here hey hi high him his history hobby holiday home homework hope horse hospital hot hotel hour house how however hundred hungry husband I ice ice cream idea if imagine important improve in include information interest interested interesting internet interview into introduce island it its jacket January jeans job join journey juice July June just keep key kilometre kind (type) kitchen know land language large last (final) late later laugh learn leave left leg lesson let letter library lie life light (from the sun/a lamp) like (similar) like (find sb/sth pleasant) line lion list listen little live local long look lose lot love lunch machine ------- Note for the translation below: If the English word has no direct translation, describe its use in a few words 1. GLOBAL CONFIGURATION ----------------------- - CARDS_PER_ROUND: 9 - BASE_LANGUAGE: English - TARGET_LANGUAGE: Bulgarian - GAME: Beginner-4 - LANGUAGE_CODE: Two letter standard code for TARGET_LANGUAGE (All Caps). - GA_MEASUREMENT_ID: "G-WFWF326Q9H" Dataset Fields: id | text (English) | translation (TARGET_LANGUAGE Translation) | audio (set explicitly to null) Elminate any duplicates in the dataset. Act as an expert Frontend Engineer. Build a single, standalone HTML file (index.html) for a language learning game. IMPORTANT: Do not add any notes at the top or bottom of the HTML file. 2. TECHNICAL STACK & SETUP -------------------------- - React, ReactDOM, Babel, TailwindCSS (via CDN). - Embed all CSS/JS within the single file. - You MUST include at the very top of the
. - In the , load exactly these four dependencies, in this order, each as a plain : - One item per line, keys in the order id, text, translation. Right-align the id and pad the text value with spaces so the "translation" keys line up in one column. Leave out "audio" when it is null (the game treats a missing audio field the same as null). - CRITICAL: RAW_DATA must be a strictly valid JSON array of objects. Use double quotes (") for all keys and string values to prevent syntax errors with apostrophes (e.g., "don't"). - The main script below MUST NOT declare RAW_DATA again; it reads this global RAW_DATA. In its place it has the comment /* RAW_DATA (the word list) is defined near the top of this page. */ To ensure consistency and prevent Scope/Reference errors, you MUST structure the main