flexbox-framework
Version:
A flex Css framework to build a responsive website using only the flexbox model and media queries.
10 lines (8 loc) • 331 B
JavaScript
const axios = require('axios');
// star wars api. swapi.dev
const url = "https://swapi.dev/api/people/1/";
axios.get(url)
.then(res => console.log(res.data))
.then(err => console.log(err))
.catch(err => console.log(err));
// run this in the console by going to the console and typing: node src\scripts\api.js