#A more dynamic blog
What's this static html files all about, you ask? How on earth am I suppose to blog from my cellphone? Have you ever tried to create an html file from your phone? If so, good for you!
Let’s change this… Now create a dynamic blog! Instead of blogging directly in HTML files, let's create blog entries using an HTML Form.
The form should allow you to add a heading for your blog post and a place to write your post. When you're done writing your post you should be able to press a button that stores your blog post, and it should take you to the home screen which lists all the posts.
For starters, store your blog posts locally in the browser using Javascript & JQuery (using HTML5’s localStorage support). Figure out how to see the entries in the localStorage using Chrome & Firefox. You will need to figure out how to loop through entries stored in localStorage and store display them on screen. If you
Ok let’s stand back and take a look at what you should have by now. Your new dynamic blog started out blank, with just an Add Blog Entry button. After clicking that button a few times and adding some Blog entries your blogs home page should contain a few blog entries. These entries are very caged in - they only live in your browser. You are using localStorage after all. But the benefit is that you can write blog entries when you are not connected to the internet. That’s localStorage for you.
After doing a bit of a victory dance let the world know what you are up to, I am afraid you will have to use your old static blog for this still as your new dynamic blog got no global conscience yet. Tell your audience to be patient and to stay tuned.
##Acceptance Criteria: * You can add entries to your blog using an HTML form * The dynamically created blog entries are listed on your blogs home page * Your blog entries are stored locally in your browser * You've written a blog entry about localStorage, Javascript & JQuery * You tweeted your blog entry using the hashtag #builtbycodeX and #codetowork