<commit_before><!doctype html>
<html>
  <head>
    <title>YouTube Clipper - Embed Code and Link Generator</title>
    <meta name="description" content="A simple way to create links and embed codes to YouTube videos with custom start and end times" />
    <link type="text/css" rel="stylesheet" href="style.css" />
    <script type="text/javascript" src="youtube-clipper.js"></script>
  </head>

  <body>
    <div id="top">
      <h1>YouTube Clipper<br>
     Embed Code and Link Generator</h1>
    </div>

    <div id="center">
      <form>
        <fieldset id="one">
          <label for="startURL">Enter the originl YouTube URL here:
          </label>
          <input id="startURL" type="text" />
        </fieldset>

        <fieldset id="two">
          <label>Choose a start time:</label>
          <div id="timeBoxes">
            <input id="startmin" type="text" value="min" maxlength="3" /> : <input id="startsec" type="text" value="sec" maxlength="4" />
          </div>
          <label>Choose an end time:</label>
          <div id="timeBoxes">
            <input id="endmin" type="text" value="min" maxlength="3" /> : <input id="endsec" type="text" value="sec" maxlength="4" />
          </div>
        </fieldset>

        <fieldset id="three">
          <a id="getLink" href="#">Get Link and Embed Code</a>
          <label id="newURLlabel" for="newURL" class="inactive">
            Your clipped URL:
          </label>
          <input id="newURL" type="text" class="inactive" readonly="readonly" disabled="disabled" />
          <label id="newEmbedlabel" for="newEmbed" class="inactive">
            Your clipped embed code:
          </label>
          <input id="newEmbed" type="text" class="inactive" readonly="readonly" disabled="disabled" />
        </fieldset>
      </form>
    </div>

  </body>


</html>
<commit_msg>Changing link to button with JS function link<commit_after><!doctype html>
<html>
  <head>
    <title>YouTube Clipper - Embed Code and Link Generator</title>
    <meta name="description" content="A simple way to create links and embed codes to YouTube videos with custom start and end times" />
    <link type="text/css" rel="stylesheet" href="style.css" />
    <script type="text/javascript" src="youtube-clipper.js"></script>
  </head>

  <body>
    <div id="top">
      <h1>YouTube Clipper<br>
     Embed Code and Link Generator</h1>
    </div>

    <div id="center">
      <form action="#">
        <fieldset id="one">
          <label for="startURL">Enter the originl YouTube URL here:
          </label>
          <input id="startURL" type="text" />
        </fieldset>

        <fieldset id="two">
          <label>Choose a start time:</label>
          <div id="timeBoxes">
            <input id="startmin" type="text" value="min" maxlength="3" /> : <input id="startsec" type="text" value="sec" maxlength="4" />
          </div>
          <label>Choose an end time:</label>
          <div id="timeBoxes">
            <input id="endmin" type="text" value="min" maxlength="3" /> : <input id="endsec" type="text" value="sec" maxlength="4" />
          </div>
        </fieldset>

        <fieldset id="three">
          <button onclick="YouTubeClip()">Get Link and Embed Code</button>
          <label id="newURLlabel" for="newURL" class="inactive">
            Your clipped URL:
          </label>
          <input id="newURL" type="text" class="inactive" readonly="readonly" disabled="disabled" />
          <label id="newEmbedlabel" for="newEmbed" class="inactive">
            Your clipped embed code:
          </label>
          <input id="newEmbed" type="text" class="inactive" readonly="readonly" disabled="disabled" />
        </fieldset>
      </form>
    </div>

  </body>


</html>

{'fraction_non_alphanumeric': 0.16190221747261554, 'fraction_numerical': 0.0032059845044082286, 'mean_word_length': 2.572519083969466, 'pattern_counts': {'":': 0, '<': 105, '<?xml version=': 0, '>': 105, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5118971', 'n_tokens_mistral': 1162, 'n_tokens_neox': 1128, 'n_words': 301}