-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I also want to do one #9
Comments
Hello @FourEyebrowXiake, thank you for your interest in easter-egg-collection. All of the easter eggs trigger by typing related keywords, and the GIF image will generate dynamically through var record = function(e) {
if ( e.which === key[ck] ) {
ck++;
} else {
ck = 0;
}
if ( ck >= max ) {
ghost();
ck = 0;
}
}; When the typing words by user match to the keyword (''ghost"), the Last but not least, you can even build your own library with vanilla JavaScript code in the same way. 😄 Btw, easter-eggs-mobile also a collection which includes lots of easter eggs but much more focus on mobile device. |
Now know vanilla-js is javascript 🤣 |
How these effects are achieved
Just use js ?
The text was updated successfully, but these errors were encountered: