Skip to content

Latest commit

 

History

History
49 lines (28 loc) · 1.21 KB

README.md

File metadata and controls

49 lines (28 loc) · 1.21 KB

RPS

A Rock, Paper, and Scissors game. Challenge by front-end mentor for JavaScript

Frontend Mentor - Rock, Paper, Scissors solution

This is a solution to the Rock, Paper, Scissors challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Overview

The challenge

Users should be able to:

  • View the optimal layout for the game depending on their device's screen size
  • Play Rock, Paper, Scissors against the computer
  • Maintain the state of the score after refreshing the browser

Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Vanilla JavaScript

What I learned

I learned how to make the computer select a value at random with the math.random() function

Continued development

I think I have a hanf=g in the functionalities now, time to proceed to Json data and APIs

Author