I learned how to build the object in javascript.
This is our constructor for the data input.
From the HTML, I got the values from user, and store them in this object.
So, I don't have to make other array for store these data. It is important to have this structure in project.
Our team decided to put the values in local storage temporaily like this. stringfy function is what I made in the object.
location.href is used to move to other html file. So, when I create the event, I store the data in local storage, and show the created event on the user dashboard.
This is the object name "stringfy."
We put the data using split() to make sure each data put seperately.
'Web Programming ๐ > Front-End ๐ฆธ๐ปโโ๏ธ' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
Javascript DOM "radio checked" (0) | 2023.04.19 |
---|---|
Javascript Event Exercise to Move Picture (0) | 2023.04.15 |
Javascript Event Object, Apr/10/2023 (0) | 2023.04.11 |
Javascript Events, Apr/08/2023 (0) | 2023.04.09 |
Javascript Event Handling, Apr/5/2023 (0) | 2023.04.06 |