Skip to content

Instantly share code, notes, and snippets.

View sandrabosk's full-sized avatar
👩‍💻
Always a student, never a master. Have to keep moving forward. ~C.Hall

Aleksandra Bošković sandrabosk

👩‍💻
Always a student, never a master. Have to keep moving forward. ~C.Hall
  • Ironhack
View GitHub Profile

Checking for understanding - String

  1. Create variables with your first name, last name and age.
  2. Make the first letters of your first and last name capitalized.
  3. Concatenate your first and last name to give your full name.
  4. Use console.log() method to output the sentence with the following structure: My name is _your-fullname_ and I am _____ years old.
// ***********************************************************************************************************************
// https://www.codewars.com/kata/filter-coffee
// You love coffee and want to know what beans you can afford to buy it.
// The first argument to your search function will be a number which represents your budget.
// The second argument will be an array of coffee bean prices.
// Your 'search' function should return the stores that sell coffee within your budget.
// The search function should return a string of prices for the coffees beans you can afford. The prices in this string
// are to be sorted in ascending order.
// ***********************************************************************************************************************
// ***********************************************************************************************************************
// https://www.codewars.com/kata/coding-meetup-number-12-higher-order-functions-series-find-github-admins
// You will be given an array of objects representing data about developers who have signed up to attend the next coding
// meetup that you are organizing.
// Given the following input array:
// var list1 = [
// { firstName: 'Harry', lastName: 'K.', country: 'Brazil', continent: 'Americas', age: 22, language: 'JavaScript', githubAdmin: 'yes' },
// { firstName: 'Kseniya', lastName: 'T.', country: 'Belarus', continent: 'Europe', age: 49, language: 'Ruby', githubAdmin: 'no' },
// ***********************************************************************************************************************
// https://www.codewars.com/kata/coding-meetup-number-6-higher-order-functions-series-can-they-code-in-the-same-language
// You will be given an array of objects (associative arrays in PHP) representing data about developers who have signed up to attend the next coding meetup that you are organising.
// Your task is to return either:
// true if all developers in the list code in the same language; or
// false otherwise.
// For example, given the following input array:
// var list1 = [
// ***********************************************************************************************************************
// https://www.codewars.com/kata/coding-meetup-number-4-higher-order-functions-series-find-the-first-python-developer
// You will be given an array of objects (associative arrays in PHP) representing data about developers who have
// signed up to attend the next coding meetup that you are organizing. The list is ordered according to who
// signed up first.
// Your task is to return one of the following strings:
// < firstName here >, < country here > of the first Python developer who has signed up; or
// There will be no Python developers if no Python developer has signed up.
// ***********************************************************************************************************************
// https://www.codewars.com/kata/coding-meetup-number-3-higher-order-functions-series-is-ruby-coming
// You will be given an array of objects (associative arrays in PHP) representing data about
// developers who have signed up to attend the next coding meetup that you are organizing.
// Your task is to return:
// true if at least one Ruby developer has signed up; or
// false if there will be no Ruby developers.
// ***********************************************************************************************************************
// https://www.codewars.com/kata/coding-meetup-number-2-higher-order-functions-series-greet-developers
// You will be given an array of objects (associative arrays in PHP) representing data
// about developers who have signed up to attend the next coding meetup that you are
// organizing.
// Your task is to return an array where each object will have a new property
// 'greeting' with the following string value:
// Hi < firstName here >, what do you like the most about < language here >?
// ************************************************************************************
// https://www.codewars.com/kata/582746fa14b3892727000c4f/javascript
// You will be given an array of objects (hashes in ruby) representing data about
// developers who have signed up to attend the coding meetup that you are organizing
// for the first time.
// Your task is to return the number of JavaScript developers coming from Europe.
// For example, given the following list, your function should return number 1:

logo_ironhack_blue 7

React | Ant Design UI components

Learning goals

After this lesson you will be able to:

  • explain what a component library is and what makes it different from a style library,
  • add and configure a component library,
// ************************************************************************************
// https://www.codewars.com/kata/554ca54ffa7d91b236000023/javascript
// Alice and Bob were on a holiday. Both of them took many pictures of the places
// they've been, and now they want to show Charlie their entire collection.
// However, Charlie doesn't like this sessions, since the motive usually repeats.
// He isn't fond of seeing the Eiffel tower 40 times. He tells them that he will
// only sit during the session if they show the same motive at most N times.
// Luckily, Alice and Bob are able to encode the motive as a number.
// Can you help them to remove numbers such that their list contains each number