Add the Lithuanian phrase quiz to your site
Add the quiz to your website for free, with the LithuaniaLinks credit link visible at the bottom.
Set up
The preview updates as you change the settings.
Copy this code into your page
Paste it anywhere you want the quiz to show up. It will inherit the width of its container, up to 540 pixels.
Use and credit
The quiz is free for personal and commercial use. Progress is saved in the visitor’s browser without an account. Loading the quiz sends a request to our server; our privacy notice explains its technical logs.
In return, please keep the LithuaniaLinks.com link visible at the bottom of the quiz. That is how new visitors find us, and how we keep this free.
Keep the LithuaniaLinks credit visible and do not remove it from the embed code. Contact us to discuss a version without the credit for a paid product.
Where it works
Anywhere you can paste an iframe. A few common spots:
- WordPress: add a Custom HTML block and paste the code in.
- Blogger / Squarespace / Wix: look for the embed or HTML block, paste, save.
- Other website editors: Use an HTML or embed block only if your plan and settings allow a custom iframe. Otherwise, share a link to the quiz or your page containing it. Widget address for the current settings:
https://lithuanialinks.com/widget/?embed=1&lang=en - Plain HTML site: paste the snippet anywhere in the body.
It will not work inside a tweet, Instagram post, or Facebook status, because those platforms strip iframes. Share a link to your own page instead and the quiz will live there.
Optional: auto-resize the iframe to its content
The widget posts its height to the parent page. If you would rather the iframe grow and shrink with the content instead of being fixed, add this little script next to the iframe:
<script>
window.addEventListener('message', function (e) {
var f = document.querySelector('iframe[src*="lithuanialinks.com/widget/"]');
if (!f) return;
var u = new URL(f.src);
if (u.origin !== 'https://lithuanialinks.com' || u.pathname !== '/widget/') return;
if (e.origin === u.origin && e.source === f.contentWindow && e.data && e.data.type === 'll-phrase-trainer-height' && Number.isFinite(e.data.height) && e.data.height > 0) {
f.style.height = e.data.height + 'px';
}
});
</script>