Jump to content

webmanz

Member
  • Posts

    71
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by webmanz

  1. On 12/19/2019 at 6:20 PM, JamesBurns said:

    Top 10 Ecommerce platforms to build an eCommerce website

    1. Shopify - Getting up and running quickly
    2. Selz - Full-featured drag-and-drop store builder
    3. OpenCart - Total customization
    4. BigCommerce - To multiple storefronts on one platform
    5. 3dcart -Built-in marketing and management features
    6. Big Cartel -Smaller stores with custom products
    7. WooCommerce -Adding a shopping cart to an existing WordPress site
    8. PrestaShop -A free platform
    9. Ecwid - selling on social media
    10. Wix - Simultaneously creating a store and a blog

    Out of that list which do you prefer James?

  2. 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>

  3. On 10/24/2018 at 4:30 AM, Toni said:

    What do you mean that you can't right click it 😮 What kind of OS are you using ?

    How about trying to write an <h1> and see  if text shows up ?

    What browser do you use ?

    <h1> is working, you were right its a blank page with title, that's why I couldn't see anything. Thanks

    • Like 1
  4. 4 hours ago, Toni said:

    Does it open with Editor ? You could try: Right click on .html file and Open With > Browser

    But you just have tittle on it so it's gonna be a blank page with title on top saying Javascript.

    Cheers

    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.

  5. 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>

  6. 8 hours ago, falkencreative said:

    I've built sites using Divi and other such builders, ...you'll lose the ability to easily edit the content or change functionality. 

    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?

  7. On 5/6/2018 at 1:10 PM, administrator said:

    Hi,

    i is just a variable to hold information. In this case, it is holding the count.

    Stef

    Could we have used any letter besides "i" and still it work?

    example:

    for ( var   t   =  10  ;    t   > 10   ;  t -  -   )

  8. 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...