JSFiddle - React, Tailwind, and code Playground

by bohdantheone

HTML

<html>
 <head>
  <title>Тег DIV</title>
  <style type="text/css">
   .block1 { 
      width:400px;
      height:300px;
      font-size:200px;
      text-align:center;
      padding:100px 0 0 0;
 background: transparent url('http://fc-chelsea.net.ru/_fr/2/8941840.gif') 50% 50% no-repeat;
   }
  </style> 
     
<script type="text/javascript">
    function check(){
    document.getElementById('uto').checked=true;}</script>
 </head>
 <body>
     <input type="button" value="Okeeeey" onclick="check()"><br>
     <input type="checkbox" id="uto" name="uto" value="1">
     <label for="uto">Заменить внешние ссылки используя сервис u.to</label>
     <a onclick="$('#name').slideToggle('slow');" href="javascript://"><b>тво текст при нажатии оно будет сворачиваться и разворачиватся</b></a>   
<div id="name" style="display:none">   
Скрытый текст   
</div>
 </body>
</html>

JavaScript

document.getElementById('my').checked='true';