Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Task: We are going to list a number of characters and their Damage and HP values using JavaScript in CodePen. The catch is, we are

Task: We are going to list a number of characters and their Damage and HP values using JavaScript in CodePen. The catch is, we are only going to list the GOOD ones. We do not want no dinky characters fighting our dragon here in the future.

Example here:

image text in transcribed

  • List through a set of characters (you are not given the set of characters for the sake of this assignment). Assume this set of characters was already put into the program.
  • Only display characters that have
    • 10 or more health (number)
    • deal 2 or more damage (number)
    • and are a warrior (true/false)
    • If the character has the letter "A" in it, make the text red

Use THIS LINK (https://codepen.io/joker_jonesy/pen/GbEmRx) to grab the array you will use in your application.

Name: Bob Damage: 2 Health: 10

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Temporal Databases Research And Practice Lncs 1399

Authors: Opher Etzion ,Sushil Jajodia ,Suryanarayana Sripada

1st Edition

3540645195, 978-3540645191

More Books

Students also viewed these Databases questions

Question

Select suitable tools to analyze service problems.

Answered: 1 week ago