hi, doing the build a to do list app. and now totally blind and using a screen reader, jaws, nvda and windows narrator. when i have extra spaces or stray characters at the end of my code, then by googling and trying to figure that out, then it does not tell me the stray character and does not say e or something else, just blank. and tried that with jaws 2026, nvda 2025.3 and windows narraotr windows 11 pro 2025 latest update. so, now doing step 36, i have the for each feature of the function moved into the task data function, but fcc is being very stubborn. and not passing, so, reset the lesson, did a hard refresh, rewrote the code for the function, but still not passing, you need to improve the accessibility of the editor for screen reader users, maybe a special module or some accessibility settings, and then detects that i am using a screen reader, says for example you need to then move the for each function, maybe what if any stray characters and tells me if any hidden characters or hidden spacing or hidden and on which line, that would help a lot of blind developers and this project is going to take me at least 2 months whith accessibility challenges and roadblocks. rant over. so if quincy is seeing this or a lead mod who can make the changes, very frustrating when you cannot see, try writing code with your eyes closed and using a screen reader and the keyboard. you dont know, as you cannot walk in my shoes. defintely rant over.
marvin.
ps: pasting my code, the error message and a link to the step.
any help.
i know my code is fine, did double check with an example i found online to check if my code is the issue, no it is fcc code checker. and very frustrating after multiple resets, refreshes and multiple rewrites of the code. no wonder getting frustrated.
java script:
// — DOM elements —
const taskForm = document.getElementById(“task-form”)
const confirmCloseDialog = document.getElementById(“confirm-close-dialog”)
const openTaskFormBtn = document.getElementById(“open-task-form-btn”)
const closeTaskFormBtn = document.getElementById(“close-task-form-btn”)
const cancelBtn = document.getElementById(“cancel-btn”)
const discardBtn = document.getElementById(“discard-btn”)
const tasksContainer = document.getElementById(“tasks-container”)
const titleInput = document.getElementById(“title-input”)
const dateInput = document.getElementById(“date-input”)
const descriptionInput = document.getElementById(“description-input”)
// — Data store —
const taskData =
let currentTask = {}
// — Functions —
const reset = () => {
titleInput.value = “”
dateInput.value = “”
descriptionInput.value = “”
taskForm.classList.add(“hidden”)
currentTask = {}
}
const addOrUpdateTask = () => {
const index = taskData.findIndex(task => task.id === currentTask.id)
const task = {
id: titleInput.value.toLowerCase().split(" ").join("-") + "-" + Date.now(),
title: titleInput.value,
date: dateInput.value,
description: descriptionInput.value
}
if (index === -1) taskData.unshift(task)
}
// — Step 36: update tasks container —
const updateTaskContainer = () => {
tasksContainer.innerHTML = “”
taskData.forEach(task => {
tasksContainer.innerHTML +=
'<div class="task" id="' + task.id + '">' +
'<p><strong>Title:</strong> ' + task.title + '</p>' +
'<p><strong>Date:</strong> ' + task.date + '</p>' +
'<p><strong>Description:</strong> ' + task.description + '</p>' +
'<button type="button" class="btn">Edit</button>' +
'<button type="button" class="btn">Delete</button>' +
'</div>'
})
}
// — Event listeners —
openTaskFormBtn.addEventListener(“click”, () => taskForm.classList.toggle(“hidden”))
closeTaskFormBtn.addEventListener(“click”, () => {
if (titleInput.value || dateInput.value || descriptionInput.value) {
confirmCloseDialog.showModal()
} else {
reset()
}
})
cancelBtn.addEventListener(“click”, () => confirmCloseDialog.close())
discardBtn.addEventListener(“click”, () => {
confirmCloseDialog.close()
reset()
})
taskForm.addEventListener(“submit”, e => {
e.preventDefault()
addOrUpdateTask()
updateTaskContainer()
reset()
})
errors:
Sorry, your code does not pass. Keep trying.
You should move taskData.forEach() and its content into the updateTaskContainer() function.
link to the step: