gitdagray / django-course

105 stars 57 forks source link

Icon links not working Lesson02 #4

Open Atur-Z opened 2 months ago

Atur-Z commented 2 months ago

Hi, in Lesson02 after following the instructions (and verifying the changes with the code in Github) when I run the server my icon links do not respond.

Is there some setting or code missing that is not in the video?

Thank you.

Islam-Adel-Dev commented 2 months ago

Hi, in Lesson02 after following the instructions (and verifying the changes with the code in Github) when I run the server my icon links do not respond.

Is there some setting or code missing that is not in the video?

Thank you.

Do you mean the nav bar? it would be helpful if you showed us your <nav></nav> tag in the layout.html file

Atur-Z commented 2 months ago

Hi Islam, (not sure if it is your first name)

Thank you for your quick response, much appreciated. I find the course very easy to follow but got this issue with the nav bar, it may be a finger problem. I've tried accessing the server with Chrome and Edge with the same results. Please see below the layout.html code and a couple of screen shots. Thanks once again.

Kind regards, Arthur

<!DOCTYPE html> {% load static %}

{% block title %} Django App {% endblock %}
{% block content %} {% endblock %}

[cid:774dc48a-39b6-4c57-a98e-34a4db6a299b]

[cid:a9a31bd8-b1d0-4ecb-b079-515b0e0f21db]


From: Islam Adel @.> Sent: Saturday, 24 August 2024 10:50 AM To: gitdagray/django-course @.> Cc: Atur-Z @.>; Author @.> Subject: Re: [gitdagray/django-course] Icon links not working Lesson02 (Issue #4)

Hi, in Lesson02 after following the instructions (and verifying the changes with the code in Github) when I run the server my icon links do not respond.

Is there some setting or code missing that is not in the video?

Thank you.

Do you mean the nav bar? it would be helpful if you showed us your

tag in the layout.html file

— Reply to this email directly, view it on GitHubhttps://github.com/gitdagray/django-course/issues/4#issuecomment-2308007626, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BEKUZSBE5R5PV4BA4R46K2DZS7YFXAVCNFSM6AAAAABNACXZ42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYGAYDONRSGY. You are receiving this because you authored the thread.Message ID: @.***>

Islam-Adel-Dev commented 2 months ago

Hello, Arthur! Yes it's my first name :) everything appears to be fine except for your <nav></nav> tag as I expected

Inside your <nav></nav> tag, notice how you put | outside the <a></a> tag

      <a ref="/">🏠|</a> 
      <a ref="/about">😊|</a> 
      <a ref="/posts">📰</a>

this should work. Best regards :)

Atur-Z commented 2 months ago

Hello Islam,

Thank you once again for the prompt response and for picking up my errors. I have rectified the code and tested it. Unfortunately the links are still no working. Since you have picked up the problem with the 'tags' I most likely have other Coding issues. I will go through the tutorial again meticulously and check against my code. I will get back to you with my results. Thank you for your assistance.

Kind regards, Arthur


From: Islam Adel @.> Sent: Saturday, 24 August 2024 1:48 PM To: gitdagray/django-course @.> Cc: Atur-Z @.>; Author @.> Subject: Re: [gitdagray/django-course] Icon links not working Lesson02 (Issue #4)

Hello, Arthur! everything appears to be fine except for your

tag as I expected

Inside your

tag, notice how you put | outside the tag

  <a ref="/">🏠|</a>
  <a ref="/about">😊|</a>
  <a ref="/posts">📰</a>

this should work. Best regards :)

— Reply to this email directly, view it on GitHubhttps://github.com/gitdagray/django-course/issues/4#issuecomment-2308141036, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BEKUZSB24EHD4OWULNPMM5LZTANDPAVCNFSM6AAAAABNACXZ42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYGE2DCMBTGY. You are receiving this because you authored the thread.Message ID: @.***>

Atur-Z commented 2 months ago

Hi Islam,

Just to give you a quick update. I have managed to get Lesson02 working. As I mentioned previously my copying/typing code skills can be bad sometimes but I do prefer typing the code instead of just downloading it but the process (or should I say 'I') comes with it's flaws. The corrected code that you sent me has one more error the 'ref' should be 'href'. Damn fingers... I can continue now with the tutorials.

Thank you once again very much for your assistance and time.

Kind regards, Arthur


From: Islam Adel @.> Sent: Saturday, 24 August 2024 1:48 PM To: gitdagray/django-course @.> Cc: Atur-Z @.>; Author @.> Subject: Re: [gitdagray/django-course] Icon links not working Lesson02 (Issue #4)

Hello, Arthur! everything appears to be fine except for your

tag as I expected

Inside your

tag, notice how you put | outside the tag

  <a ref="/">🏠|</a>
  <a ref="/about">😊|</a>
  <a ref="/posts">📰</a>

this should work. Best regards :)

— Reply to this email directly, view it on GitHubhttps://github.com/gitdagray/django-course/issues/4#issuecomment-2308141036, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BEKUZSB24EHD4OWULNPMM5LZTANDPAVCNFSM6AAAAABNACXZ42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYGE2DCMBTGY. You are receiving this because you authored the thread.Message ID: @.***>