What's new

Welcome to the forum 👋, Visitor

To access the forum content and all our services, you must register or log in to the forum. Becoming a member of the forum is completely free.

Buttons and linking in same page

seaskimmer

New member
Joined
Sep 8, 2021
Messages
1
Reaction score
0
Hey! I'm VERY new to html, css and javascript and I've mainly just jumped in at the deep end and been playing around seeing what I can get to work.
Was wondering if anyone can help me with this problem- I want to get click on a button and get it to link to another part of my page. something like this...

<button class="button button1" onclick="go to my id bit" >Click Me.</button>

<p id="here's my id bit"</p>

Sorry if this seems simple but I've tried different things and I can't get it to work. Like I said I'm VERY new to this so if your going to insult me for my lack of knowledge then save it for someone else.

Thanks in advance. (Oh, this is not for a website but just for fun on my desktop using my local files.)
 

Theme customization system

You can customize some areas of the forum theme from this menu.

  • Wide/Narrow view

    You can control a structure that you can use to use your theme wide or narrow.

    Grid view forum list

    You can control the layout of the forum list in a grid or ordinary listing style structure.

    Picture grid mode

    You can control the structure where you can open/close images in the grid forum list.

    Close sidebar

    You can get rid of the crowded view in the forum by closing the sidebar.

    Fixed sidebar

    You can make it more useful and easier to access by pinning the sidebar.

    Close radius

    You can use the radius at the corners of the blocks according to your taste by closing/opening it.

  • Choose the color combination that reflects your taste
    Background images
    Color gradient backgrounds
Back