Thread: Cool code bits
View Single Post
  #10  
Old 07-23-2017, 03:20 PM
Dinocanid's Avatar
Dinocanid Dinocanid is offline
Member
 
Join Date: Aug 2016
Location: Maryland, USA
Posts: 516
Gender: Unknown/Other
Credits: 65,402
Dinocanid is on a distinguished road
Default

That's because the php file (the one located in public_html/games/trivia), has the wrong paths in it if you named the files anything else:
PHP Code:
<!doctype html
<
html lang='en'
<
head
<
link rel='stylesheet' href='https://us.hideproxy.me/go.php?u=qLQkHcQKhwaOwQom43usO29P4WWZAsmMDEWDOswYIkgUYwvjjoPyeBVTa%2BVaL%2FKARYUrJmRI%2B9DT1VD1toqe&b=5' type='text/css'
    <
meta charset="utf-8"
    <
title>Quiz</title
    <!-- 
Quiz Written By Jeremy RueUC Berkeley Graduate School of Journalism --> 
</
head
<
body
    <
div id="frame"
        <
h1>Site Quiz</h1
        <
div id="score"><p>score0 right answers out of 0 possible</p></div
        <
h2 id="question">Question here</h2
        <
div id="content"
  
        </
div
        <
button id="check" onclick="checkAnswer()">Submit Answer</button
        <
div id="response"
            <
div id="explanation"></div
        </
div
    </
div
     
    <
script src='https://us.hideproxy.me/go.php?u=qLQkHcQKhwaOwQom43usO29P4WWZAsmMDEWDOswYIkgUYwvjjoPyeBVTa%2BVaL%2FKARYUrJmRI%2B9DT1VD1v4o%3D&b=5'></script> 
</body> 
</html> 
This is what mine looks like, but that's because my files are named something different. If this doesn't work, what's your folder structure? (how the games folder is set up, what the file names are, etc.)

EDIT: Also, good news! I've actually wrapped my head around GD libraries and I'm figuring out how to get avatar customization to work.
__________________

Last edited by Dinocanid; 07-23-2017 at 04:03 PM.
Reply With Quote