Migracode-Barcelona / Course-Fundamentals

The central repo for the Fundamentals course
0 stars 0 forks source link

[TECH ED] CYF Blocks #25

Open SallyMcGrath opened 2 months ago

SallyMcGrath commented 2 months ago

Link to the coursework

https://blocks.codeyourfuture.io/

Why are we doing this?

Complete the CYF Blocks Syllabus, including at least 6 "projects". Write down any questions you have to ask when we next meet.

You will need to share your progress with us, so store your work!

Share your favourite project (or something completely new) in the Slack channel for your cohort.

Maximum time in hours

10

How to get help

Share your blockers in your class channel.

How to submit

Attach your evidence to your copy of this ticket on your own planning board. Make a screenshot of the lessons and paste one image per comment.

When you're done, move your ticket to Done.

sebasduerto commented 1 month ago

Kamino closed and cloned this issue to sebasduerto/Coursework-Planner

Rachealgit commented 1 month ago

Kamino cloned this issue to Rachealgit/Coursework-Planner

yassine-yahya commented 1 month ago

Kamino cloned this issue to yassine-yahya/Coursework-Planner

DianaRCruz commented 1 month ago

Kamino cloned this issue to V4L1S/Coursework-Planner

Businegrace commented 1 month ago

Kamino cloned this issue to Businegrace/Coursework-Planner

Ebtesammm commented 1 month ago

Kamino cloned this issue to Ebtesammm/Coursework-Planner

DelwinMansur commented 1 month ago

Kamino closed and cloned this issue to DelwinMansur/DelwinMansur-Coursework-Planner

mpalacios190993 commented 1 month ago

Kamino closed and cloned this issue to mpalacios190993/Coursework-Planner

mpalacios190993 commented 1 month ago

Kamino cloned this issue to mpalacios190993/Coursework-Planner

FabioMedinaD commented 1 month ago

Done: Proyect Implemented is a Shopping cart:

Requirements

1) The program should show the list of the Itens that contain fruits from the store.
2)Each iten should have a button "add" for add to shopping cart. 3)There should be a button " Finish Purchase" 4)The program should show the list of the items selected from the customers

Detail Steaps

At the beginning

1)when press the button RUM the program show the list that contain fruit from the store 2)Next to each item, there should be a button "add" 1)At the end of the list, there should be a button "Finish Purchase"

when one user make click to "add"

1)When customer presses the "add" button the selected iten will be added to the shopping cart.

when one user make click to "Finish the Purchase"

1)When de user press the "Finish the Purchase" button the program show the list from the shopping cart.

Additional implementations:

1) if the Customer press the button "finish the Purchase", the program shows the shopping cart whit the select items and the total price from the purchase

2) the unit price and the total purchase price must appear in the shopping cart list

3)Customer can remove one or more itens from the shopping cart and the program should remove these selected itens and recalculate the final price.

Writing our program

https://blocks.codeyourfuture.io/share.html?v=('j!('blocks!('languageVersion!0~blocks!%5B%C2%B1'%3A%3AE%3D%7C%3AQ%3DYe(U%7D(jRl0%60_'~x!20~y!-102~f%C2%96%C2%B0%C2%B2g0z%3DShKOFg%7C%2C'%25X5%23J%7B6P%C2%82%C2%AB%C2%8FW%5B%3FmGBn%3Dq%7BFKD0FY%7CxlL%C2%975%C2%89ADD0%C2%935nZD(l%2Cai%25e%24'%3AacP%3DJoR%C2%9Cbanana')))~ADD1%C2%93%7D.LWe2Aa5EwGd7TdmvEO%C2%9Cpeach')))~ADD2%C2%93_gPnw%25p%2FYAQ9oRd%60%7DCT%3F%C2%9Cgreen%20apple')))~ADD3%C2%93zm0JQcd'%3A6ahN)XN(w%3F*_%C2%9Cmelon')))~ADD4%C2%93%24%7Dds8%23%23%2C'R(%3BvPHpz9cI2%C2%9Cpinaple')))%C2%98FWF_-%3BL%7D%2B'%3A%3B5l7N%3F)E2a%C2%80%C2%AB%C2%8FZ%2C%3FET%5D1Qk0Qn05Y%23cq..%C2%970%C2%981nLdaL%2C%7DFQwb%3B%2BkL%5EJ5I%C2%84%C2%AB%C2%8FoP%25SX%7D(X2pV%3AYqf83I8%7C%C2%973%C2%98N%7CZi9c%23%40olt%24dD%7D%250k%7CL%C2%A4%C2%89%C2%8F%2C'gVkjiPG)O_Z%7DRXs32%5Dz%C2%975%C2%89ADD0%C2%8A%3FEFaBA(mVSS%2C'%5Bumdw%3Dv%3F%26NUM!2.69)))~ADD1%C2%8Ae8dfQMhlWvlckII%5BFW%2BV%C2%B469)))~ADD2%C2%8A)%23%7B4RVY%7BpU00R4BzwK6%5E%26NUM!2.1)))~ADD3%C2%8AVF%607Q6bS%2F*y%2B%2BbhPRH)%2C'%C2%B469)))~ADD4%C2%8ANt8vi5M2WQ%7CL%2FjUuj%60%2C%23%C2%B429%C2%9F%2C%C2%B1%23(4BW)jjwO%2FtxGu8YoM2'~x!26~y!331~f%C2%96%C2%B0%C2%A59Fd2cqxMZ%5E%3D%2CcRZZpC7s%C2%A9list'%C2%9DD%3F1LPj%24a%7C479%23K_W7nO%7C'~x!570~y!-208%C2%ACDescribe%20this%20function...%C2%99E!'itens-list%C2%94%C2%9BeD6(%25RkF-Bvmbjk%2F%60Ck%7C%C2%A8%C2%AF_fkC%239X%23pAMAu'%3AdyJr%2Fk%26%C2%B3%7Fa%25IsuVz%23)j64-DnBDAyZ%C2%82))~DO%C2%90%2C'5HDRN6%3ALLGO_A*MN0%7D-%C2%A1li%C2%94%C2%86-(xY%237%2C'I'%3ApZ5gtAQ'%3AVZ%23%C2%81%22%C2%8Cr%2CgNHl5%25M)(D%3FR.U8%7BnU%C2%9A%C2%8D%7F%2B4J%7DT%3F8khJC%40HMhdFv*T%C2%82))%C2%92E3147%2C'8%2BDNm'%3A(Kr)7hvo%C2%82%C2%AD%C2%915%5Do%5BPFW%3BMi4%2C'zi%3D%7BK5aW%C2%85%C2%8Etype!'%C2%8CFw%5Bs%40%5BQ2aP%3D%5D%40%2Cl%2Ff8aX%C2%AA%C2%8D%7Fer2z%7BGoR1%24%40U%23w%25%60dxLL%C2%82))))))))%C2%AD%C2%A5W%60pOee_9-L%7C0h%2Fi%2Cb(A1%C2%A9price')~next%C2%90%2F)%7B%40PK)%24%2Fq*pX_3c6%2FZ%60%C2%A1button%C2%94%C2%86-CT%2Fsw-l%600r6r%2C'n_%24br2%C2%81%22%C2%8C%2B1RP%25UM1%24rfF*B%3De%2F%2C'c%40%C2%9A%C2%B5%7FjvjjXcmq%5B)ze%3B2lLf%24dq%C2%82))%C2%92o_eX%2C'.%40J%3D0JEv)h%254%2BG.%C2%82%C2%AD%C2%91fo)8aMKYrVs3iRIl%5Em~%3A%C2%85ageU%7C%2FmVO(gu*%2C'6.mmCt%C2%9Cadd')%C2%AD%22set_attribute'~id!'jJVq%3F%3D4Ejt4r%7B5EkQ--y%26PROPERTY!'id%C2%A7%22%C2%8Cf%5ECCm'%3ARTA%5EE%23j%5E%3D(ZWD9%C2%AA%C2%B5%7FhPZFbU.u5CNPDHaP%2C'Y%3Du%C2%82%C2%9F)%C2%87Da%3F6%3FKb2HUtVGXdXfxx%7D'~x!21~y!401%C2%83banana%C2%88%C2%86o%7COR%3A6ra9%2C%60)32t5bK)%3A%C2%81%C2%93*O%24lXm%7C)V%2F%3B%3D6Zcc5E%60c%C2%9Cbanana'%C2%922*Z%7C%24%3D%3DtMc%2Bf(tamn%2C'%5EO%C2%80%C2%A0%5DD%23%2B9TXhg'%3Av(UnL%2F%3F%239P%C2%81%C2%8A%7BWEB*unTs%5ER8()%3D*%2Cy)K%26NUM!2.69%C2%92of%60JmTz%3AaC%249BPpXs.ON%C2%84%C2%872qKp'%3AI%23%60%3AkKfg%23jL%5E%2C'%7C8'~x!20~y!549%C2%83peach%C2%88%C2%86d%7Bsp%3A%2FOHck_%601Lmc%23Xyo%C2%81%C2%93ce4--PgX%40WdSDUrxHBLl%C2%9Cpeach'%C2%92z%5Da1u2%3Dqe8p%258n%7Bm%2Bx%7Bj%C2%80%C2%A0TIGs*G%7CG%7Cynwgg-%2C9S_%60%C2%81%C2%8Aad%7DJL%7CO%24w%23cE%5BLiGU43w%C2%B469%C2%9256s%3FJye%23%5B5ij*-%5EJhxMV%C2%84%C2%87Jtv3UJ1%40g%2CygXA%24O%2C%2F_%7D'~x!21~y!698%C2%83green%20apple%C2%88%C2%86aKBq%60i7%5Dea0kB2q_v.Dt%C2%81%C2%93%40H%3APNk.U6b%7D%2C'TA3T1%5B35%C2%9Cgren%20apple'%C2%92de%25FBW3%2B6%3FMRZ%7C%3B7HgV%23%C2%80%C2%A0jc%243t%60y_HRng%2C2%25I_P-Y%C2%81%C2%8ASMkzp%2B%25tLYLyMdl%40k%3D%7Dd%26NUM!2.1%C2%92o%2CO%5DF05Q-%3A%5EzUa7KF%2C(*%C2%84%C2%87ZB%2C%7DzFy%2BM%24(0dT*1%23%5Ddh'~x!19~y!849%C2%83melon%C2%88%C2%86PD(6rw%2B8%5E%3FV%5D%3AE%7C%2Ffdbx%C2%81%C2%93N5c%3Bk%2F%5BbDF(kZXAD%7DK8%7D%C2%9Cmelon'%C2%92t_-mfgDoSYyqI2%2C'J57H0%C2%80%C2%A0SvinP%2CTZutS%603pFap5p6%C2%81%C2%8A6d6%23%3B%7BbP3.AV*B)%2C'h%5D%3BJ%C2%B469%C2%925%2BSrghIU-xv%60FXtPP3%24%40%C2%84%C2%87Bl%40bZ%3F%7DnVDcb.G%7C-'%3A%5E%2F%3A'~x!17~y!996%C2%83pinaple%C2%88%C2%86uDASKghJ%7ChLko%7BTjKEZZ%C2%81%C2%93u2%5EiGqovphvo6c09C%2C-6%C2%9Cpinaple'%C2%92j%2BG*p%2Bb%2CEA%3B%3AbIKYK%24*Q%C2%80%C2%A0yj4%2Cu%2CcI%23FWO%2BRi4%7B%60%23s%C2%81%C2%8AviwUCt%7C%23%3AD%244yM%7DlqR%2CX%C2%B429%C2%92nkn)Y3XW%25%3DBR_4-b%5BQ%7Bz%C2%84%C2%87Yfa*%251%24k%60V%3D%23%2C%2C%5ELwyDo'~x!16~y!1157%C2%83tottal%C2%88%C2%9BZs2AYVw%7C-%60PEPtB'%3At%24'%3AQ%C2%A8%22remove_contents'~id!'6f%23A%2FbzE%5B_%2BS%40oHFy%24L%3B'~next%C2%AFVne%2FI%25JDr_mohGVV%3BR%400%26%C2%B3%7FGWA(f0eTF%60DG(%7DjhS%25dw%C2%80))~DO%C2%86%2Byvt%23%5E1u%2C'P%7DQJ*yY1Jr%7D%C2%81%22%C2%8C%2B8c4X*NtETK%3BMP%5Eyo0i4%C2%9A%C2%8D%7F%25jXu0%5BX5B%5Dv%24UFf(6FZ%3D%C2%80))%C2%92(TUIh5kDL%3A-8r(Q%2F%60)%5Dy%C2%80%C2%AD%C2%90m3%2F%24%24dD4Y1j%3A_OnD%2Bf%2Fw%C2%A1li%C2%94%C2%91qp%7C%60bW.%7BkKaN3SA)3'%3Am-%C2%85%C2%8Etype!'%C2%8CEQ%40C%24a_yRJaYP%23ly%2C'o%60d%C2%AA%C2%8D%7F7%5Bl%5D%5DNKmF%2F%2C'x%2Cwy%5BFT6s%C2%80)))))))))))%C2%AD%C2%90C.%40ye1yQd%5D%2C'-y%2C%3A3.cE%3F%C2%AE%C2%91eb*u%3A%23gE%24nUw%2C'Fk-eZki%C2%85E%7BA%7CN%5Em33lWqV%7DQUkHpx%C2%9CTotal%20Price'))))%C2%AD%C2%90%251k0b%60y%7Bu3*%25XK-Jthg%2F%C2%AE%C2%91z70Rza%2B%2C'hd)ciA..%5Dwky%C2%85wG%23qS%23k%5DOU%25.f(VUi2aX%C2%9C'))~block!('type!'get_sum'~id!'rlafpkt%7CJPT9%2Cmyd_.u.'%C2%ABARRAY%7FCG'%3A%40b'%3AE%7BW*%7CgKA47-J%3AG%C2%84%C2%9F%C2%9Dg%7DL%3Db4U%2Cg%7D%3Ff)-'%3Am%24oDw'~x!598~y!437%C2%ACfunction.generate%20%20itens%20list%20and%20button%20add%C2%99E!'itens-price%C2%94%C2%9BoR%3FsnFi%2C'%2C0%3DM.)Z2NmWd%C2%A8%C2%90u%3F'%3Ax%23RpW%24cBf.g'%3AImFBU%C2%AE%C2%86%25*6oI%2C9M%23Is%3FkZ%2B%24P%2Cg.%C2%81%22%C2%8Cf%24(*_KEp%2F%3Ah%2C'vlth(%23sL%C2%9A%C2%8D%7F%5E.md5dFo%243'%3A%2CF%2B5lK%2CI0%C2%A4)))%C2%926r%40XD%3FM5s4s%23mCA8h8Hk%C2%A4)%C2%AD%C2%91hlGE%3AfR%24J1%7BKug%5D8%24'%3AZS%C2%85%C2%8Etype!'%C2%8C9%3F%60%2C'Nr%5EamU0ExK%2BwUM%5BZ%C2%AA%C2%8D%7F9SBc%24Okqwc%5DEH.Cb%5BX86%C2%A4%C2%9F))%5D)~variables!%5B('name!'shopping%20cart'~%C2%A3%C2%A6itens'~%C2%9E%C2%A6price'~%C2%8B%C2%A6item'~%C2%95%C2%A6i'~id!'aejfoET_%60U%2CVJi%3B2b9%23t')%C2%A6Tottal%20price'~%C2%A2%C2%A6array'~id!'%3Fb%2Fb%2C'%3Faz4N%25%7CbqWTW(%2B%2C'')%5D)~h!'%3Cp%3EFruits%3C%2Fp%3E%5Cn%3Cp%3E%5Cn%3Cul%20id%3D%5C'list%5C'%3E%5Cn%20%20%5Cn%3C%2Ful%3E%20%20%5Cn%3Cbr%3E%3Ccenter%3E%3Cbutton%20id%3D%5C'tottal%5C'%3E%5C'finish%20the%20purchase%5C'%3C%2Fbutton%3E%5Cn%3C%2Fp%3E')%22!('block!('type!'%26'~fields!('%7F%22variables_get'~id!'%C2%80%26VAR!('%C2%A3)%C2%81%26WHERE!'END%C2%A7%C2%82%26VAR!('%C2%9E)%C2%83~fields!('TEXT1!'when%20the%20element%20with%20id'~ID!'%C2%84%26VAR!('%C2%A2)%C2%85'%C2%ABVALUE!('shadow!('type!'text'~id!'%C2%86%22arrays_push'~id!'%C2%87)))))))))%2C('type!'element_clicked'~id!'%C2%88'~TEXT2!'is%20clicked%C2%B0%C2%89)%C2%AB%C2%8A%22math_number'~id!'%C2%8Bid!'%2C3jOjc%2Cb.cggjz%7BWrNz%3D')%C2%8Carrays_getFirst'~id!'%C2%8D'~WHERE!'FIRST%C2%A7%C2%8E%7CzfGvVtUR9vJ(I%7BZ%5D8mc%C2%9C'))~block!('%C2%8FVALUE%22lists_create_with'~id!'%C2%90%22add_element'~id!'%C2%91%22set_content'~id!'%C2%92)))~LIST%7F%C2%93%22text'~id!'%C2%94'%C2%89STACK%C2%95id!'%236rX4D2n%7CJIkK%3D9c_%5DC%3D')%C2%96ields!('TEXT1!'at%20the%20start%20%7Bwhen%20run%20is%20clicked%7D%C2%97'~extraState!('itemCount!%C2%98)%C2%AD%C2%B2%C2%99'~pinned!false~height!80~width!160))~fields!('NAM%C2%9A%26MODE!'GET%C2%9B%22with_element_by_id'~id!'%C2%9C%26TEXT!'%C2%9D)))))%2C('type!'procedures_defnoreturn'~id!'%C2%9Eid!'0%7D_0%5B7%3Fd%3D%2Cv5Q-i9Q%7Cc%5B')%C2%9F)))))))))))))))))%C2%A0%C2%AD%C2%86%C2%A1%26ELEMENT!'%C2%A2id!'DNU%40%2BcO6PDLz%5B%7B%5Dc70v_')%C2%A3id!'99_ADAdQ%5DKiL8n3'%3A%5D%24SX')%C2%A4%26VAR!('%C2%8B%C2%A5%22procedures_callnoreturn'~id!'%C2%A6%2C('name!'%C2%A7'%C2%89VALUE%C2%A8%26ID!'list%C2%94%C2%A9'~extraState!('name!'itens-%C2%AA%C2%9A_REMOVE%C2%AB~inputs!('%C2%AC~icons!('comment!('text!'%C2%AD)))~next%C2%AE%C2%A1div%C2%94%C2%AF%22arrays_forEach'~id!'%C2%B0'%C2%89HANDLER%C2%B1('type!'on_start'~id!'%C2%B2%22variables_set'~id!'%C2%B3VAR!('%C2%95%C2%89LIST%C2%B4%26NUM!1.%C2%B5'~WHERE!'LAST%C2%A7%01%C2%B5%C2%B4%C2%B3%C2%B2%C2%B1%C2%B0%C2%AF%C2%AE%C2%AD%C2%AC%C2%AB%C2%AA%C2%A9%C2%A8%C2%A7%C2%A6%C2%A5%C2%A4%C2%A3%C2%A2%C2%A1%C2%A0%C2%9F%C2%9E%C2%9D%C2%9C%C2%9B%C2%9A%C2%99%C2%98%C2%97%C2%96%C2%95%C2%94%C2%93%C2%92%C2%91%C2%90%C2%8F%C2%8E%C2%8D%C2%8C%C2%8B%C2%8A%C2%89%C2%88%C2%87%C2%86%C2%85%C2%84%C2%83%C2%82%C2%81%C2%80%7F%26%22_

FrenchFry36 commented 1 month ago

Kamino cloned this issue to FrenchFry36/Coursework-Planner