Skip to content

rachelb36/personal_blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Challenge 4: Web APIs Challenge: Personal Blog

Description

  • Personal blog website
  • user has the option of choosing light or dark mode
  • all fields are checked with JavaScript to ensure all fields are filled out
  • user completes all blog form input text boxes and text area
  • When the user clicks "save", all input values are saved to the blogPost array in localStorage, which may contain previous object array values
  • Browser calls a second web page, blog.html, which outputs the current blog post and any previous ones that have been saved to localStorage
  • Functionality to toggle between light and dark mode is also on this page
  • Link under blog posts provided, which takes the user to my portfolio

Tasks completed

  • created index.html, the blogpost homepage with HTML and styled with CSS
  • enabled light/dark toggle switch CSS and HTML to allow user to choose between screens
  • Once "save" button is clicked javascript is used to save form input values to localStorage and then redirects to the blog.html. The page loads any posts that were saved previously, if any and the current blog post. Posts are listed with newest posts on top.
  • When user clicks "back" button they are redirected back to the index.html page where the form has been cleared.

Installation

To run this project, navigate to:

To view project, navigate to view the personal blog

Usage

blog1_light blog1_dark blog2_light blog2_dark

Built With

  • JavaScript
  • CSS
  • HTML

Credits

This projectw was accomplished with the help provided by the instructors and TAs of the Rice University Coding Bootcamp, including Mateo Wallace, Mark Alfano, Gerard Mennella

Additional resources include:

License

Distributed under the MIT License. See LICENSE.txt for more information.

About

Challenge 4: Web APIs Challenge: Personal Blog

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published