These are chat archives for codefellows/sea-f1-TAs/Brian

22nd
Sep 2014
Ryan Christensen
@randhyllcho
Sep 22 2014 04:54
my git init tells me "Agreeing to x-code/iOS license requires admin privileges, please re-run as root via sudo" never seen this before and its not letting me do anything. Any one fish me out of this one?
jongmink
@jongmink
Sep 22 2014 21:00
Hi, I don't know how to add jQuery in my html file. I added "<script src="jquery-1.11.1.min.js"></script>" to my html file, but it doesn't work...
Brian Caldwell
@Caldwerl
Sep 22 2014 21:19
Where are you adding it?
jongmink
@jongmink
Sep 22 2014 21:23
an HTML file....

<!DOCTYPE html>

<html>
<head>
<title>Upgraded guessing game</title>
<link rel="stylesheet" type="text/css" href="upgraded_guessing_game.css" />
</head>
<body>
<div id="title">Guessing Game!</div>
<h3>Pick a number between 1 and 10.</h3>
<div id="one">1</div>
<div id="two">2</div>
<div id="three">3</div>
<div id="four">4</div>
<div id="five">5</div> <br />
<div id="six">6</div>
<div id="seven">7</div>
<div id="eight">8</div>
<div id="nine">9</div>
<div id="ten">10</div>
<div id="chance">Chances left: </div>
<script src="jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="upgraded_guessing_game.js"></script>
</body>
</html>

Brian Caldwell
@Caldwerl
Sep 22 2014 21:23
Do you have that file in the directory of your html file?
jongmink
@jongmink
Sep 22 2014 21:24
jquery?
Brian Caldwell
@Caldwerl
Sep 22 2014 21:24
yes
jongmink
@jongmink
Sep 22 2014 21:24
no..;;;
Brian Caldwell
@Caldwerl
Sep 22 2014 21:24
Thatd be it
You can link to the online copy
or download it yourself
One second
jongmink
@jongmink
Sep 22 2014 21:24
I see....;; I'll google it and download it.
Brian Caldwell
@Caldwerl
Sep 22 2014 21:24
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
Here is a link to the online copy so you dont need to donwload
jongmink
@jongmink
Sep 22 2014 21:25
oh, thank you so much!
Brian Caldwell
@Caldwerl
Sep 22 2014 21:25
No problem
Just remember if your pc is offline and you try to load it wont be able to get it
jongmink
@jongmink
Sep 22 2014 21:26
I see. I should download it just in case. Thanks. :)
Brian Caldwell
@Caldwerl
Sep 22 2014 21:27
No problem
Matthew Conquergood
@kristjin
Sep 22 2014 23:11
So I'm still working on this game update and finding that I hate HTML and CSS with my whole entire heart. There. I said it. That said, it appears that browsers don't automatically resize a font to an appropriate size based upon font-size: small or font-size: large in the CSS file. Is there ANY way to make the browser dynamically adjust your font size so that if the window is resized it doesn't eff up the layout? This isn't even part of the assignment and yet knowing that this html will look different on any one else's monitor if they have a diff resolution than I have is making me absolutely crazy.
Brian Caldwell
@Caldwerl
Sep 22 2014 23:12
em is the go to
1em is 100% or regular
0.5em is half normal size
Matthew Conquergood
@kristjin
Sep 22 2014 23:13
"normal"
Brian Caldwell
@Caldwerl
Sep 22 2014 23:13
1.5em is 150% etc
Matthew Conquergood
@kristjin
Sep 22 2014 23:13
What's considered normal?
Brian Caldwell
@Caldwerl
Sep 22 2014 23:13
100%
Sorry haha
Well just know that getting things to look good when resizing happpens is a bit more advanced topic
If it looks good baseline, thats good enough for now
Matthew Conquergood
@kristjin
Sep 22 2014 23:14
I know, which is part of why I'm really frustrating myself right now.
I know this doesn't matter right now.
And yet, it matters to me like... idk, it's some kinda neurosis.
seriously, it's a sickness.
Brian Caldwell
@Caldwerl
Sep 22 2014 23:14
It happens
Matthew Conquergood
@kristjin
Sep 22 2014 23:18
Thanks a whole lot. I appreciate the help. I suck at CSS. This is true. I'm half decent at JS/JQuery but I truly suck at CSS.
Brian Caldwell
@Caldwerl
Sep 22 2014 23:19
Making things look good is hard
Matthew Conquergood
@kristjin
Sep 22 2014 23:19
It is when you have to use HTML and CSS to do it, that's for sure.
I find HTML's structural methodology to be quite confusing. Not to mention the way it treats everything like it's some kind of word document.