Skip to content

Instantly share code, notes, and snippets.

View pattrickrice's full-sized avatar
🚙

Patrick Rice pattrickrice

🚙
  • San Francisco
  • 09:47 (UTC -08:00)
View GitHub Profile
@pattrickrice
pattrickrice / html
Created March 16, 2017 03:50
A dropdown mobile menu for web
<div class="container center " onclick="myFunction(this)" >
<div class="bar1"></div>
<p class="bar2">menu</p>
<div class="bar3"></div>
</div>
<ul id ="mobile-menu" class="menu-hidden">
<li><a>item 1</a></li>
<li><a>item 2</a></li>
<li><a>item 3</a></li>
</ul>
@pattrickrice
pattrickrice / minmax.cpp
Created July 12, 2017 04:33
CS 161 Project 3a
#include<iostream>
/****************************************************************
* Name: Patrick Rice
* Date: 7/8/2017
* Description: This program asks the user how many integers they
* would like to evaluate, and then prompts the user said number
* of integers. The evaluates each input and finds the min and
* max of the range.
***************************************************************/