sf-88e / index.html
Passpass119's picture
Add 3 files
208e6cd verified
<html><head><link href="https://cdn.jsdelivr.net/npm/daisyui@3.1.6/dist/full.css" rel="stylesheet" type="text/css" /><script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script><script src="https://cdn.tailwindcss.com?plugins=forms,typography,aspect-ratio"></script><script defer src="https://cdnjs.cloudflare.com/ajax/libs/three.js/0.156.1/three.min.js"></script><script type="module" src="main.js"></script><title>Cookie Recipe</title></head><body>
<h1 id="top" class="text-indigo-600 text-xs">My Favorite Cookie Recipe</h1>
<div x-data="recipe">
<h2 x-text="name" class="text-slate-600 text-2xl"></h2>
<p x-text="description" class="text-slate-600"></p>
<img x-src="image" class="rounded-full" />
<ul class="steps">
<li x-repeat="ingredients" class="step">
<input type="checkbox" x-model="done" />
<span x-text="ingredient" class="name"></span>
</li>
</ul>
<button x-on:click="addIngredient" class="btn btn-primary">Add Ingredient</button>
</div>
</body>
</html>