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 { ANIMALS } from "@frontendmasters/pet"; | |
| const SearchParams = () => { | |
| // api limited to seattle and sf | |
| const [location, setLocation] = useState("Seattle, WA"); | |
| const [animal, setAnimal] = useState("dog"); | |
| const [breed, setBreed] = useState(""); | |
| 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
| 'use strict'; | |
| /** | |
| * Count the number of anagrams in a list of words. | |
| * | |
| * An anagram is a word made up of the same letters as another word in the array (but not |
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
| 'use strict'; | |
| /** | |
| * Find the greatest common divisor (GCD) of two positive integers. | |
| * | |
| * @param {number} a - The first integer |
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
| {"contents":{"editor":{"formatOnSave":true}},"overrides":[],"keys":["editor.formatOnSave"]} |
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 from 'react'; | |
| import { createStackNavigator, createBottomTabNavigator, createMaterialTopTabNavigator, TabBarTop, TabNavigator } from 'react-navigation'; | |
| import { Text } from 'react-native'; | |
| import Welcome from './screens/Welcome'; | |
| import Loading from './screens/Loading'; | |
| import Offerings from './screens/Offerings'; | |
| import CreateAccount from './screens/signup/CreateAccount'; | |
| import ReferInformationScreen from './screens/signup/ReferInformationScreen'; | |
| import NetWorth from './screens/signup/NetWorth'; | |
| import EmploymentStatus from './screens/signup/EmploymentStatus'; |
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
| // via https://snack.expo.io/Sydk-FD_W | |
| import React from 'react'; | |
| import { ScrollView, Text, View, StyleSheet, Button } from 'react-native'; | |
| import { StackNavigator } from 'react-navigation'; // 1.0.0-beta.11 | |
| // import { Constants } from 'expo'; | |
| const CustomHeader = ({ title, subtitle }) => ( | |
| <View style={styles.header}> | |
| <Text style={styles.title}>{title}</Text> |
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
| this is notes for the fcc course |
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
| d3 on fcc won't let be me |
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
| want it to be similar to this https://jsfiddle.net/boygirl/z00r6h45/ |
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
| # see available devices for the simulator | |
| xcrun simctl list devices | |
| react-native run-ios --simulator="iPhone 10" |