Skip to content

Update index.js#47

Open
Efiloglu wants to merge 24 commits into
bitsagarob:masterfrom
Efiloglu:master
Open

Update index.js#47
Efiloglu wants to merge 24 commits into
bitsagarob:masterfrom
Efiloglu:master

Conversation

@Efiloglu
Copy link
Copy Markdown

No description provided.

// 1c: change the inner html of the header element to your name
function changeHeader(){
console.log('test');
let header = document.getElementsByTagName("h1")[0];
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

try to indent your code consistently

// 2e: to change the image: assign the imageInputValue to the image src

function changeImage(){
let imageInput = document.querySelector('input');
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indentation

Comment thread Week1/homework/style.css
}


@media screen and (max-width:480px) {
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

responsiveness! cool!

Comment thread Week1/homework/style.css
}

img {
height: 10rem;
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indentation

Comment thread Week1/homework/style.css
color: red;
margin-top: 2em;
letter-spacing: 3px;
background: linear-gradient(90deg, rgb(255, 0, 0), rgb(0, 0, 0), rgb(255, 0, 0));
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

Comment thread Week1/homework/app.js
p3.innerHTML = details[titles[i]].Language;
let img = document.createElement("img");
img.src = images[titles[i]];

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you could create an array of elements to add and then loop that array and appendChild every item

Copy link
Copy Markdown
Owner

@bitsagarob bitsagarob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job! few small remarks

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

Successfully merging this pull request may close these issues.

2 participants