1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Can anyone help with an HTLM code?

Discussion in 'BlackHat Lounge' started by Frustrated1, Nov 4, 2015.

  1. Frustrated1

    Frustrated1 Newbie

    Joined:
    Nov 3, 2015
    Messages:
    3
    Likes Received:
    1
    Hi,

    I am trying to create some "back" and "next" page buttons and I seem to be doing something wrong. Here are the button codes:

    <a href="#" class="button"/>Back ◀</a>

    <a href="#" class="button"/>Next ▶</a>

    I have tried to add the needed code to perform the task but either I am not doing something right or it just isn't working...can anyone help?

    Thank you! ;)
     
    Last edited: Nov 4, 2015
  2. Ste Fishkin

    Ste Fishkin BANNED BANNED

    Joined:
    May 14, 2011
    Messages:
    2,058
    Likes Received:
    8,214
    in place of the # you need to add the location of your next and previous pages

    if its a static website just put the page urls here, if its something more than this you will require javascript or php.

    If you are stuck I would seek the help of a professional or do a crash course on academy.
     
    • Thanks Thanks x 1
  3. bartosimpsonio

    bartosimpsonio Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 21, 2013
    Messages:
    12,751
    Likes Received:
    11,416
    Occupation:
    COINZ
    Location:
    BUYAH
    Home Page:
    • Thanks Thanks x 1
  4. dr4goncl5ws

    dr4goncl5ws Junior Member

    Joined:
    Aug 21, 2012
    Messages:
    189
    Likes Received:
    48
    Location:
    Behind You
    The above users gave good advice.

    I recommend going to http://www.codecademy.com/ and learning some HTML there. It's all interactive and made learning HTML quite enjoyable for me.
     
    • Thanks Thanks x 1
  5. blogbd1

    blogbd1 Power Member

    Joined:
    Apr 19, 2008
    Messages:
    569
    Likes Received:
    356
    Location:
    Undetected
    I strongly agree, its the best place to learn coding with fun. Interactive learning is the key.
     
    • Thanks Thanks x 1
  6. Frustrated1

    Frustrated1 Newbie

    Joined:
    Nov 3, 2015
    Messages:
    3
    Likes Received:
    1
    Thanks everyone! I will definitely check that out!!
     
  7. Sherbert Hoover

    Sherbert Hoover Jr. Executive VIP Jr. VIP

    Joined:
    Dec 26, 2010
    Messages:
    1,292
    Likes Received:
    10,813
    Codecademy is great. I've also been taking HTML and CSS courses through Treehouse. Highly suggested. I've heard Code School is good too but I haven't personally used it.
     
    • Thanks Thanks x 1
  8. Nonilol

    Nonilol Elite Member

    Joined:
    Mar 1, 2015
    Messages:
    1,671
    Likes Received:
    567
    Gender:
    Male
    Occupation:
    Media Informatics & Webdev Student
    Location:
    Hamburg, GER / Southampton, UK
    Home Page:
    +1 for codeacademy. However reading through the basic tutorials from w3c might help too.

    Plus, please learn to google. Googling is usually much faster than posting your question in a forum. At least for such simple ones.
     
  9. Frustrated1

    Frustrated1 Newbie

    Joined:
    Nov 3, 2015
    Messages:
    3
    Likes Received:
    1
    Thank you everyone! I will be checking out codeacdemy!
     
  10. giooo

    giooo Newbie

    Joined:
    Nov 9, 2015
    Messages:
    40
    Likes Received:
    4
    You need to put php code in href="<?php $nextPage ?>"
     
  11. giooo

    giooo Newbie

    Joined:
    Nov 9, 2015
    Messages:
    40
    Likes Received:
    4
    Treehouse is the best. I learned from there and has helped me sooo much. I even got a job offer 3 months after fully learning. Keep sticking to it. Codeacademy is good to understand further technical knowledge of languages. Have you looked into learning MEAN stack? It's worth looking into since I believe Javascript is going to become a much more important language in the coming years.