How do I redirect instead to a External link

Hey so i am trying to redirect to a external link like github instead of a path within the site,but I am having a problem.
Here Cards.js

import "./Cards.css";
import CardItem from "./CardItem";

function Cards() {
  return (
    <div className="cards">
      <h1>Check out my portfolios!</h1>
      <div className="cards__container">
        <div className="cards__wrapper">
          <ul className="cards__items">
            <CardItem
              src="images/img-9.jpg"
              text="Explore my dribbble profile where underlying are my illustrations and more"
              label="Adventure"
              path="https://www.google.com/"
            />
            <CardItem
              src="images/img-2.jpg"
              text="Travel through the Islands of Bali in a Private Cruise"
              label="Luxury"
              path="/services"
            />
          </ul>
          <ul className="cards__items">
            <CardItem
              src="images/img-3.jpg"
              text="Set Sail in the Atlantic Ocean visiting Uncharted Waters"
              label="Mystery"
              path="/services"
            />
            <CardItem
              src="images/img-4.jpg"
              text="Experience Football on Top of the Himilayan Mountains"
              label="Adventure"
              path="/products"
            />
            <CardItem
              src="images/img-8.jpg"
              text="Ride through the Sahara Desert on a guided camel tour"
              label="Adrenaline"
              path="/sign-up"
            />
          </ul>
        </div>
      </div>
    </div>
  );
}

export default Cards;

So what i am trying to do instead of that path i am using href and a external link but its showing localhost/https:github.com like link instead of me redirected to the actual site.

also here is the
Carditeam.js

import { Link } from "react-router-dom";

function CardItem(props) {
  return (
    <>
      <li className="cards__item">
        <Link className="cards__item__link" to={props.path}>
          <figure className="cards__item__pic-wrap" data-category={props.label}>
            <img
              className="cards__item__img"
              alt="Travel Image"
              src={props.src}
            />
          </figure>
          <div className="cards__item__info">
            <h5 className="cards__item__text">{props.text}</h5>
          </div>
        </Link>
      </li>
    </>
  );
}

export default CardItem;

So looking at these two codes what is that i can do to redirect on to a external link instead of a path
i know their is something to be change or twicked in the Carditeam.js for this so sharing it.

46 thoughts on “How do I redirect instead to a External link”

  1. 606468 360060Wow, incredible weblog layout! How long have you been blogging for? you make blogging look straightforward. The overall look of your internet site is wonderful, as effectively as the content material! 766698

    Reply
  2. 588580 433916Excellent post nonetheless , I was wanting to know in the event you could write a litte much more on this topic? Id be really thankful in the event you could elaborate a little bit further. Bless you! 819131

    Reply
  3. Thank you, I have recently been looking for info about this subject for a while
    and yours is the greatest I have found out so far.
    However, what about the bottom line? Are you certain in regards to the source?

    Reply
  4. I believe what you published was very logical. However, what about this?
    suppose you added a little content? I am not suggesting your information isn’t solid., however what if you added something that makes people desire more?

    I mean How do I redirect instead to a External link – JavaScript Help is a little vanilla.
    You might peek at Yahoo’s front page and see how they write
    news titles to get people interested. You might add a video or a pic or two to grab readers interested
    about what you’ve got to say. Just my opinion, it might bring your posts a little livelier.

    Reply
  5. Hey there, I think your website might be having browser
    compatibility issues. When I look at your blog in Chrome, it looks fine but when opening in Internet Explorer,
    it has some overlapping. I just wanted to give you a quick heads up!
    Other then that, excellent blog!

    Reply
  6. I have been exploring for a little for any high quality articles or weblog posts in this sort of house .
    Exploring in Yahoo I eventually stumbled upon this site.
    Studying this information So i’m satisfied to exhibit that
    I have an incredibly excellent uncanny feeling I came upon just what I needed.
    I such a lot surely will make certain to do not overlook this website and provides it a look on a continuing basis.

    Here is my site :: poker pulsa

    Reply
  7. I am really impressed along with your writing abilities and
    also with the layout for your weblog. Is that this
    a paid topic or did you customize it your self? Anyway stay up the nice quality writing, it is rare to look a nice
    blog like this one these days..

    Reply
  8. Does your website have a contact page? I’m having trouble locating it but,
    I’d like to shoot you an e-mail. I’ve got some ideas
    for your blog you might be interested in hearing.
    Either way, great website and I look forward to seeing it grow over
    time.

    Reply
  9. Today, I went to the beach with my kids. I found
    a sea shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She
    put the shell to her ear and screamed. There was a hermit crab inside
    and it pinched her ear. She never wants to go back! LoL I know this is entirely off topic but I had
    to tell someone!

    Reply
  10. Excellent goods from you, man. I have understand your
    stuff previous to and you’re just extremely fantastic.
    I really like what you’ve acquired here, certainly like what you
    are saying and the way in which you say it. You
    make it enjoyable and you still care for to keep it sensible.
    I can’t wait to read much more from you. This is really a tremendous site.

    Reply
  11. you’re in point of fact a just right webmaster. The website
    loading velocity is amazing. It seems that you are
    doing any distinctive trick. Also, The contents are
    masterwork. you have performed a fantastic job on this topic!

    Reply
  12. Hey There. I found your weblog the usage of msn. This is a
    very smartly written article. I’ll be sure to bookmark it and come back to
    learn extra of your useful info. Thank you for the post. I’ll certainly comeback.

    Reply
  13. With havin so much content and articles do you ever run into
    any problems of plagorism or copyright violation? My blog
    has a lot of exclusive content I’ve either written myself or outsourced but it appears a lot of it is popping it up all over the web without my agreement.
    Do you know any ways to help prevent content from being stolen? I’d definitely appreciate it.

    Reply
  14. Do you have a spam problem on this website; I also am
    a blogger, and I was wanting to know your situation; many of
    us have created some nice practices and we are looking to exchange strategies with others,
    why not shoot me an email if interested.

    Reply
  15. Thanks for your marvelous posting! I genuinely
    enjoyed reading it, you will be a great author. I will remember to bookmark your blog and will
    often come back down the road. I want to encourage one to continue your
    great writing, have a nice evening!

    Reply
  16. I loved as much as you’ll receive carried out right
    here. The sketch is attractive, your authored subject matter stylish.
    nonetheless, you command get bought an impatience over that you wish
    be delivering the following. unwell unquestionably come further formerly again since exactly the
    same nearly a lot often inside case you shield this hike.

    Reply
  17. Magnificent beat ! I would like to apprentice while you amend
    your web site, how can i subscribe for a blog web site?
    The account aided me a acceptable deal. I had been a little bit acquainted of
    this your broadcast offered bright clear idea

    Reply
  18. Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my blog that automatically tweet my newest twitter updates.
    I’ve been looking for a plug-in like this for quite some time and was hoping
    maybe you would have some experience with something like this.
    Please let me know if you run into anything. I truly enjoy reading your blog and I look forward to your new
    updates.

    Reply
  19. 929435 341196Thank you, Ive lately been looking for info about this topic for ages and yours could be the greatest Ive located out so far. But, what in regards to the bottom line? Are you confident concerning the supply? 123515

    Reply

Leave a Comment