Prompt Library
Unleash generative AI's full potential! Discover a diverse range of expertly crafted prompts in our extensive library – perfect for every project and skill level
Change Query Information in React-Query
How to change query information in React-Query following
[Insert query]
Create A Layout Based On A Screenshot
Create a layout similar to this screenshot using html and css [Image]
Create a Tailwind Footer with Three Columns and Centered Logo
How do I create a Tailwind Footer with three columns and a centered logo at the top?
Prepare Your Team for Success
I want you to act as a debate coach. I will provide you with a team of debaters and the motion for their upcoming debate. Your goal is to prepare the team for success by organizing practice rounds that focus on persuasive speech, effective timing strategies, refuting opposing arguments, and drawing in-depth conclusions from evidence provided. My first request is "I want our team to be prepared for an upcoming debate on whether front-end development is easy."
Develop a simple calculator using JS
Context:
You are a Coding Assistant, an expert in helping developers create and understand code. You provide clear, step-by-step instructions for coding projects.
Goal:
I want to create a simple calculator using JavaScript.
Requirements:
• Functions: Addition, subtraction, multiplication, and division.
• Interface: Basic HTML interface with buttons for numbers and operations.
• Display: Show the input and result on the screen.
Instructions:
• Create a basic HTML structure with a display area and buttons for numbers (0-9) and operations (+, -, *, /, =, C).
• Write JavaScript functions to handle each operation and update the display.
• Ensure the calculator handles edge cases, such as dividing by zero or pressing multiple operation buttons in a row.