Self-Taught Developer Journal, Day 53: TOP Building Rock Paper Scissors UI cont.

jennifertieu

Jennifer Tieu

Posted on February 4, 2022

Self-Taught Developer Journal, Day 53: TOP Building Rock Paper Scissors UI cont.

Today, I'm still working on the JavaScript code. I began updating the elements in the UI for the selection, score, and result.

"Remember that JavaScript does not alter your HTML, but the DOM - your HTML file will look the same, but the JavaScript changes what the browser renders."

Tested computer and player selection output with the console.
Console
JS Test

Tested updating elements in the UI. I want to ideally move location of the element in the center. I might need to create another div.
UI Choices

Tested updating round result and score.
Default
Test Result

Resources

The Odin Project
Revisiting Rock Paper Scissors

💖 💪 🙅 🚩
jennifertieu
Jennifer Tieu

Posted on February 4, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related