User Profile

Collapse

Profile Sidebar

Collapse
mattkrebs
mattkrebs
Last Activity: Nov 17 '19, 07:47 PM
Joined: Sep 30 '19
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Code works in "CodePen" but not "VS Code" --- Don't know how to fix it.

    Ive made a carousel that rotates in CodePen but will not rotate in VSCode. The attribute that makes it rotate is the one that says "data-ride="carousel" In other words if you take that attribute out it won't work.

    I'm hoping that someone could tell me why this is not working in VS Code.

    Here is the HTML


    Code:
    
    <!doctype html>
    <html lang="en">
    ...
    See more | Go to post

  • How do I display text given (by the person writing in an input box in my page) somewh

    Hello,

    I know I can reproduce what is written in input boxes in other input boxes --- like with "shipping" and "billing" addresses.

    However, I haven't been able to make it so I can present that entered data somewhere else - like when people enter data on a website and then there answers show up in "Settings."

    I tried adding: "document.getEl ementById("text ").value=(shipp ingZip.value);"...
    See more | Go to post

  • Can section:hover {} impact another HTML element?

    I know when in your CSS you write section:hover {} all of the things inside the curly brackets will apply to the "section"

    Is there a way to impact a different part of your html like for example if I wanted a text to disappear maybe I would write "(text) display:0;"

    If it is possible to have a different element be impacted I would like to know how you get that done.

    Thanks.
    ...
    See more | Go to post

  • Problem to combine 2 separate scripts properly

    1st piece of code allows me to use an alert to compile a list of grades:

    Code:
    <body onload="loadGrades()">
    <button onclick="myFunction()">Add a grade!</button>
    <p id="grades"></p>
    
    
    <script>
    var grades = [10,12,13];
    
    function loadGrades(){
    document.getElementById("grades").innerHTML =grades;
    ...
    See more | Go to post

  • Can't figure out where my mistake is. I want the two texts to turn blue and yellow.

    Code:
    <style>
    
    .blueback {
      background-color="lightblue";
      
    }
    .yellowback {
      background-color="yellow";
      
    }
    
    </style>
    
    <h1>
      Change CSS Classes
      
    </h1>
    <div id="d1">Hello</div>
    </br>
    <div id="d2">GoodBye</div>
    </br>
    ...
    See more | Go to post
    Last edited by gits; Oct 1 '19, 07:17 AM. Reason: added code tags
No activity results to display
Show More
Working...