Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video: Adding CSS Styling #1

Open
adicarlisle opened this issue Feb 9, 2021 · 3 comments
Open

Video: Adding CSS Styling #1

adicarlisle opened this issue Feb 9, 2021 · 3 comments

Comments

@adicarlisle
Copy link

adicarlisle commented Feb 9, 2021

Video doesn't mention correct file paths when including challenge.css and should look like this in the challenge.html file:

#{%block css_files%}
#<link rel="stylesheet" href="{% static "challenges/includes/challenge.css"%}">
#<link rel="stylesheet" href="{% static "challenges/challenges.css"%}">
#<link rel="stylesheet" href="{% static "challenges/includes/header.css"%}">
#{%endblock%}

Gave me and I presume other people 404 errors for the CSS files

@igorkf
Copy link

igorkf commented Jun 12, 2021

I don't know, but I think you should give spaces between Django Template commands:
{%block css_files%} goes to {% block css_files %} and {%endblock%} goes to {% endblock %}

@roberto9096
Copy link

Where can I found index.css from course?

@Coder2002-new
Copy link

I found out that when I set DEBUG=TRUE the challenges.css file get loaded but when DEBUG=FALSE it is not loading the challenges.css file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants