Podróżownik

I created this project for course in my studies called "Team programming". Main goal of this project was to connect travelers all around the world by allowing them to travel together.

I was doing it with my 5 other colleagues (Damian Kokot, Wojciech Wróblewski, Marcin Szadkowski, Szymon Skoczylas and Bartłomiej Ratajczak).

Here's a photo of main page.

podrozownik-img
      
  function getBalance() {
    let wallet_state = wallet.innerHTML.replace('$', '');
    if (balance.innerHTML.replace('$', '') == "----") {
        const previousBalance = 0
    }
    else {
        const previousBalance = balance.innerHTML.replace('$', '');
    }
    const balanceState = Number(wallet_state) + totalStockValues
    balance.innerHTML = `${balanceState.toFixed(2)}$`;

    if (previousBalance <= balanceState) {
        balanceArrow.classList.replace('fa-angle-double-down', 'fa-angle-double-up');
        balanceArrow.classList.replace('arrow-down', 'arrow-up');
    } else {
        balanceArrow.classList.replace('fa-angle-double-up', 'fa-angle-double-down');
        balanceArrow.classList.replace('arrow-up', 'arrow-down');
    }
  }
      
    
LinkedIn Facebook Website

© 2021 Karol Olszański.