Skip to content

Conversation

@Rahulagg13
Copy link

Add Random Anime Quote Generator Feature

Description

This Pull Request introduces a new feature that allows users to generate random anime quotes, offering a fun way to receive inspirational or humorous quotes from various anime shows. The feature leverages the Animechan API to fetch random quotes.

Changes:

  • Created a new component RandomAnimeQuote that fetches and displays a random anime quote.
  • Utilized axios for handling API requests.
  • Added error handling to display appropriate messages if the API request fails.
  • Updated the activities list to add the "Random Anime Quote" option with relevant icon and URL.
  • Styled the RandomAnimeQuote component with basic CSS for proper layout.

Related Issue:

This PR addresses the issue: #85

@vercel
Copy link

vercel bot commented Oct 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
acm-fun ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 8, 2024 3:42pm

Copy link
Contributor

@ken1000minus7 ken1000minus7 left a comment

Choose a reason for hiding this comment

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

Can you please revert all the unnecessary changes related to indentation and stuff? Those r not required 😅
Also there is a cors issue with the api call u r making so see if u can fix that

Comment on lines 13 to 29
// const res = {
// status: "success",
// data: {
// content: "Whenever I counted on someone, I ended up getting hurt.",
// anime: {
// id: 2,
// name: "Hanasaku Iroha",
// },
// character: {
// id: 5,
// name: "Ohana Matsumae",
// },
// },
// };
Copy link
Contributor

Choose a reason for hiding this comment

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

do not keep commented code, delete if not required

@ken1000minus7
Copy link
Contributor

Hey @Rahulagg13 , the received quote is being logged on the console but it is not being displayed, please fix that
Also please remove the commented code as mentioned before

@ken1000minus7 ken1000minus7 linked an issue Oct 10, 2024 that may be closed by this pull request
@ken1000minus7 ken1000minus7 merged commit 255cfdc into PEC-CSS:master Oct 10, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Anime quotes activity

2 participants