Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
  
  
  <div class="picker" data-color="red"></div>
  <div class="picker" data-color="green"></div>
  <div class="picker" data-color="blue"></div>
  <div class="picker" data-color="black"></div>
  
  <br><br><br>
  
  
  <div id="test">TEST DIV THAT WILL CHANGE COLOR</div>
  
  
  
</body>
</html>
 
.picker{
  cursor:pointer;
  margin:3px;
  width:30px;
  height:30px;
  border-radius:30px;
  float:left;
  
}
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers