I am brand new to the world of UI design. I am encountering an issue with a static HTML page.
(Please note that we are not utilizing any JavaScript frameworks in my project. Please provide assistance using pure JavaScript code)
What I would like to achieve is as follows: - When clicking on YAHOO, it should turn orange while Google and Bing remain white - When clicking on GOOGLE, it should turn orange while Yahoo and Bing stay white - When clicking on BING, it should turn orange while Yahoo and Google stay white
1) In my HTML page, I have multiple links, such as:
<a href="www.yahoo.com">Yahoo</a>
<a href="www.google.com">Google</a>
<a href="www.bing.com">Bing</a>
2) I have a CSS file that includes the following:
a {text-decoration: none}
a:link, a:visited {text-decoration: none;color: white;}
a:hover {text-decoration: none; color: #FF9900;}