Skip to content

Completes the Dinosaurs project #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 9 commits into from
Closed

Conversation

eisenbraun
Copy link

Completes the following requirement for the Dinosaurs project

  • The form should contain a button which upon clicking, removes the form
  • The button should append a grid with 9 tiles to the DOM with the Human located in the center
  • The Human tile should display the name of the person and an image, the dino tiles should contain the species, an image and a fact, the bird title should contain the species, image, and "All birds are Dinosaurs."
  • Contain a class and all necessary objects
  • Contain at least 3 methods for comparing dinosaurs to the human
  • Get user data from the DOM
  • Append tiles with object data to DOM

Additional functionality added

  • Basic form validation
  • Allow user to return to the form to create a new infographic
  • Randomize the order of the tiles

- Retrieves form data on submit
- Creates Humand and Dino objects
- Hides form
- Creates and inserts Tiles from created object
- Utilizes Bootstrap Framework
- Removes the need for human object when creating a dino object
- Creates getter methods for dino data
- Moves the randomFact logic to outside of the class
- Add shuffle method to Array prototype
@eisenbraun eisenbraun requested a review from a team as a code owner February 15, 2025 13:47
@eisenbraun eisenbraun requested review from sarah-udacity and removed request for a team February 15, 2025 13:47
@eisenbraun eisenbraun closed this Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants