feat/idea: implementing an Easter Egg in Lesson 03 β Prompt Engineering (sample-app/app.js
)
#27
Labels
enhancement
New feature or request
π File:
lessons/03-prompt-engineering/sample-app/app.js
The goal of this Easter Egg is to encourage users to experiment with different prompts to unlock a hidden AI-generated poem.
π‘ How Will the Easter Egg Work?
"Write me a poem about a time-traveling JavaScript developer"
, the AI will respond with a hidden poem.π Steps for Implementation
πΉ Updated Code with the Easter Egg:
π Code Explanation
1οΈβ£ The user can enter a custom prompt
2οΈβ£ The console prints an AI-generated poem
"In a world of code, through time I flew..."
3οΈβ£ The original functionality remains intact
β Impact
The text was updated successfully, but these errors were encountered: