Web Development Tutorials
//

Tag: JavaScript

Programming

Add Settings Controls to a Gutenberg Block

Attributes in block.json declare what a block stores, then InspectorControls moves the fields into the editor sidebar where authors expect them. PanelBody groups the…

August 18, 2026

Programming

Create a Custom Gutenberg Block Without a Build Step

register_block_type reads a block.json file and wp.blocks.registerBlockType describes the block in plain JavaScript. Because wp.element.createElement replaces JSX, there is no compiler in the loop…

August 18, 2026

Programming

Submit a Form With jQuery AJAX POST

Send a form's fields in the background and show the answer without reloading the page. preventDefault() stops the normal submission, serialize() packs every field…

August 12, 2026

Programming

Handle Events With jQuery

Handle events in jQuery with .on() — the single method for clicks, form submits, and field changes. This task-list example covers stopping a form's…

July 21, 2026