Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <div class="container">
  <h2> <b>Belajar CRUD Modal Bootstrap (popup) </h2>
  <p> Belajar CRUD Modal Bootstrap (popup) By Pemulungkode </b></p>
  <br/>

  <!-- Tombol untuk menampilkan modal-->
  <button type="button" class="btn btn-success btn-lg" data-toggle="modal" data-target="#myModal">Buka Modal</button>

  <!-- Modal -->
 <div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
    <div class="modal-content">

      <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" >X</button>
            <h4 class="modal-title" id="myModalLabel">Menambahkan Data Modal Boostrap (popup)</h4>
        </div>

        <div class="modal-body">
          <form action="p_save.php" name="modal_popup" enctype="multipart/form-data" method="POST">
            
                <div class="form-group" style="padding-bottom: 20px;">
                  <label for="Name">Nama Lengkap</label>
                  <input type="text" name="name"  class="form-control" placeholder="Nama lengkap" required/>
                </div>

                <div class="form-group" style="padding-bottom: 20px;">
                  <label for="alamat">Alamat</label>
                   <textarea name="alamat"  class="form-control" placeholder="Masukkan alamat anda" required/></textarea>
                </div>

				 <div class="form-group" style="padding-bottom: 20px;">
                  <label for="hobi">Hoby</label>
                  <input type="text" name="hobi"  class="form-control" placeholder="Hobi anda" required/>
                </div>
				
                <div class="form-group" style="padding-bottom: 20px;">
                  <label for="tgl">Tanggal Lahir</label>
                   <input class="form-control" id="tgl" name="tgl" placeholder="MM/DD/YYY" type="text" required/>
                  </div>
				  
				 <div class="form-group">
                      <label for="exampleInputEmail1">jenis Kelamin</label> <br>
                      <label class="radio-inline">
                      <input type="radio" name="jenis" id="jenis" value="L" required data-fv-notempty-message="Tidak boleh kosong"> Laki-laki 
                      </label>
                      <label class="radio-inline">
                      <input type="radio" name="jenis" id="jenis" value="P" required data-fv-notempty-message="Tidak boleh kosong"> Perempuan
                      </label>
                    </div>
					<!-- footer modal -->
              <div class="modal-footer">
                  <button class="btn btn-success" type="submit">
                      Simpan
                  </button>

                  <button type="reset" class="btn btn-danger"  data-dismiss="modal" aria-hidden="true">
                    Cancel
                  </button>
              </div>
<p> <a title="belajar_Modal" href="https://pemulungkode.com">pemulungkode</a> </p>
              </form>

           

            </div>

           
        </div>
    </div>
</div>



              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console