JSFiddle - React, Tailwind, and code Playground

by velthune

HTML

<div id="qqq">Test css</>
    <img src="http://www.tizag.com/pics/htmlT/sunset.gif"/>

CSS

//div {
 //   border-style:solid;
  //  border-width:5px;
//}

JavaScript

(function() {
        console.log("start test THIS");
        var video =  new Video();
        console.log(typeof(video));
    } )()
        
function Video() {
    var self = this;
    this.texture = "src.png"; 
    apply();    
    function apply() {
        console.log(self.texture);
        $("#qqq").load(loadFn());
        console.log("load?");
    }
    function loadFn() {
        console.log("load");               
    }
}

console.log($("#qqq").attr('name','nameqq')); 
$("img").css( {
      'border-style' : 'solid',
      'border-width' : '5px'
    })