so wouldn't I have to target the title tag itself ... but I don't think that's possible
Matthew
@Krimsonmedic
What are you asking then? maybe I missed something, I thought you wanted to center your title, but it wasn't working in HTML?
Nicholas
@nick88p
No, I don't have access to the HTML
Not directly anyway. I am using a free wordpress theme and need to manipulate it via plugin
AGUGUO CHINENYE
@aguguo
Objective: Build a CodePen.io app that is functionally similar to this: https://codepen.io/FreeCodeCamp/full/NNvBQW/. Fulfill the below user stories. Use whichever libraries you need. Give it your own personal style.
Nicholas
@nick88p
All I have is css + js
Thanks for your help btw.
AGUGUO CHINENYE
@aguguo
please i dont understand this stage, can someone help me
Matthew
@Krimsonmedic
Try the Jquery, I think that's how you change an element's class... I'm not positive but I think it treats HTML elements as classes even if they aren't designated as that
Nicholas
@nick88p
I tried that before. Didn't work.
idk, weird
Matthew
@Krimsonmedic
I'm not sure then, without being able to add an identifier to it via the HTML, then targeting it like that.. I don't know
achudoz
@achudoz
Oh man it is so annoying how codepen handles some things for you (even forbids you to handle them yourself) and that makes you forget about other things. When I am doing the challenges, the first stuckness is always that I forget to add jQuery and then spend 10 -30 minutes annoyed why it doesn't work even though everything seems to be in order.
Nicholas
@nick88p
ok, thx man
Matthew
@Krimsonmedic
w3 schools says do it without the . at the front
achudoz
@achudoz
But I have a question. What are the (dis)advantages of using $.ajax and $.getJSON. They seem to be doing the same thing.
@kirbyedy ok, I guess that answers my question. I however don't see how .getJSON is so much easier. I was using it up until now and now trying to .ajax for the first time and it just seems so much easier to read and to construct than stitching together an url in .getJSON. But I guess I might very well change my opinion when I get more experience with both.
_
CamperBot
@camperbot
achudoz sends brownie points to @kirbyedy :sparkles: :thumbsup: :sparkles:
hey guys, My twitch viewer project works fine it displays the information but the links you click won't go all the way through to the channel although if you type in the normal channel it does can anyone just have a look please :) thank you in advance http://codepen.io/yoerivw/full/YGNbLQ/
achudoz
@achudoz
@GoingAllTheWayUp look at the geolocation leson of the JSON/AJAX unit right before these challenges. the code for that is right there
@kirbyedy it seems it is the right link, I just can't get through to the real channel when I click
not even FCC link
kirbyedy
@kirbyedy
I clicked on the freecodecamp and it went
Yoerivw
@Yoerivw
@Yoerivw maybe it is something on my browser let me try another browser :)
kirbyedy
@kirbyedy
the other channel not
Cengiz Gonen
@cgonen
@Yoerivw should be working now, i think it was server related.
wait, this is really odd.
If i right click the link and open in new tab, it works.
Yoerivw
@Yoerivw
yes mine too, maybe it could have something to do with the way I target it to another tab ?
with the target=_blank statement ?
achudoz
@achudoz
@Yoerivw it works when rightclick/open in new tab. and you ARE using target="_blank" so i guess it should work. I heard that codepen has issue with opening links, so it might be it
Yoerivw
@Yoerivw
ok, thank you for the help in checking ! I'll try and see if there isn't an option to open links in new tabs except just new windows.
achudoz
@achudoz
@Yoerivw what I sometimes do is that I created a free webhosting account and when I am convinced that something should work but might be an issue of codepen, I try to run it over there. Plus it trains you to remember and use <doctype>,<meta>, <script>, etc. which you never use in codepen