Skip to content

jaornelas/web-api-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

web-api-challenge

Learning how to traverse the DOM and calling objects using built-in web API's

User Story

AS A marketing student
I WANT a personal blog
SO THAT I can showcase my thoughts and experiences.

Acceptance Criteria

GIVEN a personal blog
WHEN I load the app
THEN I am presented with the landing page containing a form with labels and inputs for username, blog title, and blog content
WHEN I try to submit a form without a username, title, or content
THEN I am presented with a message that prompts me to complete the form.
WHEN I submit the form
THEN blog post data is stored to local storage
WHEN the form submits
THEN I am redirected to the posts page
WHEN I view the posts page
THEN I am presented with a header, a light mode/dark mode toggle, and a "Back" button
WHEN I click the light mode/dark mode toggle
THEN the page content's styles update to reflect the selection
WHEN I click the "Back" button
THEN I am redirected back to the landing page where I can input more blog entries
WHEN I view the main content
THEN I am presented with a list of blog posts that are pulled from local storage
WHEN I view local storage
THEN I am presented with a JSON array of blog post objects, each including the post author's username, title of the post, and post's content
WHEN I take a closer look at a single blog entry in the list
THEN I can see the title, the content, and the author of the post

About

Learning how to traverse the DOM and calling objects using built-in web API's

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors