Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

You will be given html code. Write a javascript file that changes the color of the cotainer class bar to red if there is any text in the html file that reads: FarRight, Right, LeanRight. Change the...

1 answer below »
You will be given html code. Write a javascript file that changes the color of the cotainer class bar to red if there is any text in the html file that reads: FarRight, Right, LeanRight. Change the container to display blue if there is text on the page that reads: LeanLeft, Left, FarLeft. Gray if there is any text on the page that reads Undetermined or Neutral. Javascript file needs to be able to scan the entire document. Any text in any tag, not just p tags. Need by 11:59PM 3/22
Answered Same Day Mar 22, 2021

Solution

Neha answered on Mar 22 2021
131 Votes
Blue/Red Ba



        
            Lean Left
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here