This file contains 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
<!Doctype html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
</head> | |
<body> | |
<input type="number" id="input1"> | |
<button id="btn">Calculate</button> | |
<h1 id="demo"></h1> | |
</body> |
This file contains 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
#include <iostream> | |
#include <string> | |
using namespace std; | |
// Write definition for getAverage Function | |
double getAverage(string className) { | |
double classAvg; | |
cout << "Please enter your average for subject " << className << "." << endl; | |
cin >> classAvg; |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
<link rel="stylesheet" href="index.css"> | |
</head> | |
<body> |
This file contains 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
label { | |
background-color: yellow; | |
} | |
body { | |
background-image: url(https://goo.gl/4yCwzn); | |
background-size: cover; | |
} | |
.title { | |
display: block; |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
<link rel="stylesheet" href="index.css"> | |
</head> | |
<body> |
This file contains 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
.papa { | |
display: flex; | |
justify-content: space-between; | |
padding: 0 10%; | |
align-items: flex-end; | |
height: 100vh; | |
} |
This file contains 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
export const locations = [ | |
{ | |
address: '123 main street', | |
city: 'New York City', | |
email: 'peter@bctc.io', | |
phone: '1820228281' | |
}, | |
{ | |
... | |
} |
This file contains 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, { Component } from 'react'; | |
import { BrowserRouter as Router, Route } from 'react-router-dom'; | |
import LandingPage from './pages/Landing'; | |
import AboutPage from './pages/About'; | |
import LocationsPage from './pages/Locations'; | |
export const routes = [ | |
{ | |
path: '/', | |
component: LandingPage, |
This file contains 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, { Component } from 'react' | |
import { locations } from '../../utils/data' | |
export default class LocationPage extends Component { | |
render() { | |
return ( | |
<div> | |
{ | |
locations.map(location => ( | |
<div> |
![cxk.0.gif](https://gist.github.com/mxdi9i7/c0dd5abd85a6cd30224673148cd66b79/raw/3c93d4d4fce83646273c04d75682401eec594c96/cxk.0.gif)
OlderNewer