Skip to content

urvishp13/We-Are-The-Champions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

We are the Champions

Do you want to say something positive to a person? Well, lucky for you, the "We are the Champions" web app allows you to do so. Simply type your message, write your name and who you want to address it to, and BAM!, you have written a compliment addressed your intended person on a message board. In addition to writing the message, you can also like it and delete it. (You have the option to like any message but delete only the ones you've written in that browser session.)

Table of contents

Overview

This project is meant to teach how to incorporate a Realtime Database (from Firebase) into a project. This is a Scrimba Frontend Development bootcamp project with many enhancements.

The challenge

Requirements
✅ Build it from "scratch" (using a Figma file)
✅ Follow the design
✅ Utilize Firebase Realtime Database
✅ Update in realtime

Stretch Goals
✅ Add From and To fields
✅ Reverse the order of submitted endorsements
✅ Add liking ability to each endorsement
✅ Make a desktop version

My Additions
✅ Add a delete option to each endorsement
✅ Allow only writer of endorsement to delete it
✅ Make the likes persist across different browser sessions
✅ Change the UI to indicate to the user their liked messages

Screenshot

Desktop view Mobile view

Links

Live site: https://one-community.netlify.app/

My process

Make the MVP work before I get into the "Stretch Goals" and "My Additions". Additionally, work on a focus-by-focus process i.e. work on all things HTML, CSS, and JS related to the form section first, then do all the endorsement related content second.

Built with

HTML, CSS, Vanilla JS, Firebase Realtime Database

What I learned

When writing to an element's innerHTML, everytime it is overwritten, the event listeners previously associated with the elements in it will be removed.

Useful resources

  1. Info on how to prevent event listeners from being cleared on elements

Author

GitHub: https://github.com/urvishp13

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published