Jump to content

webmanz

Member
  • Posts

    71
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by webmanz

  1. Does this mean StudioWeb's MySQL course is outdated? That other's will encounter the same glitches?
  2. It managed to work, not sure what I did different. However now I have it playing up again here: //<body onResize="sniffer('window resized')" onload="alert('page loading')"> Does this look right to you? Alert ran, not meant since I used 2 forward slash.
  3. chapter 3 lesson 1 The colors stayed the same in my version of Sublime Text when it came to letting me know I did a mistake with my coding as per the video. I'm using free version of Sublime Text version 3.2.2
  4. Can it be done with Sublime Text internally without having to go to lipsum.lipsum.com/ ?
  5. What code is used to program Uber, Tinder App's?
  6. How do I get Lorem ipsum in Sublime Text? Is there a shortcut key built in?
  7. I got the same results as Stef in his video title Chapter 1 Lesson 8 (Javascript). The video did not say to check console I just decided to. Here's the error I got and why did this occur in one browser but not in Google Chrome browser: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." Here's my code from Sublime Text: <!DOCTYPE html> <html> <head> <title> Chapter 1 Javascript part 5</title> <style type="text/css"> </style> <script> function myFunction() { alert("Display Message"); prompt ("Please enter your name" , "Name .."); } </script> </head> <body> <h1> Welcome to Javscript</h1> <button id="butt" type="button" onmouseover ="myFunction()">Try it</button> <p onmouseover="myFunction()"> "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."</p> <p > "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."</p>
  8. Issue is persisting, haven't timed it precisely but estimating at around 15min of inactivity on the course then I'm asked to logo back in. Some sites have 'keep me logged' in boxes to check.
  9. <h1> is working, you were right its a blank page with title, that's why I couldn't see anything. Thanks
  10. I can right click on .html file from desktop, but problem is all I see is blank document, I don't see the title saying Javascript.
  11. This did not open in my browser even though saved as html file. <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Javascript</title> </head> <body> </body> </html>
  12. Difference between these two index? For ( index = 0; index < dogs.length; index + +); and indexOf
  13. Are all objects data types or only array objects?
  14. Can someone tell me why my code didn't produce the same results as in Chapter 7 lesson 4. I only managed to get Loop Count: 10 to appear, I'm not able to get Loop Count: 0 to 9. <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title> Ch7 Javscript Loops</title> <script> function doItAgain(message){ for (var i=10; i>=0; i--) { var target = document.getElementById("target"); target.innerHTML = "LoopCount:" + i + "<br>" + target.innerHTML; cosole.log("LoopCount is now: " + i); } console.log ("End for loop"); var button = document.getElementById("looper"); button.value="Done looping!"; //button.style.fontSize="34px"; } </script> </head> <body> <h1>Looping can make your code spin!</h1> <input type="button" id="looper" value="Do it again!"> <p id="target"></p> <script> document.getElementById("looper").onclick=function(){ doItAgain(); this.style.color="red"; } </script> </body> </html>
  15. for ( var i = 10 ; i > = 10 ; i - - ) Why doesn't the i - - end in a semi-colon then parenthesis ? i.e. like this: i - - ; )
  16. Is Dreamweaver still relevant?
  17. 1. Can we say these Wordpress site builders appear to be analogous to Dreamweaver? 2. Who tends to gravitate towards Wordpress site builder's? 3. Are we taught about these site builders or Wordpress in Stef's courses?
  18. Could we have used any letter besides "i" and still it work? example: for ( var t = 10 ; t > 10 ; t - - )
  19. What does the " i " stand for in i - - ? Special meaning? for ( var i = 10 ; i > 10 ; i - - ) and is the above same as saying: var i=10; i > 10; i = i - 1;
  20. 3.52 minute mark of chapter 7 part 3 Loops Q1: Why does the + target.innerHTML added at the end (see code below) appear in ascending order on the web page rather than descending like it does in the console.log? I do realize that you can achieve descending result by adding + target.innerHTML in the front to match console.log but I'm curious why when added to the end it gives a ascending order rather than descending order? Here's the code from that lesson 3.52 minute mark of chapter 7 video part 3 Loops: function doItAgain(message){ var loopCount=5; while (loopCount > 0) { var target = document.getElementById("target"); target.innerHTML="LoopCount:" + loopCount + "<br> + target.innerHTML; <------------ referring to this line console.log("loopCount is now:" + loopCount); loopCount=loopCount -1; } console.log ("End loop"); var button= document.getElementById("looper"); button.value="Done looping!"; }
×
×
  • Create New...