Skip to content

mkatile/Personal-Blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Personal-Blog

Description

In this challenge, I will be creating a two-page website where users will input and view blog posts. It includes building a content form, dynamically rendering blog posts, and implementing a light/dark mode toggle.

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 submit the form, THEN blog post data is stored to localStorage. WHEN the form submits, THEN I am redirected to the posts page. WHEN I enter 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 view the posts page, THEN I am presented with a header, with 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 localStorage. WHEN I view localStorage, 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. WHEN I view the footer, THEN I am presented with a link to the developer's portfolio.

Screenchots

<img width="1018" alt="Screen Shot Screen Shot 2024-08-20 at 8 46 58 PM 2024-08-20 at 8 38 37 PM" src="https://giScreen Shot 2024-08-20 at 8 47 54 PM thub.com/user-attachments/assets/fScreen Shot 2024-08-20 at 8 46 19 PM 9cdd7c2-beb3-4d1b-ab5b-fa2aa88c8614">

Mock-up

mock-up.mp4

Deployment link

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published