
Emoji Rating
Transform collections of data into dynamic page content.
Build an emoji ratingBuild a social media selector menu with HTML, CSS, and JavaScript while practicing click events and DOM selection.
Build a social media selector menu using HTML, CSS, and JavaScript, then connect the interface to the logic that makes it work. You’ll learn how to open, close, and update an interactive menu while getting hands-on practice with click events, DOM selection, and CSS class toggling.
Recommended knowledge: Basic HTML and CSS, JavaScript arrays and array methods, JavaScript variables and number operations, DOM selection and click events.
This project runs directly in the browser with HTML, CSS, and JavaScript.
index.html<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Social Media Selector Menu</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta2/css/all.min.css"
integrity="sha512-YWzhKL2whUzgiheMoBFwW8CKV4qpHQAEuvilg9FAn5VJUDwKZZxkJNuGM4XkWuk94WCrrwslk8yWNGmY1EduTA=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="menu">
<p>Social Media</p>
<i class="fas fa-angle-down"></i>
</div>
<ul class="social-lists hide">
<li>
<i class="fab fa-facebook" style="color: blue"></i>
<p>Facebook</p>
</li>
<li>
<i class="fab fa-youtube" style="color: red"></i>
<p>YouTube</p>
</li>
<li>
<i class="fab fa-twitter" style="color: blue"></i>
<p>Twitter</p>
</li>
<li>
<i class="fab fa-linkedin" style="color: blue"></i>
<p>Linkedin</p>
</li>
</ul>
<script src="index.js"></script>
</body>
</html>
Practice array methods, javaScript calculations, and click events with these related projects.

Transform collections of data into dynamic page content.
Build an emoji rating
Turn JavaScript calculations into clear visual results.

Connect user clicks to visible interface changes.
Build a q&a section