Skip to content

Instantly share code, notes, and snippets.

View ndrohith09's full-sized avatar
🧿
Coding

Rohith ND ndrohith09

🧿
Coding
View GitHub Profile
axios.get('url')
.then((response) => {
// handle success
console.log(response);
})
.catch((error)=> {
// handle error
console.log(error);
})
@ndrohith09
ndrohith09 / package.json
Created April 1, 2022 06:06
package.json file for nodejs app
{
"name": "nodejsapp",
"version": "1.0.0",
"description": "nodejsapp description",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node index.js"
},
"author": "",
@ndrohith09
ndrohith09 / home.html
Last active December 14, 2021 10:49
Html homepage for Todo App Django [MEDIUM]
<!DOCTYPE html>
<html>
<title></title>
<!-- from rohith -->
<body>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<nav class="nav">
<a class="nav-link disabled" href="#">To-Do List</a>
</nav>
<div class="container">