add day 12
This commit is contained in:
12
day12/src/components/htmlInput.ts
Normal file
12
day12/src/components/htmlInput.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
export const HtmlInput = () => {
|
||||
return `
|
||||
<div class="mb-2">
|
||||
<h2 class="text-xl font-semibold text-center" d-html>html input is: {appState.contents.html}</h2>
|
||||
</div>
|
||||
<div class="flex justify-center">
|
||||
<div>
|
||||
<input placeholder="text..." class="py-2 px-4 resize-none bg-zinc-800 rounded-md shadow-md my-2 border border-zinc-800 placeholder:italic placeholder:text-gray-300" d-model="html" />
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
Reference in New Issue
Block a user