Skip to content

Ravinder-Tiwari/practice-shifting-array

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

practice-shifting-array

πŸ”„ Step-by-Step Array Shift (Animated)

A mini practice project that visualizes left and right array shifts step by step using smooth animations. Built with HTML, CSS, and JavaScript (no frameworks).

✨ Features

🎨 Clean UI with animated array boxes.

β¬…οΈβž‘οΈ Shift array elements left or right one step at a time.

πŸ”’ Adjustable k (number of shifts).

πŸ”„ Reset button to restore the original array.

🟦 Highlighted swap animations for clarity.

🎬 Button click animations for interactivity.

πŸ“Έ Preview

shifting πŸš€ How to Use

Open the project in a browser.

Enter the shift value k.

Click Right Shift or Left Shift to see step-by-step swaps.

Use Reset to restore the original array.

πŸ› οΈ Tech Stack

HTML5 – structure

CSS3 – styling & transitions

JavaScript (ES6) – logic & animations

πŸ“š Learning Goals

Practice array manipulation in JavaScript.

Understand step-by-step visualization of shifting.

Improve DOM manipulation & animation skills.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages