DEV Community

Jennifer Tieu
Jennifer Tieu

Posted on • Edited on

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

Top comments (0)