Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #7

Merged
merged 1 commit into from
Dec 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Shuffle array using sort method with javascript (step1)
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.
1:To begin with, this repo might seems simple but it's very essential when developing a real world object. for instance, when building a bookshop website for a client or for an organization that have alot of infrastructure. however, making use of sort method to shuffle the books or pictures on the website will be stress free on my end. Also, will be effective once you understand how looping works with javascript.

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).
2: furthermore, you can achieve step 1 by creating a function on your js.file that will shuffle the books or pictures depends on what you want to develop. using "FOR LOOP" iterate through the array that contain the books already created.eg (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.
3:After which, you can apply or 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.
4:lastly, shuffling an array can be done in many ways. but, i got only two ways to do that which i'd be showing y'all on my next repo. STAY TUNED!!