Code Monkey home page Code Monkey logo

hyf-homework's Introduction

Hi there ๐Ÿค—

This is Gizem, a UX/UI Designer with Frontend Development skills ๐Ÿค“

You can see my skillset and portfolio here ๐Ÿ’…๐Ÿ› ๏ธ and if you'd like to see my CV, it's here ๐Ÿ“„

๐Ÿ’ผ

  • I want to work for meaning and do good for society โœจ
  • I am open to challenges, creative with technology, responsible for my work ๐Ÿ’ช
  • I have strong soft skills, high emotional intelligence, and empathy ๐Ÿ™Œ

๐Ÿ‘€

  • My interests are mostly related to understanding people and society ๐Ÿ’ญ
  • 'Non-violent communication' and 'unschooling' are my favorite subjects โœŒ๏ธ
  • Besides, I always like to follow tips & tricks on productivity and minimalism ๐Ÿ’Ž

Thanks for reading ๐Ÿ˜‡ and feel free to reach out to me on LinkedIn ๐Ÿ™ƒ

hyf-homework's People

Contributors

gizemcandemir avatar

Watchers

 avatar

Forkers

mahieakhtar

hyf-homework's Issues

JS2 Week 2 Feedback

@gizemcandemir Selaaam โœŒ๏ธ ๐Ÿ˜„ ๐Ÿ‡น๐Ÿ‡ท

Warmup array exercises / Doubling of number

Great work on this one, awesome! ๐Ÿ’ช

Warmup array exercises / Working with movies

  • Exercise 1, 2, 3: โœ…
  • Exercise 4: You almost have the right solution here. The idea is that newKeyTag should be a new array containing movie objects with the new tag property. But if you debug newKeyTag a bit you'll see that it is an array full of undefined values.
    // 4. Create a new array that has an extra key called tag. The tag is based on the rating: Good (>= 7), Average (>= 4 and < 7), Bad (< 4)
    const newKeyTag = movies.map(movie => {
    if (movie.rating >= 7) {
    movie.tag = "Good";
    } else if (movie.rating < 7 && movie.rating >= 4) {
    movie.tag = "Average";
    } else {
    movie.tag = "Bad";
    }
    });
    console.log(movies); // all array with the new tag for each movie object
  • Exercise 5: โœ…
  • Exercise 6: โœ… Nice work here!
  • Exercise 7: The desired output in this exercise is the movies containing duplicate words in the title. But you're instead finding the titles themselves. Let me know if this doesn't make sense or if you have questions.
  • We're a bit behind on giving feedback so I'll not give feedback on the optional exercises; sorry about this.

hyfBay - get the okay'est products here - continued

Seems like you're close to having this working. The list of products aren't being cleared when you re-render, so if you change something like this

diff --git a/javascript/javascript2/week2/hyf-bay/main.js b/javascript/javascript2/week2/hyf-bay/main.js
index 7a0f489..a05b722 100644
--- a/javascript/javascript2/week2/hyf-bay/main.js
+++ b/javascript/javascript2/week2/hyf-bay/main.js
@@ -5,6 +5,7 @@ const testProductNames = ["Flat screen", "Mobile phone", "Wallet"];
 
 function renderProducts(array) {
 	const productList = document.querySelector(".products > ul");
+	productList.innerHTML = ''
 	for (let i = 0; i < array.length; i++) {
 		const product = array[i];
 		const productLi = document.createElement("li");

it should fix it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.