Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Team 1
- https://docs.google.com/document/d/1O2bXdkAa5-qK7SwqeR6_dTU0ZQhpf7quPuCKbgnA-mM/edit?usp=sharing
- Team 2
- https://docs.google.com/document/d/1xkYOqqQ9xbX6drb1gcfC28OpVQVwbKpf7QnO-s4cfJ4/edit?usp=sharing
- Guess Movie
- https://www.youtube.com/watch?v=ptVHGF2q3HQ
- https://www.youtube.com/watch?v=hYmEa28o_TE
- Guess The Animal
- https://www.youtube.com/watch?v=MZDyytD8__g
- Guess restaurant
- https://www.youtube.com/watch?v=aKrSBz3ez5A
- Guess Drink
- https://www.youtube.com/watch?v=N3M405GvbZI
- https://baffinlee.com/leetcode-javascript/
- https://github.com/everthis/leetcode-js
- https://github.com/hijiangtao/LeetCode-with-JavaScript
- https://pastebin.com/LaoIb1aPN48HxRbuz-5tvcbprRRcnuFVJQLRYVZ
- ----------------
- https://devfreebooks.github.io/react/
- ----------------
- https://survivejs.com/react/introduction/
- ----------------
- https://roadtoreact.com/
- https://github.com/the-road-to-learn-react/the-road-to-learn-react
- 1mxiWAgvi_-5Tfs6STdo6muPRBUUREYVg
- ----------------
- import React from "react";
- export default function Todo(props) {
- const [isEditing, setEditing] = React.useState(false);
- const [newName, setNewName] = React.useState("");
- const editFieldRef = useRef(null);
- const editButtonRef = useRef(null);
- useEffect(() => {
- if (isEditing) {
- editFieldRef.current.focus();
- } else {
- editButtonRef.current.focus();
- }
- }, [isEditing]);
- function handleChange(e) {
- setNewName(e.target.value);
- }
- function handleSubmit(e) {
- e.preventDefault();
- props.editTask(props.id, newName);
- setNewName("");
- setEditing(false);
- }
- const editingTemplate = (
- <form className="stack-small" onSubmit={handleSubmit}>
- <div className="form-group">
- <label className="todo-label" htmlFor={props.id}>
- New name for {props.name}
- </label>
- <input
- id={props.id}
- className="todo-text"
- type="text"
- value={newName}
- onChange={handleChange}
- ref={editFieldRef}
- />{" "}
- </div>
- <div className="btn-group">
- <button
- type="button"
- className="btn todo-cancel"
- onClick={() => setEditing(false)}
- >
- Cancel
- <span className="visually-hidden">renaming {props.name}</span>
- </button>
- <button type="submit" className="btn btn__primary todo-edit">
- Save
- <span className="visually-hidden">new name for {props.name}</span>
- </button>
- </div>
- </form>
- );
- const viewTemplate = (
- <div className="stack-small">
- <div className="c-cb">
- <input
- id={props.id}
- type="checkbox"
- defaultChecked={props.completed}
- onChange={() => props.toggleTaskCompleted(props.id)}
- />
- <label className="todo-label" htmlFor={props.id}>
- {props.name}
- </label>
- </div>
- <div className="btn-group">
- <button
- type="button"
- className="btn"
- onClick={() => setEditing(true)}
- ref={editButtonRef}
- >
- Edit <span className="visually-hidden">{props.name}</span>
- </button>
- <button
- type="button"
- className="btn btn__danger"
- onClick={() => props.deleteTask(props.id)}
- >
- Delete <span className="visually-hidden">{props.name}</span>
- </button>
- </div>
- </div>
- );
- return <li className="todo">{isEditing ? editingTemplate : viewTemplate}</li>;
- }
- ==============
- The death of Google and search is near.
- OpenAI just released ChatGPT Plugins to everyone.
- 10 ChatGPT Plugins to transform your productivity:
- 1. AskYourPDF
- Share a link to a PDF of your choice and ask ChatGPT any questions about that PDF.
- It can do everything from summarizing the PDF to answering specific questions about dates, numbers, and facts.
- ________
- 2. Wolfram Alpha
- Make ChatGPT smarter by giving it access to powerful computation, accurate math, curated knowledge, real-time data and visualization.
- ________
- 3. Ambition
- Stop spending hours searching for jobs online.
- Tell the Ambition plugin what kind of roles you're looking for, and it will sort through millions of job openings online and share the best ones with you instantly.
- ________
- 4. Zapier
- Save hours every week by delegating and automating tasks right within ChatGPT.
- Do everything from email automation to updating databases with a few short lines of instruction.
- ________
- 5. Prompt Perfect
- Want to get something from ChatGPT but not sure what prompt to use?
- The Prompt Perfect plugin crafts the perfect prompt to help you get the answer you're looking for.
- ________
- 6. Link Reader
- This plugin reads the content from all sorts of links - like websites, news articles, Word documents - and answers any questions you have about the content from that link.
- ________
- 7. edX
- Level up your knowledge by getting content and courses from top universities like Harvard and MIT instantly in ChatGPT.
- ________
- 8. Video Insights
- Share a link to online videos from websites like YouTube and get insights summarized and delivered in seconds.
- ________
- 9. ScholarAI
- Unlock powerful scientific knowledge with fast, reliable, and peer-reviewed data at your fingertips.
- ________
- 10. Tutory
- Access affordable, on-demand tutoring and education right at your fingertips.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement