Write a javascript program that searches and matches user input to JSON file content. Example: Json File User types "Inf
Posted: Fri Jul 08, 2022 6:43 am
Write a javascript program that searches and matches user inputto JSON file content.
Example:
Json File
User types "Inferno"
Program output then displays:
Your superhero is : Eternal Flame
age: 1000000
secret Identity: Unknown
powers: [ "Immortality", "Heat Immunity", "Inferno","Teleportation", "Interdimensional travel" ]
The program should be able to take in multiple user inputs andproduce the correct output.
Example:
Json File
User types "Inferno"
Program output then displays:
Your superhero is : Eternal Flame
age: 1000000
secret Identity: Unknown
powers: [ "Immortality", "Heat Immunity", "Inferno","Teleportation", "Interdimensional travel" ]
The program should be able to take in multiple user inputs andproduce the correct output.