Skip to content

Cedar - Lux#65

Open
k-nox wants to merge 16 commits intoAda-C16:mainfrom
k-nox:main
Open

Cedar - Lux#65
k-nox wants to merge 16 commits intoAda-C16:mainfrom
k-nox:main

Conversation

@k-nox
Copy link
Copy Markdown

@k-nox k-nox commented Dec 13, 2021

No description provided.

Copy link
Copy Markdown

@beccaelenzil beccaelenzil left a comment

Choose a reason for hiding this comment

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

Great work on this javascript in the web project! The styles are super cool, and you've clearly met the learning goals around applying styles dynamically and event handling. Your code is clear and readable, and makes great use of helper functions. Nice work!

Comment thread index.html
<body>

</body>
</html> No newline at end of file
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nice work writing clear, semantic html.

Comment thread src/index.js
@@ -0,0 +1,204 @@
const state = {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Great use of state object

Comment thread src/index.js
// rendering
const renderTemp = () => {
const {
temp: { cTemp, fTemp },
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nice destructuring!

Comment thread src/index.js
};

// helper logic for rendering
const getTempClass = () => {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Notice that getTempClass and getLandscapeContent have the same conditional tests. Consider refactoring and combining to DRY up your code.

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