Home > UI/UX Development (Page 4)

Contrast Level In Accessibility

What is contrast in Accessibility? Contrast is a visual difference used for distinguishing a certain object (or objects). Contrast in Accessibility is about finding colors that not only provide maximum contrast, but provide enough contrast between content and the background  so that it can be read by people with

This Article is TAGGED in , , , , , , , , , . Read more

event.preventDefault() vs event.stopPropagation() vs return false

This article provides the information how can we prevent default behavior/action of an element in jQuery. Sometimes we need to stop/prevent element default action when a certain event is fired using jQuery.Event object methods we can achieve that event. We will see all three methods with a DEMO  event.preventDefault() event.preventDefault();  method is stop default

This Article is TAGGED in , , , , . Read more

jQuery .html vs .append vs .innerHTML Difference and Performance

This article provides the information about jQuery DOM insertion methods Difference and Performance. These methods are really matters for your page, It dramatically affects the performance of your page. .html() The .html() jQuery method set and return the content of selected elements. When this method is used to set content, It set the content

This Article is TAGGED in , , . Read more

DOM traversing & manipulating in JavaScript

Hello everyone, in this post we will discuss about following points on Document Object Model (DOM). What is DOM? DOM traversing DOM manipulating What is DOM? The Document Object Model (DOM) is a programming API for HTML and XML. API specification defined by the World Wide Web Consortium (W3C). DOM represents how to write HTML and

This Article is TAGGED in . Read more

What is difference offset() and position()

Hello everyone, in this post we will discuss about difference between offset() and position() with example. offset() The offset() method set or returns the offset coordinates (current position) for the selected elements, relative to the document. offset() returns an object containing the properties top and left coordinate value. When positioning a new element on

This Article is TAGGED in . Read more

What is Method Chaining in JavaScript

Hello everyone, in this post we will discuss about following points on Method Chaining What is Method Chaining? Pros and Cons of Method Chaining What is method chaining? Method chaining is technique that allows to write several methods on jQuery selection in sequence in a single code statement. jQuery relies heavily on chaining. This makes it easy

This Article is TAGGED in . Read more

JavaScript Scope

Hello everyone, in this post we will discuss about following points on JavaScript Scope What is scope? What is Global/Local Scope? What is lexical scope? What is scope? In JavaScript, scope determines the accessibility (visibility). Scope refers to the current context of your code. Scopes can be globally or locally defined for both functions and variables. What is Global/Local Scope? In JavaScript there

This Article is TAGGED in . Read more