- Go to Netlify and either log in or sign up for an account.
- Click the
New site from Git
button.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'bootstrap/dist/css/bootstrap.min.css'; | |
import { useEffect, useState } from 'react'; | |
import axios from 'axios'; | |
import Alert from 'react-bootstrap/Alert'; | |
import Form from 'react-bootstrap/Form'; | |
import Container from 'react-bootstrap/Container'; | |
import Placeholder from 'react-bootstrap/Placeholder'; | |
function App() { | |
// State for search input element |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import './App.css' | |
import CharacterGallery from './components/CharacterGallery' | |
function App() { | |
return ( | |
<CharacterGallery /> | |
); | |
} | |
export default App |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'bootstrap/dist/css/bootstrap.min.css'; | |
import * as bootstrap from 'bootstrap'; | |
import { useEffect, useState } from "react"; | |
import axios from 'axios'; | |
import useGroceries from './hooks/useGroceries'; | |
function App() { | |
const { | |
search, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { useState } from 'react'; | |
import './App.css'; | |
function App() { | |
const [profile, setProfile] = useState({ | |
name: '', | |
age: 0, | |
}); | |
return ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'bootstrap/dist/css/bootstrap.min.css'; | |
import * as bootstrap from 'bootstrap'; | |
import { useEffect, useState } from "react"; | |
import axios from 'axios'; | |
function App() { | |
const [search, setSearch] = useState(''); | |
const [posterUrl, setPosterUrl] = useState(null); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'bootstrap/dist/css/bootstrap.min.css'; | |
import * as bootstrap from 'bootstrap'; | |
import { useEffect, useState } from "react"; | |
import axios from 'axios'; | |
import useGroceries from './hooks/useGroceries'; | |
const groceryData = [ | |
{ name: 'Milk', category: 'Drink' }, | |
{ name: 'Bread', category: 'Food' }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mutation RemoveParticipants( | |
$requesterUserType: String! | |
$requesterUserId: Int! | |
$practitionerId: Int | |
$removedParticipants: [RemoveParticipantInput]! | |
) { | |
removeParticipants ( | |
requesterUserType: $requesterUserType, | |
requesterUserId: $requesterUserId, | |
practitionerId: $practitionerId, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState } from 'react'; | |
import './style.css'; | |
function Form() { | |
// Setting initial state to an object | |
const [formData, setFormData] = useState({ firstName: '', lastName: '', password: '' }); | |
// formData = { firstName: '', lastName: '' } | |
const handleInputChange = (event) => { | |
// Getting the value and name of the input which triggered the change |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Item { | |
constructor(title, price) { | |
this.title = title; | |
this.price = price; | |
} | |
} | |
module.exports = Item; |
NewerOlder