Skip to content

Instantly share code, notes, and snippets.

@dad2vad
dad2vad / markdown-details-collapsible.md
Created February 20, 2023 14:22 — forked from pierrejoubert73/markdown-details-collapsible.md
How to add a collapsible section in markdown.

How to

<details>
  <summary>Click me</summary>
  
  ### Heading
  1. Foo
  2. Bar
     * Baz
 * Qux
@dad2vad
dad2vad / alert-notifications-with-alertify-js.markdown
Created March 8, 2021 13:25
Alert notifications with alertify.js
@dad2vad
dad2vad / bulma-responsive-gallery.markdown
Created January 14, 2021 07:38
Bulma Responsive Gallery
@dad2vad
dad2vad / index.html
Created December 15, 2020 19:59
javaScript - debounce onchange input event
<h2>Onchange Event used on user input fields</h2>
<p>Only works on &lt;input&gt;, &lt;select&gt;, and &lt;textarea&gt;</p>
<h3>Demo: Type into the inputs or click the button.</h3>
<section>
Not Debounced:
<input type="text" id="notDebounced" oninput="onInputChange({id: this.id, value: this.value, arg1: 'someArg1'})">
<button onclick="sendCharsToInput({id: 'notDebounced'})" >Send string to the input</button>