Help - trying to set front page as a button to go onto other pages

Help - trying to set front page as a button to go onto other pages
0

#1

Hey guys,

I am new to FCC and going ok so far and I need some help for my coding.I am trying to set my front page to go onto other pages like portfolio etc. but no hope for now.

I tried that with button tag it worked but I want the background appearance in border to remain the same as it is.

James Smith

Digital Illustrator | Graphic Designer | Painter

#mainborder {
border: solid black 2px;
font-family: Lucida Console;
font-size: 15px;
color: black;
padding: 200px;
text-align: center;

Is there anyway to do it in HTML/CSS ?

Thanks in advance.


#2

button onclick=“function()”>
div id=“mainborder”>
h1>James Smith
h2>Digital Illustrator | Graphic Designer | Painter</h2

</div </button