Skip to content

Instantly share code, notes, and snippets.

@neisdev
neisdev / index.html
Created November 2, 2025 15:33
Netflix The Glory Landing Page
<body>
<div class="content">
<!-- To Top Button -->
<button onclick="topFunction()" id="to-top" title="Go to top">&uarr;</button>
<!-- Navigation Bar -->
<div class="topnav" id="myTopnav">
<a href="https://www.netflix.com" class="symbol-div"><img src="https://s3.amazonaws.com/shecodesio-production/uploads/files/000/113/037/original/Netflix_Logo_RGB.png?1706649012" id="netflix-symbol" alt="Netflix Symbol">
</a>
@neisdev
neisdev / file-upload.markdown
Created October 14, 2025 05:28
File upload
@neisdev
neisdev / entity-relationship-diagram-erd.markdown
Created October 14, 2025 05:14
Entity Relationship Diagram ERD

Entity Relationship Diagram ERD

Sometimes you need the simplicity, this pen draw an ERD with only a few parameters, clean and easy to use, was developed prompting ChatGPT

A Pen by Ronald Avendaño on CodePen.

License.

@neisdev
neisdev / index.html
Created March 8, 2025 08:12
Input "radio" size chart selector w/ Alpine.js & TailwindCSS
<!-- Tailwind CSS :: styles -->
<style type="text/tailwindcss">
@layer base {}
@layer components {}
@layer utilities {
.content-auto {
content-visibility: auto;
}
}
</style>
@neisdev
neisdev / index.html
Created November 11, 2024 15:01
Simple form input repeater with Alpine js 3
<div class="p-6 m-6 lg:p-12 lg:m-12 bg-gray-50 rounded-lg">
<div class="flex flex-col lg:flex-row" x-data="{ fields: [''] }">
<div class="lg:w-1/2 lg:mr-6 lg:mb-0 mb-6">
<template x-for="(field, index) in fields" :key="index">
<div class="flex mb-2">
<input type="text" name="data[]" x-model="fields[index]" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" placeholder="write text here">
<button x-show="fields.length > 1" class="ml-2 bg-red-500 hover:bg-red-700 text-white font-bold px-4 rounded focus:outline-none focus:shadow-outline" @click="fields.splice(index, 1)">-</button>
</div>
</template>
@neisdev
neisdev / data-table-with-tailwindcss-alpinejs.markdown
Created November 11, 2024 15:01
Data Table with TailwindCSS & AlpineJS
@neisdev
neisdev / bootstrap-checkout-page.markdown
Created September 13, 2024 05:50
Bootstrap Checkout Page
@neisdev
neisdev / index.html
Created August 20, 2024 21:47
Rb3.0 Billing - Plan
<div class="relative h-screen flex overflow-y-auto lg:overflow-hidden bg-gradient-to-r from-white via-blue-50 to-gray-50">
<!-- Not in use: Off-canvas menu for mobile, show/hide based on off-canvas menu state. -->
<div class="fixed inset-0 flex z-40 lg:hidden" role="dialog" aria-modal="true" style="display: none;">
<!--
Off-canvas menu overlay, show/hide based on off-canvas menu state.
Entering: "transition-opacity ease-linear duration-300"
From: "opacity-0"
To: "opacity-100"
@neisdev
neisdev / index.html
Created August 16, 2024 08:04
Troubleshoot Metrics Backup
<div class="relative h-screen flex overflow-y-auto lg:overflow-hidden bg-gradient-to-r from-white via-blue-50 to-gray-50">
<!-- Not in use: Off-canvas menu for mobile, show/hide based on off-canvas menu state. -->
<div class="fixed inset-0 flex z-40 lg:hidden" role="dialog" aria-modal="true" style="display: none;">
<!--
Off-canvas menu overlay, show/hide based on off-canvas menu state.
Entering: "transition-opacity ease-linear duration-300"
From: "opacity-0"
To: "opacity-100"
@neisdev
neisdev / index.html
Created August 16, 2024 08:03
Troubleshoot Metrics Backup
<div class="relative h-screen flex overflow-y-auto lg:overflow-hidden bg-gradient-to-r from-white via-blue-50 to-gray-50">
<!-- Not in use: Off-canvas menu for mobile, show/hide based on off-canvas menu state. -->
<div class="fixed inset-0 flex z-40 lg:hidden" role="dialog" aria-modal="true" style="display: none;">
<!--
Off-canvas menu overlay, show/hide based on off-canvas menu state.
Entering: "transition-opacity ease-linear duration-300"
From: "opacity-0"
To: "opacity-100"