+ 2

Navigation Bar Complete -How to link pages ?

Hello ,I’m am very new to coding so forgive me if I’m not making much sense .I just completed creating my navigation bar but now how do I add content when the user clicks on “About” , “Gallery” ,”Contact”? Would this part still use HTML and CSS or other programming languages are required ? Should I create a separate HTML filer for every page (About ,Gallery ,Contact) and add the content and then link it to the main file index.html ? Any help will be much appreciated !

17th Aug 2018, 9:24 PM
ninjagirldraws
ninjagirldraws - avatar
1 Antwort
+ 2
The specific architecture is up to you. You can use the anchors to link to separate HTML files or you can put all the sections into a single HTML file and use CSS to create separate page-like experience for each section, or something else entirely. You have quite a few options here, even without JavaScript. A couple of rough ideas here, just as examples: https://code.sololearn.com/WOp2LwlbaUzs/?ref=app https://code.sololearn.com/WN8Yrr1XU9v6/?ref=app I encourage you to find the Code Playground in SoloLearn (curly braces in the app, green circle with plus sign in the lower right to add a project, then pick Web for the project type) and try out your ideas there. That way, if you run into specific issues, you can just link the project here so we can look under the hood.
17th Aug 2018, 9:35 PM
Janning⭐
Janning⭐ - avatar