Skip to content

Commit

Permalink
Magical Forest Circle Exercise
Browse files Browse the repository at this point in the history
  • Loading branch information
leekoby committed Jan 5, 2023
1 parent d66a459 commit e4cb039
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions 55_Magical Forest Circle Exercise/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
const container = document.querySelector('#container');
const img = document.querySelector('img');

container.style.textAlign = 'center';
img.style.width = '150px';
img.style.borderRadius = '50%';
18 changes: 18 additions & 0 deletions 55_Magical Forest Circle Exercise/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>

<head>
<title>Forest</title>
<!--LEAVE THESE LINES ALONE, PLEASE! THEY MAKE THE LIVE PREVIEW WORK!-->
<script src="node_modules/babel-polyfill/dist/polyfill.js" type="text/javascript"> </script>
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>

</head>

<body>
<div id="container">
<h1>I &hearts; Trees</h1>
<img src="https://images.unsplash.com/photo-1596328546171-77e37b5e8b3d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1400&q=80" alt="">
</div>
</body>

</html>

0 comments on commit e4cb039

Please sign in to comment.