Full Stack Web Developer
- Indonesia
-
02:11
(UTC +07:00) - https://www.linkedin.com/in/yuxufm/
Pinned Loading
-
add and remove DOM using Alpine.js
add and remove DOM using Alpine.js 1<script defer src="https://unpkg.com/[email protected]/dist/cdn.min.js"></script>
23<div x-data="{data: []}">
4<div @click="data.push({ randomNumber: new Date().getTime() })">(Click Here To Add New Data)</div>
5<template x-for="(item, index) in data" :key="index">
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.