These are chat archives for FreeCodeCamp/Help

Feb 2019
Randell Dawson
Feb 15 08:03
@aditya2000 There is also the forum.
Feb 15 10:41
Hello, good day everyone! :)
is there anyone out there? need some help with DOM manipulation
using vanilla JS

I am dynamically reproducing this div

<div class="hidden">
  <div id="calendarCellContainer">
    <div class="center fullWidth" id="daily">1</div>
            <select class="fullWidth" id="dayPay">
              <option value="8" selected>Full Day</option>
              <option value="4">Half Day</option>
              <option value="1">1</option>
              <option value="2">2</option>
              <option value="3">3</option>
              <option value="5">5</option>
              <option value="6">6</option>
              <option value="7">7</option>
              <option value="0">No Work</option>
              <option value="absent">Absent</option>
              <input type="number" min="0" max="16" placeholder=" OT: 0" class="fullWidth" id="otPay">
            <div class="remarkContainer">
              <select class="fullWidth" id="remark">
                <option value="none" selected>None</option>
                <option value="holiday">Holiday</option>
                <option value="partialHoliday">Special Holiday</option>
              <input type="number" placeholder="Cash Advance" class="fullWidth" id="vale">

the number of times it is reproduced is based on the number of days there are in a given month, this is a payroll system.

I can reproduce it whole, but I need the

<div class="center fullWidth" id="daily">1</div>

part to change the number to coincide with the date, so it should change from 1 to 31 each time the loop occurs

Niklas Meyer
Feb 15 11:21

I started on freeCodeCamp in 2017, but I think i never made an account.
Now I have a user with the stuff i did (can see it via id - bookmark), but no known email or password.
And an account via github.

Can I somehow merge the two, so that my github account has the progress I made on my user a few years back?

Feb 15 12:16
hello, something weird seems to be happening to my code. I have a div with a display: none; class, but it displays as undefined in one of my tables
on the DOM
it's not even on the same div as the div that contains the table :|
Christopher McCormack
Feb 15 14:32
@kinopotato can you share this in a codepen or similar so we can see and play with it?
Feb 15 21:14
hi question, is anyone good w/ databases? i'm trying to understand table relationships