User Profile
Collapse
-
Hi! Thanks for your support Gits. I am only pasting a code as advised by a book I am learning from. Have checked the code for every comma etc and it is the absolute copy as printed in the book. However am not getting the numbers printed. Am using sublimeteaxt editor, what should the code be for listing? shouldn't <Li> command be used somewhere? Do continue your support.Appreci ate much. -
List of numbers 1-10 not appearing.
...Code:<!DOCTYPE html> <html> <head> <title>Hello, HTML!</title> <script> function countToTen() { var count = o ; while (count < 10) { count ++ ; document.getElementById("theCount").innerHTML += count + "<br>"; } } Code-Line Before Listing Code </script> </head> -
-
check money at ATM program
Directions:
Using the flowchart below, write the code to represent checking your balance at the ATM. The yellow diamonds represent conditional statements and the blue rectangles with rounded corners represent what should be printed to the console.
Flowchart for checking your balance at the ATM (Click the image to enlarge the flowchart).
Use the following variables in your solution:
balance - the account balance... -
Shalu07 started a topic am pasting a suggested code on Javascript but getting a response Undefined. kindly hein Javascriptam pasting a suggested code on Javascript but getting a response Undefined. kindly he
Code:document.body.addEventListener('click', function () { var myParent = document.getElementById("Banner"); var myImage = document.createElement("img"); myImage.src = 'https://thecatapi.com/api/images/get?format=src&type=gif'; myParent.appendChild(myImage); myImage.style.marginLeft = "160px"; });
No activity results to display
Show More
Leave a comment: