Code Monkey home page Code Monkey logo

leader-board's Introduction

leaderboard

In this activity I seted up a JavaScript project for the Leaderboard list app, using webpack and ES6 features, notably modules, and API.

Built With

  • HTML
  • CSS
  • JavaScript
  • Linters
  • Webpack
  • JSON
  • ES6
  • API

Live Demo

[Anthony's Portfolio](Coming soon...))

Getting Started

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

Prerequisites

  • A browser
  • A version control like git
  • A text editor
  • npm

Setup

  • Clone the repository using the link https://github.com/sonyco-4u/Leader-board.git
  • Navigate to the folder using cd leaderboard
  • Run npm install to install all the dependencies
  • Run npm start to fire a development server

Authors

๐Ÿ‘ค Nicholas Emmanuel

๐Ÿค 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

  • Microverse curriculum

๐Ÿ“ License

This project is MIT licensed.

leader-board's People

Contributors

sonyco-4u avatar

Stargazers

 avatar

Watchers

 avatar

leader-board's Issues

Peer to peer code review 25/10

Hi @sonyco-4u๐Ÿ‘‹๐Ÿ‘‹

Good implementation and design of the project that makes readers understand your code easily but I'll leave you some minor suggestions to make your code even better.

Highlights ๐Ÿ‘๐Ÿ’ฏ๐ŸŒŸ

  • Good use of HTML5 structure
  • Well-structured code
  • Good design and styling

Suggestions

  • The role of the display function and its name look unrelated. I would like the display function to be renamed.
  • Kindly add a folder called modules inside your src modules. Try to add all the js files except for the index.js inside that folder.
  • Kindly create a new folder for your styling files, this will make your project better and more organized.
  • Please try to use Capital Letters in your commits, to follow GitHub best practices.
  • Maybe add modules for the addScore and renderApi to keep the index.js clean.
    const addScore = (e) => {
    e.preventDefault();
    if (!name.value || !score.value) return;
    const scoreData = {
    user: name.value,
    score: score.value,
    };
    postData(scoreData);
    };
    const renderAPI = async () => {
    const fetchData = await fetch(API_URL);
    const data = await fetchData.json();
    displayScore(data.result);
    };

Happy Coding ๐Ÿ’ฏ

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.