Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.DS_Store
Vladimir Kulikov/node_modules

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have script to create style.css file. That's why it also should be added in gitignore

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I just thought maybe you will not download this repo and compiled css files will be useful. Fixed)

Vladimir Kulikov/css
Binary file added Vladimir Kulikov/New-Jersey.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Vladimir Kulikov/fonts/OpenSans-Regular.eot
Binary file not shown.
Binary file added Vladimir Kulikov/fonts/OpenSans-Regular.ttf
Binary file not shown.
Binary file added Vladimir Kulikov/fonts/OpenSans-Regular.woff
Binary file not shown.
Binary file added Vladimir Kulikov/fonts/ProximaNova-Light.eot
Binary file not shown.
Binary file added Vladimir Kulikov/fonts/ProximaNova-Light.ttf
Binary file not shown.
Binary file added Vladimir Kulikov/fonts/ProximaNova-Light.woff
Binary file not shown.
Binary file added Vladimir Kulikov/fonts/ProximaNova-Regular.eot
Binary file not shown.
Binary file added Vladimir Kulikov/fonts/ProximaNova-Regular.ttf
Binary file not shown.
Binary file added Vladimir Kulikov/fonts/ProximaNova-Regular.woff
Binary file not shown.
Binary file added Vladimir Kulikov/fonts/SourceSansPro-Light.eot
Binary file not shown.
Binary file added Vladimir Kulikov/fonts/SourceSansPro-Light.ttf
Binary file not shown.
Binary file added Vladimir Kulikov/fonts/SourceSansPro-Light.woff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
19 changes: 19 additions & 0 deletions Vladimir Kulikov/gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
'use strict';

var gulp = require('gulp');
var sass = require('gulp-sass');
sass.compiler = require('node-sass');
var sourcemaps = require('gulp-sourcemaps');

gulp.task('sass', function () {
return gulp.src('./sass/**/*.scss')
.pipe(sourcemaps.init())
.pipe(sass().on('error', sass.logError))
.pipe(sourcemaps.write('./maps'))
.pipe(gulp.dest('./css'));
});

gulp.task('sass:watch', function () {
gulp.watch('./sass/*.sass', gulp.parallel('sass'));
});

Binary file added Vladimir Kulikov/img/cloudy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Vladimir Kulikov/img/sprite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 45 additions & 0 deletions Vladimir Kulikov/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>New Jersey</title>
<link rel="stylesheet" href="css/main.css">
</head>

<body>
<div class="container">
<article class="weather-widget">
<section class="weather-widget__top">
<div class="weather-widget__image">
<img class="weather-widget__image-img" src="img/cloudy.png" alt="cloudy weather image">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Class names for image and button are strange

<button class="weather-widget__image-btn" alt="update"></button>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I misprinted. I meant
<button> <img alt='...'> </button>
Tag button doesn't have attribute alt

</div>
<div class="weather-widget__top-info">
<div class="weather-widget__degrees">79 <sup class="weather-widget__degrees-symbol">o</sup></div>
<div class="weather-widget__text">
<span class="weather-widget__sky">Cloudy Skies</span>
<span class="weather-widget__location">Sicklerville, New Jersey</span>
</div>
<div class="weather-widget__date">May<span class="weather-widget__date-day">21</span></div>
</div>
</section>
<section class="weather-widget__bottom">
<div class="weather-widget__bottom-info">
<span class="weather-widget__wind">2 MPH</span>
<span class="weather-widget__humidity">33%</span>
<span class="weather-widget__clear">83%</span>
</div>
<div class="weather-widget__pagination">
<span class="weather-widget__dot weather-widget__dot_active"></span>
<span class="weather-widget__dot"></span>
<span class="weather-widget__dot"></span>
</div>
</section>
</article>
</div>
</body>

</html>
Loading