Skip to content

Instantly share code, notes, and snippets.

View jmmarco's full-sized avatar
🤠
Git Cowboy

Juan Marco jmmarco

🤠
Git Cowboy
View GitHub Profile
@jmmarco
jmmarco / App.js
Created February 19, 2020 13:02
Add React to a Website with ES6 Capabilities
import Header from "./Header"
const App = () => {
return (
<div>
<Header />
</div>
)
}
@jmmarco
jmmarco / App.js
Last active December 2, 2021 08:53
React Native using PanResponder and ref's
import * as React from 'react';
import {
Text,
View,
StyleSheet,
PanResponder,
TouchableOpacity,
Animated,
} from 'react-native';
import Constants from 'expo-constants';
@jmmarco
jmmarco / README-Template.md
Created April 13, 2020 20:46 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@jmmarco
jmmarco / index.html
Created April 15, 2020 19:01
Basic React template for beginners or small projects
<!DOCTYPE html>
<html>
<head>
<title>Popular Repos</title>
<script crossorigin src="https://unpkg.com/react@16/umd/react.development.js"></script>
<script crossorigin src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script>
<script src='https://unpkg.com/babel-standalone@6/babel.min.js'></script>
<style>
/* CSS styles go here */
/*
1. Use a more-intuitive box-sizing model.
*/
*, *::before, *::after {
box-sizing: border-box;
}
/*
2. Remove default margin
*/
* {