Skip to content

Hyperlinks & Doubled text editor when trying to create a navigation bar #308

@jasminehyip

Description

@jasminehyip

Platform

  • Device: Laptop
  • OS + version: macOS Sequoia 15.3.1
  • Browser + version: Chrome 120
  • Extensions/privacy settings (if any):

Expected result: Nothing

Actual result: Page reloaded, however text editor with my code stayed on the screen. Two text editors on my screen after going through the netnet "introduction" (i.e steps to start a new sketch etc.) leading to the result.

Where it happened

  • Widget/feature: Text Editor and Canvas
  • URL (if relevant):

Steps to reproduce

  1. Start a sketch
  2. Copy and paste this code:
    <!doctype HTML>
<title>Week 8</title> <style> .header { text-decoration: none; list-style: none; margin: 0; padding: 0; }
.page {
  display: inline-block; 
  margin-right: 20px; 
}

.page a:hover{
  color: red; 
}
</style>
<ul class="header">
  <li class="page"><a href="#">Home</a></li>
  <li class="page"><a href="#">About</a></li>
  <li class="page"><a href="#">Contact</a></li>
</ul>
3. Click on one of the hyperlinked elements on the canvas.

Frequency

  • [O] Always - [ ] Sometimes - [ ] Happened once

Extra context

  • Screenshots/video:
Image

I was learning how to create a navigation bar from scratch, and I was experimenting with the hover colours. Because the list items were linked, I wanted to see what happened if I clicked on a hyperlinked list item. What happened was the canvas where I could see my work, reloaded the page but only in the canvas section. It doesn't seem like it's an infinite loop because I couldn't create a third text editor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions