html and CSS coding of navigation elements, Home, About, Contact... came out fine when ran on local browser, challenge is i used DOM get and create to prepare the click values of each but on click of each of home, contact... nothing happened! planning to try the following tell me if i am right or help me to the track: create a page each for Home, Contact About... saved Thus about.html, index.html for home contact.html in the html code replace the # in the href with the respective file names thus: <li><a href="about.html">About</a></li> etc is this right to fix my challenge? thanks.

Recommended Answers

All 2 Replies

Member Avatar

Perhaps it would be an idea to post your relevant code. Your description isn't very helpful.

ok. html code
<li><a href="#">Home</a ></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.