Coder Social home page Coder Social logo

kwk-a-tag-with-href-lab-kwk-students-l1-chi-080618's Introduction

Create an <a> Tag with an href Attribute

Objectives

  1. Code an anchor tag that defines an HTML hyperlink.

Introduction

Do you know the Wikipedia link game? The game is simple - choose any Wikipedia page, and click the first link in the first paragraph of the page (ignoring pronunciation links). 97% of the time, if you click long enough, you'll end up at Philosophy.

Links, (short for hyperlink) are what makes up the core of hyper in HyperText Markup Language. They allow the Google search engine to understand how web pages are related. Without them, we'd just have a bunch of stand alone pages of boring text making up the internet.

Let's practice making these link things.

Instructions

  • Open index.html in your text editor.
  • Add an a tag with the inner text of Kode with Klossy anywhere in the file.
  • Set the href attribute of your new link element to https://www.kodewithklossy.com/.

You can run the tests with this lab via learn. Make sure you save the file before running the test suite. Failing tests will provide helpful error messages that you can use to debug your code — read them closely for hints!

Viewing your work in the browser

While working through these assignments, your general workflow should center on writing code in the text editor and periodically running the test suite in the terminal to check your work.

Another great way to track your progress is to open up the HTML document in your browser and watch how each change you make in the text editor affects the visual layout in the browser. If you're using a local development environment, you can open the HTML file directly in your browser. If you're coding in the Learn IDE, check out this Help Center article that explains how to spin up and connect to a simple remote server.

Once you have the HTML document open in your browser, you can make changes to it in the text editor, save the file, refresh the page in the browser, and see the changes instantly.

Resources

KWK-T1 Create an `` Tag with an `href` Attribute

kwk-a-tag-with-href-lab-kwk-students-l1-chi-080618's People

Contributors

danielseehausen avatar aviflombaum avatar gj avatar sammarcus avatar ananyagupta1114 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.