#URL FOR OUR WEBSITE
https://maymesbakerygroupb.netlify.app/
Co-authored by members of the group
For your unit 3 assessment you are required to work with your study group as an agile team to create an animated interactive timeline for Mayme's Bakery. The interactivity (behaviour/actions) of timeline should be agreed upon by all group members.
They are family owned business whose baked goods have been shipped worldwide.
They would love to display a history of baking and cakes in an online interactive timeline.
We have provided some initial user stories. Your group can choose which project management tool you'd like to use (e.g. trello, github projects). As the project continues add more user stories and/or tasks until the project is complete.
- As a user, I want to see the summary of each historical item in a summary card, so that I can see a brief introduction of each historical item
- As a user, I want to see the summary cards in a timeline in date order, so that I can see a brief history (in date order) in one place
- As a user, I want to see more details on a particular item in a modal so that I can see the full information (including an image)
- As a user, I want to dismiss the full details of a single historical item, so that I can return to the timeline
- As a developer, I want to deploy the changes made to the timeline, so that the timeline can be viewed publicly
We have provided two files to get you started:
index.html
js/data.js
The provided index.html
includes:
<script type="module" src="js/index.js"></script>
Having type="module"
means you can the ES6 feature modules
(refer to the slides for a reminder of what modules
are). src="js/index.js"
indicates your main javascript file must be named index.js
within the js
directory.
We have provided an array of objects with the data that should be displayed in your timeline. This data can be found in the js/data.js
file and must be imported into your js/index.js
so you can use it. If you choose, you can add more data to the file, but this is the minimum amount of data you must display in your timeline.
The only HTML you should add to the body
is in step 1. Everything else should be done in JavaScript.
- In your HTML file add a
<div>
with the class nametimeline
. - Loop over the provided array of objects to create to the summary card of each timeline item with:
- A
div
with the class nametimeline-item
. Thisdiv
is your container for your summary card and everything for the summary card must be inside of it. Inside thediv
should be:h2
with the class nametimeline-item-title
. The title of each timeline item needs to be herespan
with the class nametimeline-item-date
. This should have the date of each timeline item- The element that displays the summary text must have the class name
timeline-item-summary
- The element that opens the modal so that a visitor can see full information must have the class name
timeline-item-more-info
- A
- Inside the modal (where the full information should be displayed) you must include the following:
- The container
div
must have the idmodal-container
- The date must have the id
modal-date
- The title must have the id
modal-title
- The image must have the id
modal-image
- The full description must have the id
modal-full-description
- The element that closes the modal must have the id
modal-close-button
- The container
- Create an external stylesheet here
css/main.css
(see CSS for more info) - Deployed to Netlify and your site's status badge added to this file (
README.md
)
All styling (CSS) is completely up to you, but must be in a folder named css
with a primary stylesheet called main.css
.
You must push all the code to your group project repo.