Welcome to Animation Nation, a fun and creative project by the ZTM Community! 🎉
This repository is a space where developers of all levels, especially beginners,
can contribute, showcase their creativity.
Whether you're a seasoned developer or writing your first line of code,
we'd love to see your animated artwork using only HTML and CSS
Important
no JavaScript or images or SVG allowed!
- Gain GitHub experience by contributing to open-source repositories.
- Join a supportive community where you can share your creativity and get feedbacks in our Discord.
- Enhance your skills in HTML and CSS while learning GitHub workflows.
Create an animation using CSS and HTML only (no JavaScript, no SVG).
A CSS animation refers to the css rule animation
.
The purpose is to display a creative and looping animation
( alike animation in GIFs )
- the animation should be looping
- the animation should not require any user interaction ( click, hover, etc ... )
An animation should not be:
- a form,
- a portfolio,
- a button to click on,
- a landing page, etc... ( which are elements requiring user interaction )
Here is an example of an expected animation:
We keep things simple! Here are the rules for contributing:
- Use HTML and CSS only. No JavaScript. No Images/SVGs.
- Your project must include at least one animation.
- Don't copy work from others. Make sure your code is original so you can showcase your own skills.
Tip
📌 Don't worry if it's your first time contributing—below,
we've got detailed steps and resources to help you get started!
💡 Quick overview of the Development Workflow
- Fork the repo to your GitHub account.
- Clone your fork to your local machine.
- Create a branch, you should not be working in the main/master branch
- Create a new directory in the Art directory. Naming it <your_github_username>-<your_arts_name>
- Create your animated HTML and CSS artwork.
- Pull down recent changes
- Submit a pull request (PR) with your animated artwork Ensure to review yourself in Github during your PR submission before definitely submitting your PR
- OPTIONAL Tweet about making your first Hacktoberfest pull request, and you're done! 🎉
If you're new to GitHub, no worries!
Forking a repository means creating a copy
of this project under your GitHub account.
Check out these beginner-friendly resources for more help:
Once you've forked the repo, clone it to your local machine
so you can work on it.
Use this command:
git clone https://github.com/<your-github-username>/Animation-Nation.git
Create a new branch from master
or main
Working in the master
or main
branch is often frowned upon
and are usually expected to branch off. Branching also helps
to reduce the chance of a merge conflict.
Now for the fun part! Inside the Art/
folder:
Warning
It is important to name the directory and your files exactly as mentioned
Note
Per contribution folder: it should have only 3 files [ index.html
, styles.css
, meta.json
]
- Create a new directory named:
<github_username>-<art_name>
eg.mattcsmith-helloworld
. - Inside your folder, create an
index.html
file - Inside your folder, create an
styles.css
file - Inside your folder, create an
meta.json
file
to specify your art name, github author and github link
Note:- copy the following snippet ( without the comment )
- and replace only the values with your own details.
- Do not change the JSON keys
// Example
{
"artName": "triangle",
"githubHandle": "mattcsmith"
}
🎉 Use these to create your animated artwork — let your creativity flow!
After completing your artwork, you are now ready to create
a pull request and have it added to the collection.
Remembering
- to first pull down the recent changes from to the upstream,
- commit your changes,
- push them to your forked repo,
and submit a PR.
If you're unfamiliar with pull requests, check out the following resources
or drop a message in the Hacktoberfest channel on Discord. - Creating a Pull Request
- Aldo's Contributing to Github video
Optionally you can Tweet about making your first Hacktoberfest pull request on X
- You can contribute multiple animations, just create
a new directory with your<github_username>-<art_name>
- Ensure to have the 3 required files
- Ensure that you have not modified any other file outside of your own directory
- Ensure that your directory includes an
index.html
andstyles.css
,
these exact names are important. - Do NOT include any images, SVG's or other files.
Optimized images will be generate automatically
to keep the repository at a manageable size.
For maintenance reasons:
-
Keep checking regularly your pull requests to address provided reviews
Reviewers will take time to check PRs, provide reviews and handle all
the repository PRs. -
After a while of no activity after a reviewer gave you reviews:
- a label
stale
could be set - and/or the PR could be closed
- a label
We encourage everyone to share their progress,
ask for help, or discuss ideas in the ZTM Discord community.
We're here to support you!
Ready? Let’s make some amazing CSS animations together! 🚀