In this project I'll use Asynchronous Javascript to call an API and set the leaderboard of the best players.

Overview

Leaderboard Project

In this project I'll use Asynchronous Javascript to call an API and set the leaderboard of the best players. The main goals of this project are:

  • Use callbacks and promises.
  • Learn how to use proper ES6 syntax.
  • Use ES6 modules to write modular JavaScript.
  • Use webpack to bundle JavaScript.

Built With

  • JavaScript
  • API
  • HTML and CSS

Live Demo

Live Version

Getting Started

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

Prerequisites

For this project you must have node.js installed.

Setup

Run in the directory where you want to clone the repo:

git clone [email protected]:OscarFMdev/leaderboardProject.git

Install

Yo should install the node modules by running:

npm install

Usage

This project communicates with an API to show the Leaderboard, the user (you) can put the name of the leader and the score in the input.

Deployment

After cloning the repository you must use npm start to see live version.

Authors

👤 Oacar Fernández Muñoz

🤝 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

I want ot thank the leaderboard API service for helping me develop this project by the use of the API.

📝 License

This project is MIT licensed.

You might also like...

A leaderboard created using Leaderboard API service, Webpack, and Gitflow. The user can add a new score and refresh to see his ranking in the leaderboard.

Leaderboard A leaderboard created using Leaderboard API service, webpack, and gitflow. The user can add a new score and refresh to see his ranking in

Dec 26, 2022

JavaScript project for the Leaderboard list app, using Webpack and ES6 features, notably modules. this app consume the Leaderboard API using JavaScript async and await and add some styling.

Leaderboard Project JavaScript project for the Leaderboard list app, using Webpack and ES6 features, notably modules. this app consume the Leaderboard

May 20, 2022

The leaderboard website displays scores submitted by different players. It also allows you to submit your score. I created this project using ES6 concepts. I connected to the Leadboard API service

Leaderboard App The leaderboard website displays scores submitted by different players. It also allows you to submit your score I created this project

Dec 21, 2022

An IoT bottle that tracks water consumption. Winner of Best Health Hack, MLH's Best Hardware Hack, and QB3's Best Big Data for the Improvement of Health Care Winner at CruzHacks 2022.

An IoT bottle that tracks water consumption. Winner of Best Health Hack, MLH's Best Hardware Hack, and QB3's Best Big Data for the Improvement of Health Care Winner at CruzHacks 2022.

An IoT bottle that tracks water consumption. Winner of Best Health Hack, MLH's Best Hardware Hack, and QB3's Best Big Data for the Improvement of Health Care Winner at CruzHacks 2022.

Jan 21, 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.

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

Jan 31, 2022

Leaderboard - An app that outputs the names and the score of the players and it uses API's to get all the informations

leaderboard is an app that outputs the names and the score of the players and it uses API's to get all the informations.

Jul 8, 2022

This application lists the scores of players of a certain game (determined by the user), in this app the Leaderboard REST API is used, where the participants and their scores are registered.

Leaderboard this application lists the scores of players of a certain game (determined by the user), in this app the Leaderboard REST API is used, whe

Jul 29, 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

Sep 30, 2022
Comments
  • Api connection

    Api connection

    PR description: 📝

    In this new feature I:

    • Created a connection to the leaderboard API. 🔗
    • Added a function to display the top 10 leaders. 🏆
    • Added a post functionality using the user input. 💾

    Thank you for reviewing my code! 🙌

    opened by OscarFMdev 1
  • Setup project

    Setup project

    PR description:

    In this branch I:

    • Added the project low fidelity wireframe. 📑
    • Added a JavaScript function to simulate user data input. 💻

    Thanks for reviewing my code! 🙌

    opened by OscarFMdev 1
  • Issues

    Issues

    Great job so far 🎉, but there is still space for improvements, and they can be the followings:

    • console.log has been spotted in the code, and it is not one of the best practices to have them.
    • if you inputted very big numbers, the number will change.
    • for simplicity, you can remove the classes for odd and even, and use plane CSS functions.
    • don't use static ID for the API.

    Happy Coding and good luck 💯 .

    opened by Mhamad-Raad 0
  • Final touches

    Final touches

    PR description:

    In this branch I:

    • Gave styles to the webpage. 🎨
    • Connected another API for getting random quotes. 🔗

    Thank you for reviewing my code! 🙌

    opened by OscarFMdev 0
Owner
Oscar Fernández Muñoz
Full-Stack Developer who enjoys working with React and Node, meeting new people, and dancing. Currently looking for new opportunities.
Oscar Fernández Muñoz
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. Build with Html, CSS, JS, API, and Webpack.

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. Build with Html, CSS, JS, API, and Webpack.

Kyrillos Hany 9 Mar 11, 2022
Clinton Mbonu 20 Jun 30, 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. 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 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
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

Jihane Haddad 5 Feb 10, 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 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
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.

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