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

Added Random Word Generator Calculator #1133

Merged
merged 16 commits into from
Jun 5, 2024
Merged

Conversation

Dhevamuthu
Copy link
Contributor

@Dhevamuthu Dhevamuthu commented Jun 3, 2024

Fixes Issue🛠️

Closes #832

Description👨‍💻

Implemented a feature to generate random words based on a specified starting letter and number of words. The feature uses the Random Word API to fetch words and displays them in a styled container. Additionally, input fields are cleared after each generation for improved user experience.

Type of change📄

  • New feature (non-breaking change which adds functionality)

How this has been tested✅

  1. Manual Testing:

    • Verified that the application correctly generates words starting with the specified letter.
    • Ensured that the number of words generated matches the user's input.
    • Checked that input fields are cleared after clicking the "Generate" button.
    • Confirmed that generated words are displayed in a styled container with 5 words per row.
  2. Functional Tests:

    • Tested with different starting letters to ensure words generated start with the correct letter.
    • Tested with varying word counts (e.g., 5, 10, 15) to ensure the correct number of words are displayed.
    • Verified edge cases such as empty input fields and non-alphabetic characters.

Checklist✅

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added demonstration in the form of GIF/video file
  • I am an Open Source Contributor

Screenshots/GIF📷

image

word_Generator.mp4

Copy link

netlify bot commented Jun 3, 2024

Deploy Preview for calcdiverse ready!

Name Link
🔨 Latest commit ae4e601
🔍 Latest deploy log https://app.netlify.com/sites/calcdiverse/deploys/6660550a9f58d40008b44f83
😎 Deploy Preview https://deploy-preview-1133--calcdiverse.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 @Dhevamuthu, Welcome to the project CalcDiverse! 🎊
Thanks for your contribution! Your effort makes this project better. Keep it up! 🙌
Please wait for the PR to be reviewed. Happy Coding!! ✨

@Rakesh9100 Rakesh9100 changed the title Random Word Generator Calculator Added Random Word Generator Calculator Jun 4, 2024
@Rakesh9100
Copy link
Owner

Implement your website in normal HTML, CSS and JS, and not in React @Dhevamuthu

@Rakesh9100 Rakesh9100 added the question 🤔 Further information is requested label Jun 4, 2024
@Dhevamuthu
Copy link
Contributor Author

I have used HTML and CSS only @Rakesh9100

I have used api to fetch the words, other than that all are in html only. Here no need of javascript

@Rakesh9100
Copy link
Owner

image

Why these many files are present and package json files are also there, which we don't get with simple JS @Dhevamuthu

@Dhevamuthu
Copy link
Contributor Author

image

please check through the code @Rakesh9100

@Rakesh9100
Copy link
Owner

image

Why Nutrition Calculator files are present, also separate your logic in script.js file and not in HTML file!

Also, do rename your folder to Random-Word-Generator-Calculator @Dhevamuthu

@Dhevamuthu
Copy link
Contributor Author

done @Rakesh9100

@Rakesh9100 Rakesh9100 merged commit 939d3f4 into Rakesh9100:main Jun 5, 2024
4 checks passed
Copy link

github-actions bot commented Jun 5, 2024

Congrats, Your pull request has been successfully merged 🥳🎉 Thank you for your contribution to my project 🚀 Keep Contributing!! ✨ @Dhevamuthu

@Rakesh9100 Rakesh9100 removed the question 🤔 Further information is requested label Jun 5, 2024
@Rakesh9100 Rakesh9100 added Completed 🥳 PR successfully merged and issue resolved on completion gssoc GSSoC 2k24 Open Source Program level3 GSSoC2k24 Level-3 Task -- 45 Points labels Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Completed 🥳 PR successfully merged and issue resolved on completion gssoc GSSoC 2k24 Open Source Program level3 GSSoC2k24 Level-3 Task -- 45 Points
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Add Random Word Generator Calculator
2 participants