Story
As the user, I should be able to create a blog article with a form.
Acceptance Criteria
Given the user wants to create a new blog article
When the user visits the admin/blog.html URL
Then the user should be presented with a form that accepts all required information for a blog article
And the user should see a button to save the article
Given the user has filled out all fields for a new blog article
When the user clicks on the Save button
Then the article should be saved in persistent local storage
Given the user wants to view the new article
When the user visits the /blog URL
Then all articles, including the newly created one should be extracted from local storage, and be presented in descending chronological order
Technical Requirements
- Use
forEach() to display the blog articles instead of a for loop.
- Your directory structure should be modular. Your projects page should be
projects/index.html. Your blog should be blog/index.html. Your resume should be resume/index.html.
- You should still be paginating your blog articles.
Story
As the user, I should be able to create a blog article with a form.
Acceptance Criteria
Given the user wants to create a new blog article
When the user visits the
admin/blog.htmlURLThen the user should be presented with a form that accepts all required information for a blog article
And the user should see a button to save the article
Given the user has filled out all fields for a new blog article
When the user clicks on the
SavebuttonThen the article should be saved in persistent local storage
Given the user wants to view the new article
When the user visits the
/blogURLThen all articles, including the newly created one should be extracted from local storage, and be presented in descending chronological order
Technical Requirements
forEach()to display the blog articles instead of aforloop.projects/index.html. Your blog should beblog/index.html. Your resume should beresume/index.html.