scrimba
Alpine JS
fetch and x-init
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

AboutCommentsNotes
fetch and x-init
Expand for more info
fetch.html
run
preview
console
<html>
<head>
<link rel="stylesheet" href="https://unpkg.com/tailwindcss@1.2.0/dist/tailwind.min.css">
<script src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v1.9.8/dist/alpine.js" defer></script>
</head>
<body class="bg-gray-400 text-gray-800">
<div
class="container mx-auto px-4"
>
<div class="flex items-center text-center justify-center h-screen text-2xl italic">Quote goes here</div>
</div>
</body>
</html>
Console
/fetch.html
-2:44