Using Javascript and HTML in JSFiddle. I need to create a Class called CHAIN. My
ID: 668811 • Letter: U
Question
Using Javascript and HTML in JSFiddle. I need to create a Class called CHAIN. My Chain will be made up of LINKS. Each of those links will have an ID, a VALUE (a string), and a POINTER to the next link (NEXTLINK - which is simply a pointer to the id of the next link in the chain.
The code will show a Chain consisting of 5 links. I will also need to create a print function for the chain that will print the links in link order. You may need to create some functions to support this functionality.
If you can help please make the code as basic as can be, my knowledge in Javascript is limited, but progressing.
Explanation / Answer
will have an ID, a VALUE (a string), and a POINTER to the next link (NEXTLINK - which is simply a pointer to the id of the next link in the chain
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.