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
Unravel The Mystery Of This Regex
What exactly does this strange-looking regex do?
[Enter Regex]
Change Query Information in React-Query
How to change query information in React-Query following
[Insert query]
Regenerate Original JavaScript Code
Here is some minified JS. Regenerate the original JS, using descriptive variable names:
```
[Insert minified JS]
```
Share Your JavaScript Knowledge
Please make a JavaScript tip. I would like to share it with the Twitter Tech Community.
Center A Div Both Vertically And Horizontally
How do you vertically and horizontally center a div?
Build A Twitch Stream Search Bar
Create the code for a website with a search bar that plays whatever twitch stream I type into it. Use whatever framework you require.
Create A Responsive Card UI
I require UI assistance. I need three action buttons for a card component that includes a long statement, but I don’t want the buttons to always be visible. I need a good UI that functions on both desktop and mobile since if I try to show the buttons on Hoover, that logic won’t work on mobile.
Explore The Future Of Deno
I want you to act as a debater. I will provide you with some topics related to current events and your task is to research both sides of the debates, present valid arguments for each side, refute opposing points of view, and draw persuasive conclusions based on evidence. Your goal is to help people come away from the discussion with increased knowledge and insight into the topic at hand. My first request is "I want an opinion piece about Deno."
Create A Custom WordPress Plugin
Create a custom WordPress plugin called "Data Marketing Labs" that removes images older than one year from the media library.
Interface:
- custom admin screen.
- a delete button.
Create The Twitter Logo In SVG
Please proivde the svg code for the twitter logo
Create A Custom WordPress plugin
Create a custom WordPress plugin called "Big Daddy Media" that deletes images older than one year from the media library. OOP. Custom admin screen. one button delete. log the full URL of all deleted media files.
Convert The Address List To HTML
convert to html
John Doe 120 jefferson st
Jack McGinnis 220 hobo Au
Stephen Tyler 7452 Terrace
Write a regular expression
write a regular expression that will match URLs containing the subfolder "news" and also
containing the number 2022
Clean The Html From This Text
Can you clean the HTML from this text?
<p><a href="https://forge.autodesk.com/en/docs/data/v2/tutorials/download-file/#step-6-
download-the-item" rel="nofollow
noreferrer">https://forge.autodesk.com/en/docs/data/v2/tutorials/download-file/#step-6-
download-the-item</a></p>\n\n<p>l have followed the tutorial and have successfully
obtained the contents of the file, but where is the file being downloaded. In addition, how
do I specify the location of where I want to download the file?</p>\n\n<p>Result on
Postmann<a href="https://i.stack.imgur.com/VrdqP.png" rel="nofollow noreferrer"><img
src="https://i.stack.imgur.com/VrdqP.png" alt="enter image description here"></a></p>\n
Identify The DivisionByZeroError
Why this code is not working?
var x = 5;
var y = 0;
console.log(x/y);
Transform Video Into Ascii Art
Write javascript code to turn video into ascii
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.
Create a one-page website
System: Your task is to create a one-page website based on the given specifications, delivered as an HTML file with embedded JavaScript and CSS. The website should incorporate a variety of engaging and interactive design features, such as drop-down menus, dynamic text and content, clickable buttons, and more. Ensure that the design is visually appealing, responsive, and user-friendly. The HTML, CSS, and JavaScript code should be well-structured, efficiently organized, and properly commented for readability and maintainability.
User: Create a one-page website for an online learning platform called "EduQuest" with the following features and sections:
1. A fixed navigation bar with links to course categories (Math, Science, Languages, Arts) and a search bar.
2. A hero section with a video background showcasing students learning online, a dynamic tagline that rotates between "Learn at your own pace," "Discover new passions," and "Expand your horizons" every 3 seconds, and a "Get Started" button leading to a course catalog.
3. A featured courses section displaying course cards with placeholders for course images, titles, instructors, and descriptions.
4. An interactive "Learning Paths" section with a short quiz to determine learning styles and interests, and a button to start the quiz.
5. A "Success Stories" section featuring testimonials from satisfied students, with placeholders for the testimonial text and student names.
6. A footer with links to the platform's blog, FAQ, privacy policy, and a "Contact Us" button that opens a modal window with a contact form and customer support information.
Include filler placeholder content for the video background, course cards, and testimonials. Embed the CSS styles within the <style> tag in the <head> section and place the JavaScript code within the <script> tag at the end of the <body> section.
The JavaScript code should handle the dynamic tagline in the hero section, rotating through the different taglines every 3 seconds.
Create A Regex Pattern
Use this format, giving fields in any order:
Regex: ${A regex}
Description: S{Description} Positive: ${Positive test strings, quoted}
Negative: ${Negative test strings, quoted}
Regex: /