+ Screen Resolution is
+ Screen Width: {window.outerWidth} pixels
+ Screen Height: {window.outerHeight} pixels
+
+ )
+}
+
+export default ScreenResolution
diff --git a/src/components/ScreenResolution/styles.js b/src/components/ScreenResolution/styles.js
new file mode 100644
index 0000000..d323bc0
--- /dev/null
+++ b/src/components/ScreenResolution/styles.js
@@ -0,0 +1,3 @@
+import styled from 'styled-components'
+
+export const Wrapper = styled.article``
diff --git a/src/components/ScreenSize/index.jsx b/src/components/ScreenSize/index.jsx
new file mode 100644
index 0000000..ca5837a
--- /dev/null
+++ b/src/components/ScreenSize/index.jsx
@@ -0,0 +1,35 @@
+import { useEffect, useState } from 'react'
+
+import * as S from './styles'
+
+const ScreenSize = () => {
+ const [dimensions, setDimensions] = useState({
+ height: window.innerHeight,
+ width: window.innerWidth
+ })
+
+ useEffect(() => {
+ function handleResize() {
+ setDimensions({
+ height: window.innerHeight,
+ width: window.innerWidth
+ })
+ }
+
+ window.addEventListener('resize', handleResize)
+
+ return () => {
+ window.removeEventListener('resize', handleResize)
+ }
+ })
+
+ return (
+