The leaderboard website displays scores submitted by different players

Overview

Leaderboard

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.

Desktop Version

Desktop - Books List Page

Mobile Version

Mobile - Books List Page

Built With

  • HTML, CSS and JavaScript (ES6)

Live Demo

Getting Started

  • Install Node.js ^12.13
  • clone the repository by running
    git clone https://github.com/gtekle/leaderboard.git
  • navigate to the folder
    cd leaderboard
  • Install packages
    npm install
  • To run application using webpack-dev-server
    npm start

Authors

👤 Tekle Gebreyohannes

🤝 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: peer-to-peer code reviews

    Morning session: peer-to-peer code reviews

    Hi @Tekle, We loved your project 💯 and the javascript was very well structured. The code was DRY and you kept it simple. However, there are a few issues to air out in order to improve your project: [Optional]

    • Consider adding the description on the about on the Github repository to help users easily know what your project is all about.
    • To make your code readable, consider using async and await instead of promise in the scores.js.
    • Please validate the name input to accept only alphabetical values on the form.
    opened by Mwapsam 2
  • Add CSS Styling

    Add CSS Styling

    What this PR does

    • Add css styling to improve the look and feel of the application
    • Update README.md file to incorporate snapshot images
    • Update README.md file to incorporate live link
    • Add Press Start 2P Google font.

    How to test it

    • clone the repository by running
      git clone https://github.com/gtekle/leaderboard.git
    • navigate to the folder
      cd leaderboard
    • Install packages
      npm install
    • To run application using webpack-dev-server
      npm start

    Details

    • Sort players in score descending order
    • Add document body background image
    • Add recent scores list section background image and color
    • Add styling to add score section
    • Add styling to main title
    • Add styling to recent scores list
    • Add mobile version layout styling
    • Update README.md file snapshot images and live link sections
    • Fix linter errors
    opened by gtekle 2
  • Add validation to user name form input

    Add validation to user name form input

    What this PR does

    • Add validation for user name form input according to #4
    • Update README.md file live demo section

    How to test it

    • clone the repository by running
      git clone https://github.com/gtekle/leaderboard.git
    • navigate to the folder
      cd leaderboard
    • Install packages
      npm install
    • To run application using webpack-dev-server
      npm start

    Details

    • Add p tag for displaying error messages in the add score form
    • Check for valid user name on form submit and display error message if any
    opened by gtekle 1
  • Leaderboard: Setup project

    Leaderboard: Setup project

    What this PR does

    • Create an npm project with webpack.
    • Add plain HTML markup with minimum styling according to the wireframe design provided.

    How to test it

    • clone the repository by running
      git clone https://github.com/gtekle/leaderboard.git
    • navigate to the folder
      cd leaderboard
    • Install packages
      npm install
    • To run application using webpack-dev-server
      npm start

    Details

    • Add webpack configuration
    • Create src folder, dist folder, index.js file and index.html file
    • Add boilerplate HTML code to index.html
    • Install css-leader and HtmlWebpackPlugin
    • Setup github actions and linters
    • Install babel transform-modules-commonjs plugin
    • First npm run build generated output
    • Add header section to index.html template file
    • Add main section which renders list of recent scores and a form to ad…
    • Add basic styling
    • Refactor code into modules
    • Update README.md file
    • Fix linter errors
    opened by gtekle 1
  • Consume Leaderboard API

    Consume Leaderboard API

    What this PR does

    • Created new game with ID OYxzLGROB4qVtRjyvig5.
    • Fetch (GET) scores on window load event.
    • Fetch (GET) scores on "Refresh" button click and render them.
    • POST new score on form "Submit" event to the Leaderboard API.

    How to test it

    • clone the repository by running
      git clone https://github.com/gtekle/leaderboard.git
    • navigate to the folder
      cd leaderboard
    • Install packages
      npm install
    • To run application using webpack-dev-server
      npm start

    Details

    • Fetch scores from Leaderboard API and render
    • Add new score to Leaderboard API on form submit.
    • Fetch score from Leaderboard API on refresh button click and render
    • Fix linter errors
    opened by gtekle 0
  • Peer to Peer review - 04/ 02 / 21

    Peer to Peer review - 04/ 02 / 21

    Hi @gtekle great work on this project! We love how clean and neat your project is. Great on the mobile view!

    We have a few suggestions:

    • Please transfer your "style files" from the folder "assets" to the "src" folder.
    • To reset the form, it would be better to call the reset() function only on the form instead of the event that calls the event listener to prevent unwanted issues!
    opened by Beardless-sheik 1
Owner
Tekle Gebreyohannes
Full-time student and mentor | Full-Stack Developer | JavaScript | React | Node | Ruby | Java | Express | HTML & CSS
Tekle Gebreyohannes
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