Learning web development: Marking guides and questions

learning

(Janet Swisher) #63

4 posts were merged into an existing topic: “Structuring a page of content” exercise


(Janet Swisher) #69

3 posts were split to a new topic: How can I help with Learning Area tutorials?


(Janet Swisher) #73

3 posts were split to a new topic: CSS padding


(Janet Swisher) #76

2 posts were merged into an existing topic: Assessment for “Marking up a letter”


(Janet Swisher) #78

A post was split to a new topic: “Adding features to our bouncing balls demo” assessment


(Janet Swisher) #79

3 posts were split to a new topic: CSS floats


(Janet Swisher) #82

2 posts were merged into an existing topic: “Adding features to our bouncing balls demo” assessment


(Janet Swisher) #84

173 posts were merged into an existing topic: “Mozilla splash page” assignment


(Janet Swisher) #97

5 posts were merged into an existing topic: Assessment for “Marking up a letter”


(Janet Swisher) #104

A post was merged into an existing topic: Assessment for “Marking up a letter”


(Janet Swisher) #117

3 posts were merged into an existing topic: Assessment for “Marking up a letter”


(Janet Swisher) #130

2 posts were merged into an existing topic: Assessment for “Marking up a letter”


(Janet Swisher) #133

2 posts were merged into an existing topic: Assessment for “Marking up a letter”


(Janet Swisher) #147

2 posts were merged into an existing topic: Assessment for “Marking up a letter”


(Janet Swisher) #152

A post was merged into an existing topic: “Marking up a letter” assignment


(Janet Swisher) #153

2 posts were merged into an existing topic: “Structuring a page of content” assignment


(Janet Swisher) #157

2 posts were merged into an existing topic: “Structuring a page of content” assignment


(Janet Swisher) #254

A post was merged into an existing topic: “Marking up a letter” assignment


(Mauro Di Bert) #255

Hi @chrismills!!! How are you? Sorry for my disappearance! hehe, we’re working a lot over here! And now… I came back with my questions! hehe

I’m on the first septs of Java Script and cannot understand why after the second line you use “[i]”. I hope don’t bother you with sth maybe silly! Have a nice day!

Active learning: Printing those products!

for(var i = 0; i < products.length; i++) {
 var subArray = products[i].split(':');
 var name = subArray[0];
 var price = Number(subArray[1]);
 total += price;
 itemText = name + ' — $' + price;

(Markhwebster) #256

Hi, thanks for creating all these lessons! I’ve been using some time off work to study JavaScript here at your awesome website.

I got all the way thru to your IndexedDB notes demo lesson with very few problems. https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Client-side_web_APIs/Client-side_storage

But now I’ve got some strange problems with the ‘notes demo’ exercise. It works in some places, but not others.

I can get my code to work when I upload to my server and view it on my iPhone in either Chrome or Safari.

I can also get my code to work when I use Safari on my 2016 macbook. Here is my code:
http://websterart.com/html/study-js/toDoIndexed/indexed.html

But my code will not work when I view the same page in Chrome or Firefox on my macbook.

However, when I posted the exact same code at codepen, it works great in Chrome on my macbook:

But that same code won’t work locally on my macbook in Chrome, Firefox or Safari, I’m using xxamp.
http://localhost/www/html/study-js/toDoIndexed/indexed.html

Anytime the code won’t work, whether it’s local on my macbook, or online in Chrome on my server http://websterart.com/html/study-js/toDoIndexed/indexed.html

It throws this error:
////
Uncaught DOMException: Failed to execute ‘transaction’ on ‘IDBDatabase’: One of the specified object stores was not found. “and it says the error is on line 97 of my indexed.js file.
////
Any thoughts? I love this little toDo note app and would like to pretty it up if I could get it working everywhere.

Thanks for looking into it,

mark webster
websterart.com