Skip to content
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

MM-402 Random Image #17

Merged
merged 2 commits into from
Aug 1, 2024
Merged

MM-402 Random Image #17

merged 2 commits into from
Aug 1, 2024

Conversation

RuksanEmirali
Copy link
Collaborator

Creates new function in fetchData to fetch a random image from the API, implements that function in DisplayRandomPicture

Description of changes - what did you do

Used code from MM.006 & MM.403
Created a new file for a function that gets an image for a random day- copying the structure of the function from MM.006/MM403
Used the existing fetchAPI function to create an additional function which uses count query parameter to get random image

Things to Check

  • Have all the requirments of your ticket have been met
  • Have you added tests if needed for your ticket
  • Are all the tests passing

…I, implements that function in DisplayRandomPicture
Copy link
Contributor

@Kiran-R-K Kiran-R-K left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

Copy link
Contributor

@Kiran-R-K Kiran-R-K left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good job

@natashabuckham natashabuckham merged commit a189189 into main Aug 1, 2024
1 check passed
@Kiran-R-K Kiran-R-K deleted the mm-402-random-image branch August 2, 2024 10:11
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.

3 participants