- Jenna Dilullo: https://github.com/jennadilullo8
- Nicole Latifi: https://github.com/NicoleLatifi
Performed the driver-navigator approach throughout the development of the entire project.
In this project, an application was created where the user could make a RomCom cover with a randomly selected image, title, and descriptors. That cover could then be saved if the user liked it as such. The user could also make their own cover with their own image, title, and descriptors. The user could then save the cover and see it in their saved Rom Coms section. If the user did not like that saved RomCom cover, they then could delete it.
- Fork and clone down this repository
cd
into the repository- In Terminal enter the command:
open index.html
- Have fun!
- Write clean, DRY JavaScript to store our data
- Use a provided class by creating object instances using the new keyword
- Manipulate the page after it has loaded adding, removing, and updating elements on the DOM
- Understand event bubbling and use event delegation on dynamic elements
- Begin to understand how to write effective, clean HTML & CSS
- Consistently make commits and use proper git flow
- Developing a good understanding of how query selectors and event handlers work together
- Creating functionality when the user clicks on a button
- How to properly use the property of classList by adding or removing the class of hidden to certain elements
- Used event.preventDefault() to prevent the homepage loading without using the input values for the displayed cover when clicking 'Make my book' button
- Understanding how insertAdjacentHTML is used to insert our own HTML
- Created additional functions to DRY up our code
- Understanding which html elements we need for the DOM.
- Solving merge conflicts
- Making sure we as a team are looking through every aspect of the application for bugs
- Understanding when to use a class name (with a .) and when to use an id name (with a #) in querySelectors
- Including all of the correct classes in the HTML elements so that the saved covers display properly
- We did not use the property of '.toggle' when refactoring, because it wasn't fully understood between both partners
- HTML
- CSS
- JavaScript
- Git/GitHub
The gif will show;
- When the page loads, the user should see a cover with a randomized image, title, and two descriptors
The gif will show;
- When the user clicks on the 'Show New Random Cover' button, the page will display a new Rom Com cover
The gif will show;
-
When a user clicks the 'Make Your Own Cover' button, a couple things should happen:
- The form should be displayed
- The home page should be hidden
- The 'Show New Random Cover' and 'Save Cover' buttons should be hidden
- The 'Home' button should be displayed
-
When a user clicks the 'View Saved Covers' button, a couple things should happen:
- The saved covers section should be displayed
- The homepage should be hidden
- The 'Show New Random Cover' and 'Save Cover' buttons should be hidden
- The 'Home' button should be displayed
-
When a user clicks the 'Home' button, these items should happen to the home button:
- The home section should be displayed
- The 'Home' button should be hidden
- The 'Show New Random Cover' and 'Save Cover' buttons should be displayed
The gif will show;
- When a user is on the the Make Your Own Cover form, they can fill in the input fields and click the 'Make my book' button, the following will happen:
- The home section will be displayed
- A cover with the inputted cover image, title, and descriptors will be displayed
- The 'Save Cover' button will reappear
The gif will show;
- When a user clicks the 'Save Cover' button, the cover that is currently displayed will be added to Saved Covers Section. If the cover is already saved, it will not save again to prevent any duplicates.
- When a user clicks the 'View Saved Covers' button, the saved covers will be displayed.
The gif will show;
- When a user double clicks on a saved poster, the poster will be deleted.