User Profile

Collapse

Profile Sidebar

Collapse
Shalu07
Shalu07
Last Activity: Jan 11 '19, 01:38 AM
Joined: Jan 3 '19
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Shalu07
    replied to List of numbers 1-10 not appearing.
    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.
    See more | Go to post

    Leave a comment:


  • Shalu07
    started a topic List of numbers 1-10 not appearing.

    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>
    ...
    See more | Go to post
    Last edited by gits; Jan 9 '19, 08:42 AM. Reason: added code tags

  • Shalu07
    replied to check money at ATM program
    Thanks Gits! you were right. Regards
    See more | Go to post

    Leave a comment:


  • Thank you but it turned out to be fine.Warm Regards.
    See more | Go to post

    Leave a comment:


  • Shalu07
    started a topic check money at ATM program

    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...
    See more | Go to post
    Last edited by gits; Jan 7 '19, 12:39 PM. Reason: added code tags

  • am 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";
    });
    See more | Go to post
    Last edited by gits; Jan 3 '19, 03:05 PM. Reason: added code tags
No activity results to display
Show More
Working...