Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

cbfacademy/javascript-final-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[TODO: Replace with your Netflify status badge]

🥐🍰 JavaScript Project for Mayme's Bakery 🍪🍩

🍞 Who is Mayme's Bakery? 🎂

Mayme's Bakery is a family-owned business whose scrumptious baked goods have been enjoyed worldwide. 🌍 They'd love to see their baking history brought to life in an online interactive timeline. 📜

🧑🏾‍💻 Getting Started 🚀

  1. Fork this Repository 🍴: Start by making a copy of this repository in your own GitHub account using the "Fork" button at the top right of this page. Only one person per group needs to do this.

  2. Add Your Teammates 👥: From your forked repository, add your fellow group members as contributors under the "Settings" tab. Just click on "Manage Access", "Invite a collaborator", and then enter their GitHub usernames.

  3. Clone the Repository 💻: After you've set up the repository, you'll need to clone it to your local machine. You can do this by clicking the "Code" button and copying the URL. Then, open your terminal, navigate to where you want to keep the project and run git clone <URL>.

🎯 Your Mission, Should You Choose to Accept It 🕵🏾‍♀️

You and your study group will work as an agile team to create an animated, interactive timeline for Mayme's Bakery. The interactivity of the timeline should be agreed upon by all group members.

📚 User Stories

  1. 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.
  2. 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.
  3. 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).
  4. As a user, I want to dismiss the full details of a single historical item, so that I can return to the timeline.
  5. As a developer, I want to deploy the changes made to the timeline, so that the timeline can be viewed publicly.

📁 Starter Files 📂

We have provided two files to get you started:

  1. index.html
  2. js/data.js

HTML 🖥️

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.

Data 📊

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.

📈 Project Criteria 📉

The only HTML you should add to the body is in step 1. Everything else should be done in JavaScript.

  1. In your HTML file add a <div> with the class name timeline.
  2. Loop over the provided array of objects to create to the summary card of each timeline item with:
    1. A div with the class name timeline-item. This div is your container for your summary card and everything for the summary card must be inside of it. Inside the div should be:
      1. h2 with the class name timeline-item-title. The title of each timeline item needs to be here
      2. span with the class name timeline-item-date. This should have the date of each timeline item
      3. The element that displays the summary text must have the class name timeline-item-summary
      4. The element that opens the modal so that a visitor can see full information must have the class name timeline-item-more-info
  3. Inside the modal (where the full information should be displayed) you must include the following:
    1. The container div must have the id modal-container
    2. The date must have the id modal-date
    3. The title must have the id modal-title
    4. The image must have the id modal-image
    5. The full description must have the id modal-full-description
    6. The element that closes the modal must have the id modal-close-button
  4. Create an external stylesheet here css/main.css (see CSS for more info)
  5. Deployed to Netlify and your site's status badge added to this file (README.md)

CSS 🎨

All styling (CSS) is completely up to you, but must be in a folder named css with a primary stylesheet called main.css.

📤 How to Submit 📥

You must push all the code to your group project repo.

💡 Finally 🎉

Don't forget to ask for help if you need it, and have fun coding! 🥳

📚 If you encounter any problems or have any questions, don't hesitate to ask in our GitHub Discussions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •