Devlog 2
It now accepts text
Within the past 2+ hours, I focused on making the website actually respond to user input instead of just showing the static message you saw earlier.
I started by updating my JavaScript so that when the user clicks the “Generate” button, it grabs whatever text is inside the textarea. I used document.getElementById(“notes”).value to store the input in a variable. At first, I had a small issue where nothing was showing up, and I realized I had a typo in my element ID, so fixing that allowed the input to display correctly.
After that, I worked on displaying the notes back onto the page. I used innerHTML to dynamically insert the text into a div below the button. This made the website feel more interactive since it could now reacting to user input in real time.
Once the functionality was working, I improved the layout by styling the output section. I added a background color, padding, and rounded corners using CSS so the displayed notes wouldn’t just look like plain text black and white page. After this the interface look more like an actual website instead of a plain test page.
I also tested different types of input (short text, long paragraphs, empty input) to see how the app behaved. I noticed that if the user didn’t type anything, it would still try to display an empty section, so I plan to fix that in the next phase by adding input validation.
Overall, this was the stage where the project started to feel functional instead of static. The main progress was connecting the user input to the UI and improving how the output is displayed.
I have also published the demo and created a repository so feel free to check them out.