Skip to content

Castrosol - #41913

Closed
castrotrad-afk wants to merge 6 commits into
github:repo-syncfrom
castrotrad-afk:main
Closed

Castrosol#41913
castrotrad-afk wants to merge 6 commits into
github:repo-syncfrom
castrotrad-afk:main

Conversation

@castrotrad-afk

Copy link
Copy Markdown

-->

Why:

Closes:

<title>Random Joke Generator</title> <style> body { font-family: Arial, sans-serif; text-align: center; padding: 50px; } .joke { font-size: 1.5em; margin: 20px 0; } button { padding: 10px 20px; font-size: 1em; cursor: pointer; } </style>

Random Joke Generator

Click the button to get a joke!
Get a Joke <script> async function getJoke() { try { const response = await fetch('https://v2.jokeapi.dev/joke/Any'); const data = await response.json(); const jokeContainer = document.querySelector('.joke'); if (data.type === 'single') { jokeContainer.textContent = data.joke; } else { jokeContainer.textContent = `${data.setup} - ${data.delivery}`; } } catch (error) { console.error('Error fetching joke:', error); document.querySelector('.joke').textContent = 'Failed to fetch a joke. Please try again!'; } } </script>

What's being changed (if available, include any code snippets, screenshots, or gifs):

Check off the following:

  • A subject matter expert (SME) has reviewed the technical accuracy of the content in this PR. In most cases, the author can be the SME. Open source contributions may require an SME review from GitHub staff.
  • The changes in this PR meet the docs fundamentals that are required for all content.
  • All CI checks are passing and the changes look good in the review environment.

@welcome

welcome Bot commented Dec 17, 2025

Copy link
Copy Markdown

Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

@github-actions github-actions Bot added the triage Do not begin working on this issue until triaged by the team label Dec 17, 2025
@Sharra-writes Sharra-writes added the invalid This issue/PR is invalid label Dec 31, 2025
@github-actions github-actions Bot closed this Dec 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

invalid This issue/PR is invalid triage Do not begin working on this issue until triaged by the team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants