<commit_before><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <style>
        .colorElement {
            background: mediumaquamarine;
            color: #fff;
        }

        .noColorElement {
            background: #fff;
            color: #000;
        }

        ul li {
            list-style: none;
            padding: .5em;
            text-align: center;
        }

        ul {
            padding-left: 0;
        }
    </style>

</head>
<body>

<ul>
    <li id="li1">Wakame</li>
    <li id="li2">Arame</li>
    <li id="li3">Nori</li>
    <li id="li4">Kombu</li>
    <li id="li5">Dasima</li>
</ul>


<script>
    document.addEventListener('DOMContentLoaded', function() {

        var seaweed = ['li1', 'li2', 'li3','li4', 'li5'];
        var i = 0; // index of the first item to show

        Array.prototype.except = function(val) {
            return this.filter(function(x) { return x!== val; });
        };

        setInterval(function(){
            console.log(seaweed[i]);
            document.getElementById(seaweed[i]).classList.add("colorElement");


            var not_i = seaweed.except(seaweed[i]);<commit_msg>Add comments to seaweed.html<commit_after><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <style>
        .colorElement {
            background: mediumaquamarine;
            color: #fff;
        }

        .noColorElement {
            background: #fff;
            color: #000;
        }

        ul li {
            list-style: none;
            padding: .5em;
            text-align: center;
        }

        ul {
            padding-left: 0;
        }
    </style>

</head>
<body>

<ul>
    <li id="li1">Wakame</li>
    <li id="li2">Arame</li>
    <li id="li3">Nori</li>
    <li id="li4">Kombu</li>
    <li id="li5">Dasima</li>
</ul>


<script>
    // set interval of .5 second and iterate over each item in an array
    // change the styles of that array, and remove them from every other array
    // continue until reaching the end of the array range, then start over in an infinite loop
   
    
    document.addEventListener('DOMContentLoaded', function() {

        var seaweed = ['li1', 'li2', 'li3','li4', 'li5'];
        var i = 0; // index of the first item to show

        Array.prototype.except = function(val) {
            return this.filter(function(x) { return x!== val; });
        };

        setInterval(function(){
            console.log(seaweed[i]);
            document.getElementById(seaweed[i]).classList.add("colorElement");


            var not_i = seaweed.except(seaweed[i]);
{'fraction_non_alphanumeric': 0.1492087415222306, 'fraction_numerical': 0.013187641296156745, 'mean_word_length': 1.8796095444685466, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, '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': '2980576', 'n_tokens_mistral': 881, 'n_tokens_neox': 834, 'n_words': 198}