Git Product home page Git Product logo

js-player's Introduction

Frontend Developer

I have been engaged in coding since 2020. I am a technology enthusiast and a lifelong learner.

  • ๐ŸŒ I'm from Venezuela. Currently living in Buenos Aires, Argentina.
  • โœ‰๏ธย You can contact me at [email protected]
  • ๐Ÿ“Œ Connect with me on LinkedIn

Stats

My CodeWars Stats

CodeWars Stats

My GitHub Stats

zjaaal's GitHub stats

Top Languages

js-player's People

Contributors

dandresfg avatar zjaaal avatar

Stargazers

 avatar

Watchers

 avatar

js-player's Issues

Content

  • Add Album Art content
  • Add fa icons for Album and Artist label
  • Add container class

Content

  • Fix heights in album art cards for responsive design

Create Axios Client

  • Create an instance of Axios
  • Create Artist Endpoints
  • Create Album Endpoint
  • Create Track Endpoint
  • Create Search Endpoint
  • Test Endpoints

Create templates for rendering dynamically

Create functions that works as templates like:

trackTemplate(track){
 return //... your html here
}

so you can consume it in a reduce as:
tracks.reduce((acc, track) => acc + trackTemplate(track),"");

or as an unique template like:
artistHeader.innerHTML = headerTemplate(artist);

Note: Take that as an example an not as a representation of the final result.

API Key exposed

We should revoke that api key and create a secrets.json to store the new API Key.
secrets.json must not be tracked, so we need to include it on .gitignore

Header

  • Add input with magnify icon
  • Add container
  • Replace style="min-height: 50px" with a class

Player

  • Play the music selected
  • Volume controls
  • Next/Prev/Replay controls
  • Random selection (toggle button)
  • Queue list (from album) not visible
  • Auto play the next song when a song ends

if the queue list its over, stop all actions

Fix the GetDuration function

I'ts not returning the properly value for some tracks.

That function just calculates the minutes but not the seconds.

duration / 60 = the integer of this expression is the minutes. Now multiply the decimals by 60 and you get the seconds.

Artists

  • Create mutable list

Take an example of:

<ul class="list">
    <li class="list-item" data-artistId="1">
        <div class="flex grow">
            <div class="list-item-image">
                <img src="path/to/dua" alt="Profile Dua Lipa" />
            </div>
            <div class="flex grow column">
                <p class="title">Dua Lipa</p>
                <p class="subtitle">"5k followers</p>
            </div>
            <div class="flex center">
                <i class="fa fa-more"></i>
            </div>
        </div>
    </li>
</ul>

Assets

  • get static assets for (aside) artist profile images
  • get static assets for (body) cover arts

Artist Page

To-Do

  • Artist info page
  • Most famous tracks
  • Most famous albums
  • Other related artists

After that

  • Display the artist page and hide the others center containers
  • Home button has to hide the artist page

Search Page

  • Add markup for Search Page
  • Add debounce functionality to search bar
  • Add dynamical rendering for search results

Loader

To-Do

  • Display a loader meanwhile is fetching an album
  • Do the same while is fetching the track list

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.