π 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
π 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.