Tags

ACF Ajax App array Array Filter Array Map Cache cf7 contact-form-7 database Filter flex flexbox Form Functions Gutenberg instagram javascript jQuery menu menu-items MYSQL php shortcode sql sqlyog VC Visual Composer wordpress wpbakery WPML Xml
  • Widgets
  • Search

Kabita Dhimal

Web Developer From Kathmandu – Explore, Learn, and Share

Menu

Skip to content
  • Let’s Connect
Javascript

JavaScript Fetch API, Async/Await

July 4, 2022Kabita Leave a comment

Await is syntactic sugar for Promises and is used for avoiding the multiple promise chains. It makes asynchronous code look more like synchronous code and makes it easier for humans to understand the code. A function declared with the async keyword is called an Async Function and await function is used inside the Async function.

Continue reading →

Hits: 0

Standard
Javascript, Programming

JavaScript Promises

June 23, 2022Kabita Leave a comment

A promise is a JavaScript object used to handle asynchronous operations. Before the promise was introduced in JavaScript, events and callback functions were used to handle the asynchronous events.  Promises provide a better way of handling multiple callbacks at the same time, thus avoiding the multiple nested callbacks and errors.

Continue reading →

Hits: 4

Standard
Javascript, Programming

JavaScript Callbacks

June 22, 2022Kabita Leave a comment

JavaScript functions are invoked in the sequence they are called instead of the sequence they are defined.

Continue reading →

Hits: 2

Standard
Filter and Hooks, WordPress

Filter to modify the Gutenberg Blocks

June 17, 2022KabitaGutenberg Leave a comment

Gutenberg uses blocks to manage the different types of content. render_block() function takes a single parsed block object and returns the rendered HTML for that block.

Continue reading →

Hits: 2

Standard
Programming

Using Implode to convert Array to String

June 16, 2022Kabitaphp Leave a comment

The PHP builtin function implode(), is used to join the elements of an array with a separator string.

Continue reading →

Hits: 4

Standard

Post navigation

← Older posts
Proudly powered by WordPress | Theme: Ryu by WordPress.com.