Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Enter "hello" ( hello )

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Enter "hello" ( hello )

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Enter "hello" ( hello )

Have an account? Sign In Now

Please type your username.

Please type your E-Mail.

Please choose an appropriate title for the question so it can be answered easily.

Please choose the appropriate section so the question can be searched easily.

Please choose suitable Keywords Ex: question, poll.

Browse
Type the description thoroughly and in details.

Choose from here the video type.

Put Video ID here: https://www.youtube.com/watch?v=sdUUx5FdySs Ex: "sdUUx5FdySs".

Enter "hello" ( hello )

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

IT Community and Answers

IT Community and Answers Logo IT Community and Answers Logo

IT Community and Answers Navigation

Search
Ask A Question

Mobile menu

Close
Ask a Question
You can use WP menu builder to build menus
Home/ Questions/Q 4445
Next
john_t
john_tEnlightened
Asked: September 1, 20212021-09-01T22:27:48+00:00 2021-09-01T22:27:48+00:00In: Codewars solutions and discussions

Dana White needs your help… Can you help the UFC?.js

/*

Ring Ring… Ring Ring…

You: “Hello?”

Dana: “Hey! It’s Dana White, President of the UFC! I’ve got an emergency… Can you help?”

You: “What?! Me?! I’m just an awesome developer, I know nothing about MMA..”

Dana: “It’s Bruce Buffer, our ring announcer, he’s caught a bad case of flu and can’t attend tonight’s main event. It’s such short notice that we can’t find another annoucer, so can you write some code that will do the annoucing for us?”

You: “Shiiiiiit! I guess so?!”

Dana: “Awesome! I will email you the brief”

Click…

Email From: dana@ufc.com

Subject: Annoucer Brief

Hey,

Thanks again for helping!

Please can you write a function that creates a fighter. This function will be our template for all the fighters fighting on tonight’s card.

Each fighter has 4 key details: their name, weight, fighting style, and corner. These will be passed as arguments to the function.

You will need to create a ‘profile’ function within the fighter function that can be called. This will return a string that announces the fighter’s corner, their name, their fighting style, then their weight.

For example: In the blue corner! We have Conor McGregor, a fighter specializing in striking, weighing in at 155lbs!

We are counting on you!

Thanks,

Dana White UFC President

*/

function fighter (name, weight, fightingStyle, corner) {

return `In the ${corner} corner! We have ${name}, a fighter specializing in ${fightingStyle}, weighing in at ${weight}lbs!`

}

Related Questions and Answers:

  • Do something "n.times" (Simplifying "for" loops).js
  • Climb Time - Can you send it?.js
  • For UFC Fans (Total Beginners): Conor McGregor vs George Saint Pierre.js
  • A wolf in sheep's clothing.js
  • To create a tag implementation plan, what are the recommended guidelines?
  • 0
  • 0 0 Answers
  • 5 Views
  • 0 Followers
  • 0
Answer
Share
  • Facebook
  • Report
Leave an answer

Leave an answer
Cancel reply

Browse
Enter "hello" ( hello )

Sidebar

Ask A Question

Stats

  • Questions 778
  • Answers 10
  • Best Answers 8
  • Users 2
  • Popular
  • Answers
  • Anonymous

    Logical calculator Codewars JS 8 kyu

    • 2 Answers
  • Anonymous

    Reversed sequence javascript codewars 8 kyu

    • 2 Answers
  • john_t

    Are arrow functions odd?.js

    • 1 Answer
  • john_t
    john_t added an answer function odds(values){ return values.filter(values => values % 2 != 0);… September 12, 2021 at 6:29 pm
  • john_t
    john_t added an answer function toCsvText(array) { return array.join('\n'); } https://www.codewars.com/kata/5a34af40e1ce0eb1f5000036/train/javascript September 12, 2021 at 6:20 pm
  • john_t
    john_t added an answer function solution(a, b){ return a.length < b.length ? a +… September 7, 2021 at 8:04 pm

Related Questions

  • Anonymous

    Short Long Short codewars js

    • 1 Answer
  • john_t

    Fuel Calculator.js

    • 0 Answers
  • john_t

    Freudian translator.js

    • 0 Answers

Top Members

john_t

john_t

  • 774 Questions
  • 55k Points
Enlightened
Jacob

Jacob

  • 1 Question
  • 21 Points
Begginer

Trending Tags

codewars codewars js 8 kyu codewars kata codewars kata solution codewars solutions data studio ga individual qualification exam answers google ads Google Analytics Individual Qualification google analytics individual qualification exam answers javascript js Segment Conversion Type Name

Explore

  • Questions
    • New Questions

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.