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

Changes to be committed: Added Cheesy Pick-up lines Play #1539

Merged
merged 6 commits into from
Oct 14, 2024

Conversation

Karna0005
Copy link
Contributor

new file:   src/plays/cheesylines/Cheesylines.js
new file:   src/plays/cheesylines/Readme.md

First thing, PLEASE READ THIS: ReactPlay Code Review Checklist

Fixes #1534

#HACTOBERFEST

Pull Request Title: Add Cheesy Lines Randomizer Feature to Display Random Pick-Up Lines


Description:

This pull request addresses the issue of implementing the Cheesy Lines Randomizer feature. The play is a React-based interactive web application that generates random cheesy pick-up lines when a button is clicked.


Key Features:

  1. Randomizer Functionality:

    • A random pick-up line is generated and displayed from a predefined collection when the user clicks the "Get Cheesy Line" button.
  2. React Concepts Used:

    • State Management (useState): Manages the currently displayed pick-up line.
    • Event Handling: The onClick event on the button triggers the randomizer function.
    • Component Rendering: Updates the displayed line in real-time based on the current state.
    • JSX Layout: Structurally displays the lines and button in a clean, interactive design.
  3. UI/UX:

    • A responsive and minimalist interface designed to work on different screen sizes, featuring an eye-catching button and neatly formatted display of pick-up lines.

How to Test:

  1. Clone the repository and switch to the branch containing this feature.
  2. Run npm install to install all dependencies.
  3. Start the application by running npm start.
  4. Interact with the app by clicking the "Get Cheesy Line" button to display random pick-up lines.

Linked Issue:

This pull request addresses and closes Issue #[#1534] - "Add Cheesy Lines Randomizer to Display Random Pick-Up Lines".


Checklist:

  • Implemented the randomizer function.
  • Styled the user interface for an engaging experience.
  • Verified that the randomizer works and updates the displayed line dynamically.
  • Tested responsiveness across different devices and screen sizes.

Feel free to reach out on Discord for further discussions or feedback on this feature!

Screenshots

Screenshot (20)
Screenshot (19)

	new file:   src/plays/cheesylines/Cheesylines.js
	new file:   src/plays/cheesylines/Readme.md
Copy link

netlify bot commented Oct 8, 2024

Deploy Preview for reactplayio ready!

Name Link
🔨 Latest commit d3e4068
🔍 Latest deploy log https://app.netlify.com/sites/reactplayio/deploys/670b7ae8426b9c00085ad40a
😎 Deploy Preview https://deploy-preview-1539--reactplayio.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Hey! contributor, thank you for opening a Pull Request 🎉.

@reactplay/maintainers will review your submission soon and give you helpful feedback. If you're interested in continuing your contributions to open source and want to be a part of a welcoming and fantastic community, we invite you to join our ReactPlay Discord Community.
Show your support by starring ⭐ this repository. Thank you and we appreciate your contribution to open source!
Stale Marking : After 30 days of inactivity this issue/PR will be marked as stale issue/PR and it will be closed and locked in 7 days if no further activity occurs.

Copy link
Member

@priyankarpal priyankarpal left a comment

Choose a reason for hiding this comment

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

there is something wrong with css please check

Screenshot_2024-10-09_10-24-48

@priyankarpal priyankarpal added the changes required need to change some thing label Oct 9, 2024
@Karna0005
Copy link
Contributor Author

it is absolutely fine.

Screenshot (21)

Copy link
Member

@priyankarpal priyankarpal left a comment

Choose a reason for hiding this comment

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

please check another play once

image

@Karna0005
Copy link
Contributor Author

hey, I have changed the css please verify!

@Karna0005
Copy link
Contributor Author

can anyone tell me what's wrong with the code..? please

@priyankarpal
Copy link
Member

can anyone tell me what's wrong with the code..? please

now it's ok

@priyankarpal priyankarpal added hacktoberfest and removed changes required need to change some thing labels Oct 14, 2024
@priyankarpal priyankarpal merged commit 6aba7f9 into reactplay:main Oct 14, 2024
5 of 6 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.

[Add a Play]: Add Cheesy Lines Randomizer to Display Random Pick-Up Lines
2 participants