Skip to content

ankitpinl/javascript-examples

Repository files navigation

JavaScript Examples

Filter method

Description

The filter() method is an iterative method. It creates a new array with all elements that pass the test defined by the given function. Do not worry about the original array. It does not change.

Reduce method

Description

The reduce() method performs a reducer function for array element. It returns a single value. The reduce() method does not execute the function for empty array elements.This method does not change the original array.

Hover on image

Description

When you hover on image, the image will be replaced and new image will come in src. There is an attribute named data-src.

Make Model Year functionality

Description

There are three select boxes - make, model and year. model and year would be default disable. When you select any option from make select, based on the value the second select box model would be enable and options would be appeared and same for the third.

Autofill Google Address

Description

This will work only for USA addresses because I have not set other countries states list.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published