Help! #129367
Unanswered
KLNewton
asked this question in
Repositories
Help!
#129367
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
Please help, I'm losing my mind. This seemed to load fine (mostly - background image refuses to load) through website upload, however desktop app upload is having issues and not giving me a link to view the site remotely. I've now deleted both repositories (again) with an idea to try again tomorrow/whenever I receive an answer :(
The main issue is no matter what I try, the background image will not load. I've been trying for over 2hrs, YouTube and other searches have been of no use. I've tried ./ ../ .. and it has always been .jpg not .JPG also no spelling errors for either link.
HTML:
<title>DOM Manipulation P1</title>CSS:
/* General Styles */
.main-content .person {
font-size: 1.6rem;
color: red;
text-transform: uppercase;
margin-top: 20px;
}
.button-area button {
background-color: #262626;
color: #ffffff;
font-size: 1.3rem;
padding: 10px 15px;
margin-top: 20px;
border-radius: 5px;
}
.button-area button:active {
background-color: lightblue;
}
JavaScript:
// Variables
let btn = document.querySelector("#new-quote");
let quote = document.querySelector(".quote");
let person = document.querySelector(".person");
const quotes = [{
quote:
"The best way to find yourself is to lose yourself in the service of others."
,person:
Mahatma Gandhi
}, {
quote:
"If you want to live a happy life, tie it to a goal, not to people or things."
,person:
Albert Einstein
}, {
quote:
"At his best, man is the noblest of all animals; separated from law and justice he is the worst."
,person:
Aristotle
}, {
quote:
"Your time is limited, so dont waste it living someone else's life."
,person:
Steve Jobs
}, {
quote:
"Tell me and I forget. Teach me and I remember. Involve me and I learn."
,person:
Benjamin Franklin
}, {
quote:
"If you look at what you have in life, you'll always have more. If you look at what you don't have in life, you'll never have enough."
,person:
Oprah Winfrey
}, {
quote:
"It does not matter how slowly you go as long as you do not stop."
,person:
Confucius
}, {
quote:
"Our lives begin to end the day we become silent about things that matter."
,person:
Martin Luther King, Jr.
}, {
quote:
"Remember that not getting what you want is sometimes a wonderful stroke of luck."
,person:
Dalai Lama
}, {
quote:
"The journey of a thousand miles begins with one step."
,person:
Lao Tzu
}, ];
btn.addEventListener("click", function(){
})
Beta Was this translation helpful? Give feedback.
All reactions