Answered step by step
Verified Expert Solution
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:
- 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: 10Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started