Basic Blog – Web Development

Okay! Unit 3 homework. We’ve only got to do 1 thing in this homework, and it is build a blog. [Chuckle] Specifically, we want a front page that lists your entries– it doesn’t need to list all of the entries, but it should list at least the 10 most recent or so– a form to submit new blog entries–this needs to check for errors to make sure both fields–a title and a blog body–are present, and if it is successful, it should redirect to a permalink page for the entries. This is just–a permalink is just a link to a specific entry. And that’s that! Let me give you a demo of what I’m expecting. Here is This is a blog I’ve made. I only have 1 entry, and in this particular case, it’s just “The Raven”. We can go to /newpost if we want to enter a new post. I can type in a title. If I were to submit this form without a body, I would get an error message that requests both a title and a body, and if I were to click submit with a title and a body, I would get redirected to the permalink page, which just appears at some URL. And we can see my title and the body, and I can go back to the front page–/blog–and see, in my particular case, the 10 most recent entries. So, this is what I’d like you to build. We’ve got more details in the description for this homework in terms of form parameters and all of the redirection handling things we’re expecting, and when you’re done, submit the URL of your blog here. Okay! Good luck!

Add a Comment

Your email address will not be published. Required fields are marked *