Author's Photo

FAMA HARBUNOU

Junior JS / Frontend Developer


Experience

Well, I've made a few websites and some photoshop projects.
Oh, I also have made a Space-Invader-like game with PyGame library.

Skills

Projects

None really, yet.
But here's a code example:

                
⁄⁄function that counts letters in strings

function count(string) {
  let obj = {};
  for (ch of string) {
    obj[ch] ? obj[ch]++ : obj[ch] = 1;
  }
  return obj;
}


⁄⁄function that converts rgb to hex

function rgb(r, g, b) {
  return [r, g, b].map(v => {
    if (v > 255) return 255;
    if (v < 0) return 0;
    return v;
  })
  .map(v => v.toString(16))
  .map(v => v.length == 1 ? '0' + v : v)
  .reduce((v, res) => v + res, '')
  .toUpperCase();
}
                
            

About Me

Education

Interests