A simple web page that dynamically displays cards with data fetched from a JavaScript array. The rendering of the cards is done entirely using JavaScript, without hardcoding the card structure in the HTML. This project is based on a tutorial from Brian Design.
- Dynamically renders a list of cards from a JavaScript array.
- Each card displays information such as a title, description, and image.
- Clean and responsive design using HTML and CSS.
- HTML: Basic structure of the page.
- CSS: Styling for the layout and cards.
- JavaScript: Logic for dynamically generating the cards from an array of data.
-
Clone the repository:
git clone https://github.com/viorelss/dynamic-cards.git
-
Open the
index.html
file in your browser to view the dynamically generated cards.
This project follows the tutorial by Brian Design:
The project has been deployed using GitHub Pages and can be accessed here.
Contributions are welcome! If you'd like to enhance the project or fix bugs, feel free to fork the repository, create a new branch, and submit a pull request.
- Fork the project.
- Create a new branch (
git checkout -b feature/YourFeature
). - Commit your changes (
git commit -m 'Add new feature'
). - Push to the branch (
git push origin feature/YourFeature
). - Open a pull request.
To generate dummy data I used Random Everything extension in VS Code.