Note that there are some explanatory texts on larger screens.

plurals
  1. POAnchors within the same page not working?
    primarykey
    data
    text
    <p>I'm trying to link to elements within the HTML of my page, but it's not working and I'm unsure as to why. </p> <p>Here's the initial link: </p> <pre><code>&lt;ul&gt; &lt;a href="#"&gt;&lt;li&gt;About Me&lt;/li&gt;&lt;/a&gt; &lt;a href="#"&gt;&lt;li&gt;Past&lt;/li&gt;&lt;/a&gt; &lt;a href="#Work"&gt;&lt;li&gt;Work&lt;/li&gt;&lt;/a&gt; &lt;a href="http://blog.tommaxwell.me"&gt;&lt;li&gt;Blog&lt;/li&gt;&lt;/a&gt; &lt;/ul&gt; </code></pre> <p>I'd like all the li's in this list to be links to somewhere else on the page (except the last one). </p> <p>And at the top of this code is where I'm trying to link to: </p> <pre><code>&lt;div id="Work"&gt; &lt;a name="Work"&gt;&lt;h2 id="work-title"&gt;Work&lt;/h2&gt;&lt;/a&gt; &lt;ul&gt; &lt;li&gt; &lt;h3&gt;BrainDB&lt;/h3&gt; &lt;p&gt;BrainDB is a new startup I'm working on with my co-founder, &lt;a href="http://www.twitter.com/masonlong" id="mason"&gt;@masonlong&lt;/a&gt;. I write everything from Rails to AngularJS and CSS. BrainDB's goal is to augment the mind with useful and inviting services.&lt;/p&gt; &lt;/li&gt; &lt;li&gt; &lt;h3 id&gt;SummarizeIt&lt;/h3&gt; &lt;p&gt;&lt;a href="http://54.225.211.118/" id="summarize"&gt;SummarizeIt&lt;/a&gt; is a JavaScript project that I built during a weekend. It utilizes an API for summarizing content, like blog posts, into bit-sized chunks. &lt;/p&gt; &lt;/li&gt; &lt;li&gt; &lt;h3&gt;Freelance&lt;/h3&gt; &lt;p&gt;I freelance from time to time. I work with personal clients, as well as through &lt;a href="https://www.elance.com/s/tommaxwell/?utm_medium=social&amp;utm_source=twitter&amp;utm_campaign=free&amp;SiteTarget=share_profile&amp;utm_term=3712117" id="elance"&gt;Elance&lt;/a&gt;. I'm &lt;a href="mailto:tommaxwell95@gmail.com" id="email"&gt;available&lt;/a&gt;.&lt;/p&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; </code></pre> <p>Do the areas I link to have to use the section tag? I have multiple of these divs with ul's in them. </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload