Github Pages Website
i've forgotten how to get other pages to work, on ghpages, and it says that the page doesn't exist, lolz...
51 Replies
Send the link to the repo again
it's a new one, decided to essentially move to a diff repo, but yea--here:
https://github.com/Xlade-The-Creator/website
And you're referring to the links at the bottom of index.html? They seem to work fine for me
hm
one sec
Maybe try a hard refresh on the page CTRL+F5?
alr, guess i just needed to do a hard/forced refresh, sorry... ty, bro
lmao, i did
for me it's ctrl + shift + R
Same thing different keybind if I'm not wrong 👍🏽
ye
and ty
....I can't figure out why my css doesn't work--😭
In your head tag, include the file extension
.css
i just reverted it
it didn't do anything
lol
wait
nvm
gh slow
ty, lol
Lol yeah it takes a bit to deploy changes, you might be better off making changes locally, testing them locally, and committing them once you're sure all is good. Save you same time
kk
Are you using
br
elements for margin?I think so... basically using that element to put space between other elements/sections of text
You can do marginBottom with css and accomplish the same thing without polluting the DOM
Dom?
also, okay
I currently don't have any scripts, and I don't have any javascript implemented in my website yet—currently it's only strictly CSS and HTML, so I don't have any API's or anything like that involved, at the moment–
I did briefly read some of the paragraphs and skim through the rest of it, though
Ty
DOM can be manipulated with JS, but I’m referring to how when creating nodes with HTML they get placed into it. That document needs to be sent to the client, so having all the extra elements will increase load times.
Alright, ty
how would I do this?
Something like this
tysm
wait
how do i change the amount of space, between each section of content?...
You can increase the margin "20px" => "100px" for example, or however much margin you need
ah, right, kk
tnx again
how do i put space between the two pieces of text?... lmao
You can use the
line-height
property on the <p>
to do that.
Just a heads up, you have a </div>
within your <p>
, the </div>
should come after </p>
if it's after, it messes up-
You likely need to review your entire HTML then, you probably have a missing closing tag or something
nvm, it's fixed
it didn't mess up
Also, think I already mentioned, you don't need to include the class attribute in your closing tags
All you need to do is
Same goes for all closing tags like
div
and h2
heh-
haven't changed those yet, sry
lol
the two sections of text, are one <p>
Not sure what you mean?
line height would change the line height for both pieces of text, right?
i only want to put space between the two, where the line break is, basically
Which pieces of text are seperate?
and
??
ye
they are in one <p>
So create a separate
<p>
for both, and on the first one you can add margin-bottom
to the firstseparated by <br>
bruh
alr, ig
lmao
That is the correct way to do it lol
alright
wait, can I add more than one class to a single element?
Yep, can add as many as you like
like: <p class="border-text", class="border-text-one">?...
One
class
attribute, multiple class names
ah, kk
ty
this didn't do anything
wait
sry
one sec
yea
nothing
lol
bruh
Can you show the html portion you're talking about, and the css for it
....
i got it now
-_-
Ok 😄
gonna do what u suggested earlier... do stuff local, then put on gh
Solid idea mate!
lmao, tyvm, bro
Not a problem at all bud. Just in the future, try to show code and changes you've made, it will make it a lot easier to help see what you're doing/changing 🙂
alright