Skip to content

A thingy to load up a GIF for copying to the clipboard, so you can paste it in a chat.

Notifications You must be signed in to change notification settings

andyglover/gif-thingy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GIF Thingy

A thingy to load up a GIF for copying to the clipboard, so you can paste it in a chat. My friend mentioned something like this would be cool when I told him I was learning javascript, and so I built it!

Link to project: https://www.andyglover.io/gif-thingy/

Thumbnail

How It's Made:

Tech used: HTML, CSS, JavaScript

You can fork this! How to use it:

  1. Put your GIFs in the "gifs" directory
  2. Type the name of the .GIF you want to load (without the extension) into the form on index.html.
  3. Click enter and your GIF appears on the page!

Optimizations

I'd like to learn how to make this project detect what GIF files are present in the directory, and then display thumbnails of them on the page.

Lessons Learned:

This project gave me some good practice with:

  • Arrow functions
  • Event listeners
  • Setting attributes
  • Template literals
  • Query selectors
  • Form submit and the preventDefault function

Examples:

Here's a few more repositories of mine you might like to check out:

Admin Dashboard: https://github.com/andyglover/odin-project-admin-dashboard

Calculator: https://github.com/andyglover/odin-calculator

Library: https://github.com/andyglover/odin-project-library

Restaurant: https://github.com/andyglover/odin-project-restaurant

Rock Paper Scissors: https://github.com/andyglover/odin-rock-paper-scissors

Tic-Tac-Toe: https://github.com/andyglover/odin-project-tictactoe

About

A thingy to load up a GIF for copying to the clipboard, so you can paste it in a chat.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published