Font previewer
Prompt
I need you to create a PWA that will accept a copy and pasted css from Google fonts. I want it to list the fonts, and display them as their default view, 36 px. The default text for each font will be line 1: font name 36 px line 2: sample text: The quick brown fox …. I guess that's it for now. Here is the copied code that is similar to what the PWA will accept for this to work. Only all the fonts will be different each time. You will figure out how to extract and use the data correctly: ```html <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Gajraj+One&family=Geo:ital@0;1&family=Iceberg&family=Iceland&family=Kumar+One&family=Quantico:ital,wght@0,400;0,700;1,400;1,700&family=Sarpanch:wght@400;500;600;700;800;900&family=Science+Gothic:wght@100..900&family=Tektur:wght@400..900&display=swap" rel="stylesheet"> ```
A system prompt was added to support web rendering