Title: added input validation to greet() function by Pranayee35 · Pull Request #87 · JavaScriptToday/hacktoberfest · GitHub
Open Graph Title: added input validation to greet() function by Pranayee35 · Pull Request #87 · JavaScriptToday/hacktoberfest
X Title: added input validation to greet() function by Pranayee35 · Pull Request #87 · JavaScriptToday/hacktoberfest
Description: This update improves the existing greet() function by handling cases where the user does not enter a name or cancels the prompt. If the input is empty or null, a message "You didn't enter your name!" is shown. If a valid name is entered, it displays a friendly greeting using template literals. This makes the function more user-friendly and prevents undefined or blank outputs in the console.
Open Graph Description: This update improves the existing greet() function by handling cases where the user does not enter a name or cancels the prompt. If the input is empty or null, a message "You didn't enter ...
X Description: This update improves the existing greet() function by handling cases where the user does not enter a name or cancels the prompt. If the input is empty or null, a message "You didn'...
Opengraph URL: https://github.com/JavaScriptToday/hacktoberfest/pull/87
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:c18019b4-510a-7c42-b161-6a2ed08eb26c |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | CD66:204531:168FC1:1D380F:69691C87 |
| html-safe-nonce | cad335ea3a5389e06b9731ce3e1d0efc9d9a20b6593c6245d3b8968c25ff36dd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDY2OjIwNDUzMToxNjhGQzE6MUQzODBGOjY5NjkxQzg3IiwidmlzaXRvcl9pZCI6IjkwMzAxMDY1MzMzMDIxODA5OTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 346c4ea177e0e5e5a39bf8c0a68fa1c0e48bd9b24b0eecd1458e845f7ef0d200 |
| hovercard-subject-tag | pull_request:2950070167 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/JavaScriptToday/hacktoberfest/pull/87/checks |
| twitter:image | https://avatars.githubusercontent.com/u/198051214?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/198051214?s=400&v=4 |
| og:image:alt | This update improves the existing greet() function by handling cases where the user does not enter a name or cancels the prompt. If the input is empty or null, a message "You didn't enter ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0e60568924309a021b51adabdce15c2a2f285b556f3130d1a2fa2a5bce11c55f |
| turbo-cache-control | no-preview |
| go-import | github.com/JavaScriptToday/hacktoberfest git https://github.com/JavaScriptToday/hacktoberfest.git |
| octolytics-dimension-user_id | 67715808 |
| octolytics-dimension-user_login | JavaScriptToday |
| octolytics-dimension-repository_id | 694443135 |
| octolytics-dimension-repository_nwo | JavaScriptToday/hacktoberfest |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 694443135 |
| octolytics-dimension-repository_network_root_nwo | JavaScriptToday/hacktoberfest |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | dd206f7ed6207863172be4a783826e86bd2375c3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width