Help! The information is not displaying correctly (Avengers Character Search) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Help! The information is not displaying correctly (Avengers Character Search)

I want to look up any Superhero by typing their name or alias into the textfield and retrieve only that superhero OR leave the text field blank and when I click search, it should return the original list of superheroes: Captain America Ironman Spider-Man etc… However, when I click search it’s showing everything in the PHP file, even the closing tags. Can someone help me please? I’d really appreciate it. https://code.sololearn.com/WGKTeL1GY69H/?ref=app

6th Nov 2022, 8:50 AM
Triz
Triz - avatar
1 Answer
+ 1
The result for a superhero that is found should be like this: CAPTAIN AMERICA AKA STEVE ROGERS Recipient of the Super-soldier serum…
6th Nov 2022, 8:50 AM
Triz
Triz - avatar