Skip to content

separate your functions in different files #34

@abdhalees

Description

@abdhalees

It's always better to make separate files for functions you might use more than once, in https://github.com/FACG2/getGitHub/blob/master/public/js/index.js#L41 you are making a post http request from the same file you are manipulating the dom.
Maybe it's better to make a request.js file with a function that has 2 arguments for the url and the method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions