Can't put my CSS.main

Hi guys I am having a problem linking up these two files,it keeps saying 404 from codepen,will be happy if you can be of help,thanks.

1 Like

Can you be more clear @adaezebaby? What is the exact problem? Where is the codepen link? What are you trying to do?
Thanks!

1 Like

I wil like you to look at this,it’s complex to explain.

1 Like

If you look at the HTML I put a button below(that is the last thing in the HTML code,when I press the button it keeps on saying :
404
I’m afraid you’ve found a page that doesn’t exist on CodePen. That can happen when you follow a link to something that has since been deleted. Or the link was incorrect to begin with.

1 Like

The reason is just a typo. You did’nt put an opening double quotes for the a tag’s href attribute’s value!

<a href=https://codepen.io/adaezebaby/pen/dyXWaMr"> <-- no " after the href=!
1 Like

I will check it,thanks for helping!!!

1 Like

It’s still not working.

1 Like

Please share your current code for that link. It works for me.

1 Like

Kk I will share it now.

1 Like

This is it: You can view more drawings <ahref=https://codepen.io/adaezebaby/pen/dyXWaMr">here`

1 Like

You did’nt do what I said! There is no " after the href=! Also, add a space before the href.

1 Like

So sorry I made a mistake,thanks,I will do that now.

1 Like

Thanks so much,it’s working now,but there is one more problem.

1 Like

maybe if you write about it…

1 Like

It is not working the same way in Github:https://github.com/adaezebaby/adaezebaby.github.io/commit/06ff87197ca90ef7c4f807796b129351262669aa

1 Like

meanwhile, some tips about codepen:

  • codepen is a boilerplate, inside the HTML box only what’s visible on the page should be written: delete html, body, and head tags

  • there is a Analyze HTML tool, try to use it

  • hr is a self closing tag, you need to delete the closing </hr> tags

1 Like

this links bring to a commit, what do you want to show?

1 Like

The reason it is not working in GitHub is because you didn’t update the html file as I said.

1 Like

Please how do I do that when Github does not have a space for just HTML and just CSS?

1 Like

Just edit the index.html file you have in this project’s repo.

1 Like