The leaderboard website displays scores submitted by different players

Overview

leaderboard

The leaderboard website displays scores submitted by different players. It also allows you to submit your score. All data is preserved thanks to the external Leaderboard API service.

screenshot desktop

Features

  • The website display a basic layout which charge dynamically the current score list.
  • The score list can be updated by clicking the "Refresh".
  • New scores can be added using a form by clicking the "Submit" button. It adds the new score automatically to the scores list.
  • A new game is created the first time the page is loaded. The game's information is saved to local storage.
  • All new scores will be added to this latest game.

Built With

  • HTML / SCSS / Javascript / Webpack

Live Demo

Leaderboard

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

  • None

Install

  • Install git on your local computer.
  • Clone this repository to your local computer. Choose the location you prefer.
  • Run the command npm install to install all project's dependencies.

Deployment

  • Run the command line npm run start.
  • The project will automatically open the index.html file in a browser.

Authors

👤 Gabriela Sánchez Espirilla

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

📝 License

This project is MIT licensed.

Comments
  • Morning Session Code Review

    Morning Session Code Review

    Hello @gabyse1 👋🏻

    Your project is really well constructed in the way you handle errors and display personalized messages when the output doesn't match the expected. You did a great job.

    Suggestions

    The only suggestion I want to comment on is here:

    https://github.com/gabyse1/leaderboard/blob/26be843f7f38d401cd8ce6234f52077302be23e3/src/index.js#L51-L52

    • [x] I think you can use .then(response => response.json()) when you're fetching the data instead of await again to parse the response. Since it is a promise, you can handle the data this way for better readability.

    Closing 😸

    Please let me know If you have any questions about my suggestions. We're all here to learn so let's take advantage of different perspectives! Cheers and happy coding! 👨🏻‍💻

    opened by JohnFTitor 2
  • Deploy settings

    Deploy settings

    Changes to the project 😃 🆕

    • Update homepage url and add predeploy and deploy scripts in package.json file.
    • Add ico image format in webpack.config.js file.
    • Add open graph meta tags in index.html file.
    • Update screenshot, favicon, and thumbnail images.
    • Import favicon and thumbnail images in index.js file.
    • Remove the auxiliar index.html file used to redirect the webpage to the dist folder.
    • Update dist folder files.
    • Update the readme file.
    opened by gabyse1 0
  • Add UI

    Add UI

    Changes to the project

    • Add a modal window to create a new game or select an existing one.
    • Add markup for the modal window in the index.html file.
    • Add modal.js file to add functionality to the modal window.
    • Update index.js file to call modal window functions.
    • Update dataBoard.js to display information according to the selected or created game.
    • Update style sheets to add styles for modal window
    opened by gabyse1 0
  • Final touches

    Final touches

    Changes to the project

    • Separate the async functions into a new dataBoard.js file to manage them as methods of class DataBoard.
    • Update index.js file to import the module dataBoard.js and to call to its async functions.
    • Add some styles.
    opened by gabyse1 0
  • Manage API data

    Manage API data

    Changes to the project

    • Create a new game by using the API.
    • Add the Refresh button to retrieve the scores list from the API.
    • Add the form Add new button to save a new score.
    • Use async functions to consume the API.
    opened by gabyse1 0
  • Setup project

    Setup project

    Changes to the project

    • Initialize the project.
    • Create webpack.config.js file.
    • Create the basic markup in the index.html file.
    • Create and add styles to the typography.scss and style.scss.
    • Create index.js file importing the style.scss file.
    opened by gabyse1 0
Owner
Gabriela Sánchez Espirilla
Back-End Developer. Social worker | Passionate about coding, database design, and new challenges | Stack: JavaScript, Python | Looking for my next Job!
Gabriela Sánchez Espirilla
The leaderboard website displays scores submitted by different players. It also allows you to submit your score. All data is preserved thanks to the external Leaderboard API service.

Leaderboard The leaderboard website displays scores submitted by different players. It also allows you to submit your score. All data is preserved tha

Regiss Mukubiza 2 Apr 8, 2022
A leaderboard website that displays scores submitted by different players. It was developed with Javascript, HTML, CSS and the Leaderboard API service was consumed.

LeaderBoard App Description The leaderboard website displays scores submitted by different players. It also allows you to submit your score. All data

Bright Kweku Ahiadeke 6 Jul 25, 2022
The leaderboard website displays scores submitted by different players. It also allows you to submit your score. All data is preserved thanks to the external Leaderboard API service.

Leaderboard- DESCRIPTION The leaderboard website displays scores submitted by different players. It also allows you to submit your score. All data is

Andres Garzon 2 Jun 16, 2022
The leaderboard website displays scores submitted by different players. It also allows you to submit your score. All data is preserved thanks to the external Leaderboard API service. Built with Html, CSS and JavaScript

Leaderboard App ?? Table of Contents ?? About the Project ?? Built With Tech Stack Key Features ?? Live Demo ?? Getting Started Setup Prerequisites In

Tetteh Kodjo-Sarso 4 Mar 21, 2023
The leaderboard website displays scores submitted by different players. It also allows you to submit your score. All data is preserved thanks to the external Leaderboard API service.

Leaderboard ?? Table of Contents ?? About the Project ?? Built With Tech Stack Key Features ?? Live Demo ?? Getting Started Setup Prerequisites Instal

Ritika Rawat 4 Mar 20, 2023
The Leaderboard App displays scores submitted by different players, allows you to submit your score and all data is preserved in the Leaderboard API service.

Leaderboard The Leaderboard App displays scores submitted by different players, allows you to submit your score and all data is preserved in the Leade

Jonathan Kayizzi 6 Nov 9, 2022
A leaderboard website that displays scores submitted by different players.

A leaderboard website that displays scores submitted by different players. It also allows you to submit your score. All data is preserved thanks to the external Leaderboard API service.

Ola Ishola 3 May 2, 2022
The leaderboard website displays scores submitted by different players

The leaderboard website displays scores submitted by different players. It also allows you to submit your score. All data is preserved thanks to the external Leaderboard API service.

Gabriela Sánchez Espirilla 4 Mar 7, 2022
The leaderboard website displays scores submitted by different players

The leaderboard website displays scores submitted by different players. It also allows players to submit their own score. All data is preserved online, thanks to the Leaderboard API service.

Tekle Gebreyohannes 6 Mar 31, 2022
The leaderboard website displays scores submitted by different players. It also allows you to submit your score. All data is preserved thanks to the external API.

Leaderboard The leaderboard website displays scores submitted by different players. It also allows you to submit your score. All data is preserved tha

null 5 Mar 5, 2022
The leaderboard website displays scores submitted by different players.

The leaderboard website displays scores submitted by different players. It also allows you to submit your score. All data is preserved thanks to the external Leaderboard API service.

Francisco Ponce 9 Jul 28, 2022
The leaderboard is website displays scores submitted by different players. It also allows you to submit your score.

Leaderboard The leaderboard is website displays scores submitted by different players. It also allows you to submit your score. Major languages HTML C

Mohammed Elseddik Rebbouh 3 Apr 19, 2022
The leaderboard website displays scores submitted by different players. It also allows you to send and receive data from API. Build with JavaScript, CSS and HTML.

Leadboard The leaderboard website displays scores submitted by different players. It also allows you to submit your score. All data is preserved using

Fatima Ezzahra elmenoun 4 Jan 31, 2022
The leaderboard website displays scores submitted by different players.

The leaderboard website displays scores submitted by different players. It also allows you to submit your score. It preserves all data thanks to the external Leaderboard API service.

Sahar Abdel Samad 16 May 31, 2022
The leaderboard website displays scores submitted by different players.

Leaderboard The leaderboard website displays scores submitted by different players. After clicking submit, the player should click refresh in order to

Virag Kormoczy 12 Nov 26, 2022
This website displays scores submitted by different players. It also allows you to submit your score. All data is preserved thanks to the external Leaderboard API service. Built with Webpack and ES6

Leaderboard This website displays scores submitted by different players. It also allows you to submit your score. All data is preserved thanks to the

Sanja Mandic 9 Sep 30, 2022
The leaderboard website displays scores submitted by different players.

The leaderboard website displays scores submitted by different players. It also allows you to submit your score. All data is preserved thanks to the external Leaderboard API service.

Chris Siku 8 Dec 21, 2022