After creating the basic design of the website I was now able to make the nav bar and category sections work. As a result of creating these pages users will be able click on categories such as food and night clubs and will be direct to a separate page where a live feed will focus on just that certain genre. I was able to do this through using code such as ‘<a href=”food.html”>Food</a>’. The href is basically a link to another html page.
I’ve also made some changes to the homepage, as before it included a form where users will be able to post their thoughts. The reason I changed this was because users shouldn’t be able to post on the website before they login.
Now when users press the login button they will be direct to the original homepage where they can post their finds to their heart’s content. At the moment this only works as the login button is essentially separate from the form. When we connect the form to the database and enable users to register they will be able to login and post for real.
I have also created the register page. From hear users will be able to create accounts and eventually post on the website. My idea of having a live feed on pages such as these will have to wait, as getting the PHP correct is essential. Enabling users to resister, sign in and out and post on the website is the next step and the one that will take the longest.