Search this site
Embedded Files
Networks
  • Página inicial
  • FRONT END LIBRARIES
  • python fundamentos
  • GIT
  • Documentacao
  • APPS SCRIPTS
  • Nornir Automation python
  • LINGUAGEM R
  • ia
  • DART FLUTTER
  • django fileds opctions
  • DART FLUTTER
  • Google calendar API
  • Eletrica residencial
  • NODE JS SERVER HTTP
  • API NODE JS EXPRESS JAVASCRIPT
  • python Async
  • Cython
  • Algebra para machine learning
  • Algebra-Linear Machine learning
  • Python Financas Analise fundamentalista
  • Threads em Python
  • Programacao assincrona
  • UseFull Libraries Python
  • SQL INJECT
  • Minishift OCK REDHAT
  • Minishift instalation
  • Google cloud Kubernetes
  • AZURE AKS
  • NETBOX
  • CI CD Git Actions
  • REG EXP
  • deploymongo+python
  • Kubernetes Mongo python flask
  • STACKSTORM
  • Python OOB
  • GIT
  • Mongo DB
  • NLP Linguagem natural IA
  • PYTHON + MONGO + FLASK
  • Junos Devops Netconf
  • Juniper Automatin certification
  • Flask socket io
  • chat python
  • OPENIA API
  • Algoritimos de classificacao
  • Flet python
  • Google sheets + email script
  • Criar app no google sheets
  • FAST API E SGAWER
  • Networkx python
  • Extrair_video_youtube
  • C#
  • VB.NET
  • C++
  • REACT NATIVE
  • REGEXPR CISCO
  • NETPLAN UBUNTU
  • React js
  • Machine learning scikit
  • Email com python
  • Mongo DB Atlas
  • css
  • Django
  • Python Classes estudos
  • JavaScript
  • Lendo arquivo com node JS
  • Django
  • Docker
  • Docker - Deploy python application
  • Docker compose script
  • Irb
  • L2TP-SERVER
  • EEM IPSEC OSPF
  • Wireless controller
  • NOVO
  • palo alto firewall
  • Asterisk
  • samba instalação e configuração
  • linux commands centos
  • LINUX COMMANDS
  • gunicorn
  • Eigrp ODR
  • Ansible + jinja2
  • Pfsense firewall
  • EVE-NG
  • Looking glasses
  • RFC 1918
  • STP
  • ospfv3 - Fundamentals
  • OSPF -FUNDAMENTALS
  • VLAN
  • Ansible - Automation
  • Laboratorio Ansible + cisco
  • Ansible-cisco.backup
  • Ansible - cisco sandbox
  • JUNOS + ANSIBLE
  • IP-sec
  • Acess-list (Listas de Acesso)
  • Rip ng ipv6
  • Login - senhas cisco
  • Generic Routing Encapsulation GRE TUNNEL
  • Lab GRE
  • Códigos server http
  • Virtual routing and Forwarding (VRF)
  • Ansible automation with cisco routers
  • Laboratorio ansible nokia sros
  • HUAWEI NE40
  • configurando ssh ubuntu
  • Rip v2 fundamentos
  • Eigrp
  • Eigrp named mode
  • MP-BGP AND MPLS
  • Rip v2
  • Progamability
  • AWS
  • Kubernetes
  • Vagrant estudos
  • Bridge configuration
  • Tkinter Python
  • Python estudos
  • Python Methods
  • Python programability
  • VLAN-MAPPING TRANSLATE
  • Virtualbox
  • Headers
  • Cisco switches fundamentals and commands
  • Forwarding Processes
  • Versa - Deployment
  • Versa - Commands
  • VPNL2 CISCO MPLS
  • l2circuit JUNOS
  • Ansible - Manipulando arquivos
  • Backup junos via ansible
  • JUNOS-OLIVE
  • Junos vpnl3
  • Juniper l3vpn com redundância BGP
  • RSTP-PV
  • VTP
  • NOKIA MTU
  • MIKROTIK
  • Mikrotik - Bonding
  • MIKROTIK EOIP
  • MPLS
  • MPLS + MP-BGP NOKIA E HUAWEI
Networks

https://prismic.io/blog/tailwind-component-library 

daisyUI (free)

Preline UI (free)

Mamba UI (free)

Tailwind Elements (free)

HyperUI (free)

Tailwind Templates (free)

TailGrids (free)


<!DOCTYPE html>

<html lang="en">

<head>

  <meta charset="UTF-8">

  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <title>Form with DaisyUI Steps</title>

  <script src="https://cdn.tailwindcss.com"></script>

  <link href="https://cdn.jsdelivr.net/npm/daisyui@2.51.5/dist/full.css" rel="stylesheet">

</head>

<body class="bg-gray-100">

  <div class="container mx-auto p-8">

    <h1 class="text-2xl font-bold mb-4">Multi-Step Form Example</h1>

   

    <!-- Steps -->

    <ul class="steps mb-8">

      <li class="step step-primary">Step 1</li>

      <li class="step">Step 2</li>

      <li class="step">Step 3</li>

    </ul>

   

    <!-- Form -->

    <div class="bg-white shadow-md rounded-lg p-6">

      <form id="multiStepForm">

        <!-- Step 1 -->

        <div id="step1" class="step-content">

          <h2 class="text-xl font-bold mb-4">Step 1: Personal Information</h2>

          <div class="mb-4">

            <label class="block text-sm font-medium mb-2" for="name">Name</label>

            <input type="text" id="name" class="input input-bordered w-full" placeholder="Enter your name" required>

          </div>

          <div class="mb-4">

            <label class="block text-sm font-medium mb-2" for="email">Email</label>

            <input type="email" id="email" class="input input-bordered w-full" placeholder="Enter your email" required>

          </div>

          <button type="button" class="btn btn-primary mt-4" onclick="nextStep()">Next</button>

        </div>


        <!-- Step 2 -->

        <div id="step2" class="step-content hidden">

          <h2 class="text-xl font-bold mb-4">Step 2: Address</h2>

          <div class="mb-4">

            <label class="block text-sm font-medium mb-2" for="address">Address</label>

            <input type="text" id="address" class="input input-bordered w-full" placeholder="Enter your address" required>

          </div>

          <div class="mb-4">

            <label class="block text-sm font-medium mb-2" for="city">City</label>

            <input type="text" id="city" class="input input-bordered w-full" placeholder="Enter your city" required>

          </div>

          <button type="button" class="btn btn-secondary" onclick="prevStep()">Previous</button>

          <button type="button" class="btn btn-primary mt-4" onclick="nextStep()">Next</button>

        </div>


        <!-- Step 3 -->

        <div id="step3" class="step-content hidden">

          <h2 class="text-xl font-bold mb-4">Step 3: Confirm</h2>

          <p class="mb-4">Please confirm your information before submitting the form.</p>

          <button type="button" class="btn btn-secondary" onclick="prevStep()">Previous</button>

          <button type="submit" class="btn btn-success mt-4">Submit</button>

        </div>

      </form>

    </div>

  </div>


  <script>

    let currentStep = 1;


    function showStep(step) {

      document.querySelectorAll('.step-content').forEach((content, index) => {

        content.classList.toggle('hidden', index + 1 !== step);

      });

      document.querySelectorAll('.step').forEach((stepItem, index) => {

        if (index < step) {

          stepItem.classList.add('step-primary');

        } else {

          stepItem.classList.remove('step-primary');

        }

      });

    }


    function nextStep() {

      if (currentStep < 3) {

        currentStep++;

        showStep(currentStep);

      }

    }


    function prevStep() {

      if (currentStep > 1) {

        currentStep--;

        showStep(currentStep);

      }

    }


    // Initialize first step

    showStep(currentStep);

  </script>

</body>

</html>



Google Sites
Report abuse
Page details
Page updated
Google Sites
Report abuse