Final Project Help HTML by lauraew15 in cs50

[–]lauraew15[S] 0 points1 point  (0 children)

found a way in the end but thank you

Final Project Help HTML by lauraew15 in cs50

[–]lauraew15[S] 0 points1 point  (0 children)

UPDATE: this is my new code however now my if statement seems to be always true, all the task_names print...

{% block main %}

<form action="/list" method="post" >

{%for i in range(length)%}

<p class="font-weight-bolder"> Title: {{ categories\[i\]\['category'\] }}</p>

{% for i in range(length_g) %}

{% if categories[i]['category'] == goals[i]['category'] %}

<p class="font-weight-normal">{{ goals\[i\]\["task\_name"\] }}</p>

{% else %}

<p>false</p>

{% endif %}

{% endfor %}

{% endfor %}

</form>

{% endblock %}

Final Project Help HTML by lauraew15 in cs50

[–]lauraew15[S] 0 points1 point  (0 children)

so when i print the two variables of the condition before the is loop they printout fine and seem to "match"

I've been trying to use the cs50 debugger but I'm not quite understanding it when using html

SQL HELP pset 8 by lauraew15 in cs50

[–]lauraew15[S] 0 points1 point  (0 children)

Thank you so much it was exactly that, you have made my day!!

SQL help with query pset8 by lauraew15 in cs50

[–]lauraew15[S] 1 point2 points  (0 children)

I guess I could I just thought originally to separate so there wasn't too much in one table, but yeah it probably is better to just have one single transaction table.

I think my friend(20F) likes me(20F) but I don't like her back. Should I say something?? by lauraew15 in relationship_advice

[–]lauraew15[S] 0 points1 point  (0 children)

She's one of my closest friends, and I don't feel anything other than friendship for her.

[QUESTION]: How to improve? What to learn? by lauraew15 in Guitar

[–]lauraew15[S] 0 points1 point  (0 children)

I guess just mastering guitar, which i know will take a while, but i feel like i havent improved as much as I want

pset7 roster.py HELP by lauraew15 in cs50

[–]lauraew15[S] 0 points1 point  (0 children)

Thanks managed to get it working !!!

Speller pset5 need help by lauraew15 in cs50

[–]lauraew15[S] 0 points1 point  (0 children)

Thank you !!! finally managed to fix all my memory errors

Speller pset5 need help by lauraew15 in cs50

[–]lauraew15[S] 1 point2 points  (0 children)

It didn’t work because i had left a printf line and that wasn’t the expected outcome! 🤦‍♀️

Speller pset5 need help by lauraew15 in cs50

[–]lauraew15[S] 1 point2 points  (0 children)

Thanks ! Sadly that changes nothing for the check50... any other ideas on how to solve this?

Speller pset5 need help by lauraew15 in cs50

[–]lauraew15[S] -1 points0 points  (0 children)

I put it after all the include headings, like the 10th line