Skip to content

CyberSphinxxx/FlexBoxer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FlexBoxer

FlexBoxer is a fun, interactive web app built with HTML, CSS, and JavaScript that lets you create, manage, and customize boxes on a webpage. You can dynamically add, remove, and shuffle boxes with random colors! The layout uses Flexbox to arrange the boxes neatly.

Features

  • Add Boxes: Click the "Add Box" button to create new boxes with random colors.
  • Remove Boxes: Click the "Remove Box" button to remove the last box from the container.
  • Remove All Boxes: Click the "Remove All Boxes" button to clear all the boxes at once.
  • Shuffle Colors: Click the "Shuffle Colors" button to randomly change the colors of all existing boxes.

Demo: FlexBox

Try out the demo by visiting the project in your browser. You can add/remove boxes, shuffle colors, and experiment with the layout.

How to Use

  1. Add a Box: Click the "Add Box" button to add a new box to the container. Each new box has a random background color and is labeled with its number.
  2. Remove a Box: Click the "Remove Box" button to remove the most recently added box from the container.
  3. Remove All Boxes: Click "Remove All Boxes" to clear the entire box container.
  4. Shuffle Colors: Click "Shuffle Colors" to change the color of every box randomly.

Technologies Used

  • HTML: Markup for the structure of the app.
  • CSS: Styling using Flexbox for layout and animations.
  • JavaScript: Functionality to add, remove, and shuffle the boxes.

Installation

1. Clone this repository:

git clone https://github.com/yourusername/FlexBoxer.git

2. Open index.html

  • Open index.html in your browser to view and interact with the project.
  • Or open in VSCode with LiveServer Extension

How to Contribute:

  1. Fork this repository.
  2. Create your feature branch (git checkout -b feature/YourFeature).
  3. Commit your changes (git commit -am 'Add new feature').
  4. Push to the branch (git push origin feature/YourFeature).
  5. Open a pull request.

We welcome any contributions or suggestions!

License

This project is open source and available under the MIT License.


Credits:

  • FlexBoxer was built by John Lemar Gonzales as a personal project to practice HTML, CSS, and JavaScript.