Git Product home page Git Product logo

ctci-6th-edition's Introduction

function presentation() {
  return {
    name: "Pablo",
    lastName: "Garay",
    age: 35,
    from: "Argentina",
    occupation: "Full Stack Developer" 
  }
}

function skills() {
  return {
    backEnd: [
      "Node.js",
      "Express",
      "Nestjs",
      "GraphQL",
      "Sequelize",
      "typeORM",
      "Postgres",
      "mySQL"
    ],
    frontEnd: [
      "HTML",
      "CSS",
      "React",
      "Nextjs",
      "Typescript",
      "Redux"
    ]
  }
}

function hobbies() {
  return "🎮 gammer, 🎥 cinefilo, 🏍️ motorcyclist";
}

function hola(language) {
  let me = presentation();
  let mySkills = skills();
  let myHobbies = hobbies();
  
  language === "eng" 
  ? console.log(`Hello there 😀 my name is ${me.name} ${me.lastName}, i´m ${me.age} years old, i´m from ${me.from} and i´m ${me.occupation}. My hobbies are: ${myHobbies}. Some of my skills are: `)
  : console.log(`Hola 😀 mi nombre es ${me.name} ${me.lastName}, tengo ${me.age} años, soy de ${me.from} y soy ${me.occupation}. Mis hobbies son: ${myHobbies}. Algunas de mis habilidades son: `);
  
  console.table(mySkills)
}

// Copy and paste this line in ur console(F12) or right-click, select inspect and in the window that opens select console.
const english = hola("eng");
// Copia y pega estas lineas en tu consola(F12) o haz click con el boton secundario, selecciona inspeccionar y en la ventana que se abre consola.
const español = hola("esp");

ctci-6th-edition's People

Contributors

aristarkhov avatar asaph avatar chalin avatar dawsbot avatar esterl avatar gaylelaakmann avatar gaylemcd avatar john0xff avatar krishmunot avatar kv-kunalvyas avatar leeorengel avatar mandliya avatar mmermerkaya avatar ndavon avatar niravrshah avatar nsluss avatar voluong avatar zacharydenton avatar

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.