What do you want to save?
Add Code snippet
New code examples
-
Other 2021-11-04 18:03:13
on drop, drag, dragover event
<!DOCTYPE html> <html lang=en> <title>Examples of using the ondrag Global Event Attribute</title> <meta content="width=device-width"> <style> div { margin: 0em; padding: 2em; } #source { colo... Add solution -
Html 2021-11-02 22:01:06
scroll to top smooth safari
<!--Example of a button to scroll to top, Remember to use the same id on both the button and the function --> <button id='myBtn' > Click me to go to top! </button> <!-- When the user clicks on the button, scroll to the top ... Add solution -
Javascript 2021-10-30 08:40:21
input text react 2020
function LoginForm() { const [email, setEmail] = React.useState(""); const [password, setPassword] = React.useState(""); const handleSubmit = (e: React.FormEvent) => { e.preventDefault(); api.login(email, password); ... Add solution -
Javascript 2021-10-28 11:31:05
create github issue from javascript
function createIssue(repoName, repoOwner, issueTitle, issueBody, accessToken) { var interactor = new GithubInteractor(accessToken); var url = “https://api.github.com/repos/" + repoOwner + “/” + repoName + “/issues”; $... Add solution