Skip to content

Instantly share code, notes, and snippets.

View JajuanX's full-sized avatar

Jajuan X JajuanX

  • Driven Media Solutions
View GitHub Profile
@JajuanX
JajuanX / rendering-on-the-dom.html
Created July 10, 2019 22:35
Rendering on the Dom
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>React Practice</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.15.0/babel.min.js"></script>
</head>
<body>
class UsersController < ApplicationController
before_action :user_params, :only [:create, :update]
before_action :user_find, :only [:shoe, :edit, :update, :destroy]
after_action :slack_notify, :only [:create, :update, :destroy]
def index
@users = User.all
end
box1.style.backgroundColor = "#FEEFD4";
box1s.style.fontSize = "44px";
document.querySelector('#box2').style.height = "138px";
document.querySelector('#box2').style.width = "113px";
document.querySelector('#box2s').style.width = "552px";
document.querySelector('#box2s').style.height = "452px";
const circleBox3 = document.createElement('div');
circleBox3.className = 'circle';
document.getElementById('box3').appendChild(circleBox3)
clearFinished = () => {