Closed frankcollins3 closed 1 year ago
👎 @[i] [6:38am]
this attempt brings about the question: is @ a reserved keyword conventionally? whether by community concensus or by error? [6:42am]
also we can of course do $('elem').Siblings() but would rather use C# than JQ during this // both attempts utilize JQ and C# but want to target the element with the @ [6:49am]
chatGPT proposed solution:
error: trying to send 2nd arg @i through onclick params but if ID is properly set: regex the int id from string .replace() [6:53am]
code:
output:
[7:18am]
attempting to do: set ID to be index of the loop add data to DB. do a test by deleting the
error:
proposed approach: 1: @ is in the wrong spot it seems.
// forgot to include that the main doing right now is setting id to be index of loop. 2: change the index to precede the descriptive text in the id
3: another proposed approach would be to isolate the CSS files. Set id to be index only. // this method would have to separate concerns for later data-loops that would attempt the same since: they'd have the same id (which might not be a problem because the styling might be similar but worth mentioning)
possible improvements: