A responsive website for Momma's Craft Cottage, a craft retreat venue located in Brown County, Indiana. This site features the story of the for this craft retreat venue, a gallery of pictures of retreat accommodations, map & location information, form for booking request capabilities, and random inspirational Bible verses.
###Code:YOU Feature Requirements
- Persist data to an external API and make the stored data accessible in your app
- Use arrays, objects, sets or maps to store and retrieve information that is displayed in your app.
- Use a regular expression to validate user input and either prevent the invlaid input to inform the user about.
- Retrieve data from a third party API and use it to display something within your app
- Create a form and store the submitted values in Local Storage
- HTML5
- CSS3
- JavaScript (ES6+)
- Scripture API BIBLE
- Google Maps Embed API
You can view the contents of the web app one of two ways, either cloning and building locally, or viewing using github pages.
TO CLONE AND VIEW LOCALLY:
- Clone the repository
git clone https://github.com/codeL0gic/SN-Craft-Cottage.git-
Set up Bible API Access -Visit API.Bible and create a free account, select Get Started and complete personal profile -Once logged in, go to Apps -Click "Add Application", complete form and select Create Application to generate a new API key -Copy your API key -In the project, rename
config_example.jstoconfig.jsand add your API key toconfig.jsconfig.jscontents:export const API_KEY = "INSERT_API_KEY_HERE";
-Update the
.gitignorefile to include:config.js -
Open index.html with your IDE using LiveServer and view in browser
TO VIEW USING GITHUB PAGES:
View using Github pages: https://codel0gic.github.io/SN-Craft-Cottage/
-Implements the scripture API BIBLE for random verse generation -Uses async/await for API calls upon screen refresh -Displays verses with Chapter and verse # -API Key secured and properly implemented -Custom Styling for verse display on the Home Page
-Stores form data temporarily using Local Storage for the booking inquiries -Manages user input across sessions -Implements error handling for data persistence -Performs smooth form data recovery
-Responsive booking inquiry form -Input validation for: -First & Last Name fields -Phone Number field -Email address field -Message Content to request booking dates -Custom Styling and mobile first design -Accessibility features included -Error handling message for incomplete input to fields
-Direct email link generation -Formatted email body with inquiry details -Form data validation before submission -Success/error message handling -Auto-clearing form after submission
- Demonstrate my understanding and knowledge of wire framing and implementing a responsive web design
- Demonstrate my knowledge of how to test, consume, create and implement Rest API's
- Implement the Weather API to show the current weather for the Retreat Location at the time it is accessed.
- Implement a function for the form data to be immediately sent to retreat email address.
- Implement calendar for accurate availability and reservation capability
Comments: I have used the following resources in my education, development and implementating all aspects of this website: MDN documentation, Google Developer Tools, StackOverflow, FontAwesome, BIBLE API, Youtube videos, Claude AI, GitHub documentation, Github CoPilot, ESLint, Chat GBT, npm docs, Express Documentation, freeCodeCamp, LUcid Charts, Postman, Javacript.info.com, LinkedInLearning. I have also inspected numerous websites to understand how CSS and HTML function that helped me decide how to design Momma's Craft Cottage.