From 8c248b00e12c6741456240fe2e9794cdc5880d6f Mon Sep 17 00:00:00 2001 From: KIDI'S-TECH <146373396+KidiIT@users.noreply.github.com> Date: Mon, 4 Dec 2023 08:02:07 -0600 Subject: [PATCH] Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 3509f22..85076e3 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,18 @@ # Shuffle array using sort method with javascript (step1) + Awesome step to shuffle an Array using the sort method in minutes. IMPORTANT POINTS TO NOTE ABOUT THIS PROJECT: 1:To begin with, this repo might seems simple but it's very essential when developing real world object. for instance, when developing a bookshop website for a client or yourself. however, making use of sort method to shuffle the books or pictures on the website. + 2: you can achieve step by creating a function that will shuffle the books and itrate through the array that contain the books with "for loop" (books.length). + 3:then make use of the sort array method to shuffle the books to be able to display randomly whenever you refresh your web browser. + 4:lastly, you can shuffle an array using different methods. but i got only two ways to do that. which i'd be showing y'all the second step you can use to shuffle an array on my next repo. +