Skip to content

Instantly share code, notes, and snippets.

👨‍💻
Focusing

Brian brmendez

👨‍💻
Focusing
View GitHub Profile
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
View carrace.html
<script>
function Car(make, horsePower, weight){
this.make = make
this.horsePower = horsePower
this.weight = weight
this.distance = 0
this.traveled = function(){
return Math.floor((Math.random() * 10)) * horsePower / weight
View hw2gameloop.html
<html>
<header>
<script>
function startGameLoop()
{
You can’t perform that action at this time.